This website is preserved for historical and scholarly reference and is no longer actively maintained.

QUIZ 9

September 10, 1997

#1. Draw the result (in the style of the text) of executing the following code. You should draw boxes for the variables p and q, draw hexagons for objects, and show pointers from p and q.

#2. Draw the result (in the style of the text) of executing the following code. You should draw boxes for the variables p and q, draw hexagons for objects, and show pointers from p and q.

Return to Eleanor Hare's home page.

Return to Department of Computer Science Home page.