Quiz5.fa06

Quiz5.fa06 - Signature Student ID Quiz 5 CSE 3 Fall 2006...

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

View Full Document Right Arrow Icon
Signature ____________________ Name _____________________ cs3fa_____ Student ID ___________________ Score: Quiz 5 CSE 3 Fall 2006 Circle the correct answer. 1. In a statement like if ( exp ) { do_something; } we expect exp to be what type of expression: A. addition B. loop C. increment D. boolean 2. In a setTimeout( "spinWheel1()", duration); call, the duration units is: A. seconds B. minutes C. milliseconds D. hours 3. What color is #C4C4C4: A. explosive B. dark gray C. light gray D. translucent 4. Which of the following is not 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. an example of digital is a clock or watch that represents time with hands on a dial that move one discrete second at a time instead of a smooth continuous motion 5. Which of the following iterates 10 times? A. for (i = 1; i < 11; i = i + 1) B. for (i = 0; i < 10; i = i + 1) C. for (i = 10; i > 0; i = i - 1) D. all of the above
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.fa06 - Signature Student ID Quiz 5 CSE 3 Fall 2006...

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