Docsity

CSE 3 Quiz 5 Fall 2006, Exercises of Computer Science

Toggle sidebar
bg1
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
6. All caps in e-mail means:
A. the sender is yelling
B. the sender is over 65 years old with bad eye sight
C. the sender cannot find the lower-case keys on your keyboard
D. the sender is using a Microsoft mailer
(Over)
pf2

Partial preview of the text

Download CSE 3 Quiz 5 Fall 2006 and more Exercises Computer Science in PDF only on Docsity!

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
  6. All caps in e-mail means: A. the sender is yelling B. the sender is over 65 years old with bad eye sight C. the sender cannot find the lower-case keys on your keyboard D. the sender is using a Microsoft mailer

(Over)

  1. Which of the following is not true: A. Good passwords should contain upper- and lower-case letters, digits, and punctuation chars. B. Good passwords should be at least 8 chars. long C. Good passwords are hard to remember so your browser should remember them D. Good passwords are not found in any dictionary of any language
  2. A way to have your computer catch a virus is: A. download and install a program from an Internet site that is infected with a virus B. open a Word document on a CD that is infected with a virus C. open an e-mail attachment that is infected with a virus D. all the above
  3. MPEG works by using JPEG compression on each frame and: A. tracking changes between frames (thus recording only these changes) B. completely eliminated every 3rd^ frame (thus the name MP3 as the most popular type of MPEG) C. converting all the bits to hexadecimal (since 4 bits can be represented as 1 hexadecimal digit) D. recording the audio in a separate file (thus reducing the size of the MPEG file)

Fill in the blanks.

  1. The index of the first element in an array is always _________.
  2. The Internet friendly size/resolution of pictures we discussed in class is _________ x _________.
  3. Humans hear at roughly 20 KHz, so CD-quality sound is digitized at about ______ KHz.
  4. The firewall program I recommended in class and was also recommended in the Wireless article I passed out to the class is called _________________________.
  5. The question(s) you would most like to see on the Final Exam is: