WEEK 9
Due Monday 20th Oct. 03,
301 LOV Bldg. During
recitations
· Attendance will be taken at the recitations
· Duration of presentations is10 minutes.
· If there are 2 people giving a presentation then both of them have to talk for 10 minutes each.
·
You are responsible for looking up the schedule and
making sure that you are prepared for your presentations when they are
due.
·
No changes can be made in the schedule, unless you have
an emergency. (Exams do not count as emergencies)
Time: 8:00 AM
RUBENSTEIN
ERIC S & STANOVICH MARK J
Obtain a copy of the article "An Empirical Comparison of Seven Programming
Languages" by Lutz Prechelt from _Computer_ magazine, October 2000. You
can get a copy of this magazine from the Library, or Dr. van Engelen can
provide you with one. The article gives comparisons between several
scripting languages, Java, C, and C++.
Divide the article between the team members and discuss the results shown. Each person will speak for 10 minutes.
FUKUHARA
NOBUYASU
Devise a test to show the efficiency increase of using CASE/SWITCH statements as compared to using normal if-then-else statements. Provide these results, along with an explanation of the experiment, for discussion. Various ways can be used to show the disparity better, while some ways would actually exaggerate or minimize the findings. Be prepared to discuss your methodology as well.
Section 2
Time: 9:05 AM
·
Discuss the storage classes
·
Discuss the use of "auto", "extern", "static" for
global variables
·
Discuss the use of "auto", "extern", "static" for
local variables of a
function. How is this different from the use of these storage classes
for
globals?
Discuss separate
compilation and linking in C (with emphasis on using "static" and
"extern")
Study of programming language: Java, C/C++. Each person will speak for 10 minutes.
Discuss the use of recursion in terms of efficiency, maintainability, writability, etc. In which cases is recursive programming good, and in which cases is it bad? Fortran does not allow recursion. What effect does this have on programming those algorithms that are best handled by recursion? (Are there situations in which Fortran cannot handle a certain task because of its lack of recursion?)?
Section 3
Time: 11:15 AM
Discuss the use of recursion in terms of efficiency, maintainability, writability, etc. In which cases is recursive programming good, and in which cases is it bad? Fortran does not allow recursion. What effect does this have on programming those things that are best handled by recursion (are there situations in which Fortran cannot handle a certain task because of its lack of recursion?)?
Discuss the impact of programming style on the performance of Scheme, eg. recursion or loops, "if-then" or "cond", using assignment or not using it.
Obtain a copy of the article "An Empirical Comparison of Seven Programming
Languages" by Lutz Prechelt from _Computer_ magazine, October 2000. You
can get a copy of this magazine from the Library, or Dr. van Engelen can
provide you with one. The article gives comparisons between several
scripting languages, Java, C, and C++.
Divide the article between the team members and discuss the results shown.
Each person will speak for 10 minutes.