Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Test 2 Review Questions- Spring 2008

Questions?

In reference to the fist question on the review, increasing the threshold would copy less color values from weathermap.jpg to the Colbert.jpg in place of the pixels with color values designated in BGcolor?
David Phillips
Is this a question? Thanks! Brittany Duncan

Will the layout of this test be similar to Test #1?
Here is the layout for Test 2 as of Wednesday morning. (This may change, as we are still discussing the fine details):
Colin Potts


Will there be any extra credit points?
Not planned at the moment. Colin Potts

Two quick questions:
In the notes you said that a double in amplitude is about 3 dB but in the book it says 6.
I don't know what notes you're talking about. Thanks! Brittany Duncan
It's approximately 3dB. I wasn't aware of the error in the book. Another way of thinking about decibels is that a tenfold increase in amplitude corresponds exactly to an extra 10dB (i.e. multiply the physical quantity by ten and you add ten to the perceived loudness.) Colin Potts
Also, in the review, the code on the last page about the orange square: I can't seem to figure out what the x = x + rate does. I'm pretty sure that it is moving the square to the right by a rate of 20 pixels per frame, but I just want to be sure. Thanks!
Correct. Thanks! Brittany Duncan

Since the profs are making different test does that format apply to Monica's class too?

Yes. - Monica

Does this review correspond with Monica's test? Or are there things on the review that won't be covered on her test?
See above. Thanks! Brittany Duncan


in question 4 about the mystery function, why does the else statement (lines 14-15) get executed 11 times?
You are the one who came up with the number 11. However, the answer is because frame 9 is when the square will get to the far right side of the screen. So then you will spend 11 frames bringing it back across. Thanks! Brittany Duncan
Just to clarify this, Do the math!
if (frameNumber * rate + 10) < getWidth(canvas)
Buck Scharfnorth

Monica said the section about sound is not going to be on the test. However, the review says that it will. Should we study the sound chapter for this test?



Link to this Page