Quiz 2 Answer key : 198:110 Intro to Computers Summer 2007
Part A
1. E 2. A 3. C 4. J G I A 5. C B D K 6. B 7. C
8. = C6 * D6 + E6
9. F 10. B
Part B
I.
IF OnTarget
< Goal THEN PRINT "Practice time."
II.
22
III.
LET FinalBill
= 500*Rooms + 2000*Baths
IV.
Abnormal V. 800
Part C
I.
II.
Part D
I.
Choice?2
Today 45 is
the result.
Each line is worth 2 point. (Lines need to match exactly. Only exception is there can be a space after the ?
II.
- Begin calculations
R starts with 65
- and S begins with 4
- It changed from 25 to 69
Part E
Here is one possible program.
(General grading. 10 points: perfect program. 9 points: a tiny
mistake. 8 points: something important missing or wrong. 7 points :
Read, Input and Prints okay but calculation way off. 5 points: Too many
syntax errors and logic not right. 3 points or less: it doesn't look
much like Basic. A missing END statement will lose you a point. )