Quiz5.wi07

Quiz5.wi07 - Signature _ Student ID _ Quiz 5 CSE 3 Winter...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Signature ____________________ Name _____________________ cs3wb_____ Student ID ___________________ Score: Quiz 5 CSE 3 Winter 2007 Circle the correct answer. 1. If we want to cycle/loop through an array of 10 elements such that when we get to the end we start indexing back at the beginning of the array again, we would use which expression to set the index variable each time in the loop: A. index = (index + 1); B. index = 0; C. index = (index + 1) % 10; D. index = (index + 1) / 10; 2. In a setTimeout( "spinWheel1()", duration); call, the duration units is: A. milliseconds B. seconds C. minutes D. hours 3. What color is #424242: A. universal B. dark gray C. light gray D. translucent 4. Which of the following is true: A. an example of analog is a wave form B. an example of digital is a CD C. an example of analog is the output of a stereo speaker D. all the above 5. Which of the following iterates 10 times? A.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/30/2008 for the course CSE 3 taught by Professor Ord during the Fall '08 term at UCSD.

Page1 / 2

Quiz5.wi07 - Signature _ Student ID _ Quiz 5 CSE 3 Winter...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online