WEEK 2

Due Monday 7th October

 

 

Kupiszewski Joseph A

Discuss in details the semantics and implementation of exception handling in Java.

 

Sarhan Sami &

Kermes Leonardo S

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.

 

Scott Donald J Jr

The C language has three storage classes, called automatic, extern, and static. These

determine whether and how memory is allocated for variables and/or determine the

 visibility of entities.

             · 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")

 

Sankaran Kannan

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.

 

Druckmann Neil &

Rush Shelly Yvonne

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.

 

Ajayi Oluwatosin A

Complete exercise 6.7 from our textbook (pg 312). In addition, show examples of problems when = and == are confused in C and C++. How does Java solve some of these problems?

 

Lewis Sean P

Find information on G++ Malloc by Doug Lea. Explain how it handles issues of   

memory management, such as speed, locality, fragmentation, etc.

 

Miller Gregory C

Goto jumps are often considered to be bad features of a programming

language. Why are they considered bad? Give examples. Can these statements

be useful? And if so, how? How do languages without goto type statements,

such as Java, get around such limitations.