Change Contents of the Bubble
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Midterm exam 2 review Sp2006: Draw the Object Structures

Comments, Questions, Answers, Questions about Answers?
(Back to Midterm Exam 2 Review Sp2006)


Do you want something that looks like the last quiz we took? Something along those lines? I'm a bit puzzled.....

that's right

A is just a linked list. I think it's root > two > one > one > one > one > three > three > three. B is like what we did for the last quiz.

Is part B a little off or am I doing it wrong? There seem to be two scaledBranches named "scaledBranch" and some of the root.addREMOVEDld() lines don't appear to match up too well? Are these mistakes?

In the last section after SoundBranch branch3 = new SoundBranch();, should those be branch3's?? Otherwise branch3 isn't getting used at all...

~Jennifer

Good catch, Jennifer! Yup, looks like branch3 never does get linked in. Mark Guzdial



Link to this Page