Sol_test2_F06 - CPE 112 Exam 2 (150 pts) Fall 2006 Exam II...

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

View Full Document Right Arrow Icon
CPE 112 Exam 2 (150 pts) Fall 2006 Page 1 of 14 Exam II Instructions – Time Limit 65 Minutes Î Turn in all exam papers and the bubble sheet Í General Instructions: - Neatness counts!! If the machine cannot read your answer, you will receive no credit. - This is a closed book/closed notes exam. - No reference materials of any kind will be permitted. - No calculators or other portable computing/data storage devices are permitted. - Any C++ code segments that you write must be syntactically correct or you will lose points. There are two parts to this exam: Part I (60 pts) - Bubble Sheet – True/False, Multiple Choice, Vocabulary, fill in the blank Part II (90 pts) - Written part – Short answers, writing code segments, algorithms and Functional Decompositions Bubble Sheet Instructions: (Part I) 1) Use a #2 pencil to complete the bubble sheet! 2) Print your name in the Name box as follows: LASTNAME FIRSTNAME MIDDLEINITIAL Example: Bowman Ron D 3) Use your #2 pencil to fill in the corresponding bubbles under each character of your name. (Bubble marking instructions are included on Side 2 of the bubble sheet.) 4) In the identification number area, put in you’re A number (LEFT JUSTIFIED) without the A and bubble in the corresponding bubbles under each number 5) Record your answers to the questions in Part I on Side 1 of the bubble sheet. Neatness Counts !! Warnings : - For Part I, answers not recorded on the bubble sheet will receive no credit!! - Be wary of skipping problems!! - I recommend that you answer each question in Part I in the order presented. - Read all possible answers. Some questions have answers like “a and b” or “all of the above” Instructions for Part II – Short answers 1) Write your answers as neatly as possible in the space provided. 2) In some cases it is best to think for a minute and then start writing.
Background image of page 1

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

View Full DocumentRight Arrow Icon
CPE 112 Exam 2 (150 pts) Fall 2006 Page 2 of 14 Name___________________________ Exam II – Part I (60 pts): Multiple Choice (Select the best answer for each problem and record it on the bubble sheet) (You may bubble in more than one letter for each question. If answers A and C are correct, then bubble both of them in. Also, some questions may have answers with choices of AB, BC, etc., so bubble in both letters) TRUE/FALSE SECTION For the true/false questions below, use the following answers: A) True B) False 1. A while loop is executed zero or more times. True 2. Arguments corresponding to reference parameters can be literal values. False 3. void functions cannot use return expression; . True 4. A logical expression consists of logical operators and Boolean variables only. False 5. A global identifier takes precedence over an identical local identifier. False 6. Logical operators can take relational expressions as operands. True 7. Event-Controlled loops are executed a pre-specified number of times. False 8. Count-controlled loops are executed a pre-specified number of times. True 9. The statement cin.ignore(10,’A’);
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 14

Sol_test2_F06 - CPE 112 Exam 2 (150 pts) Fall 2006 Exam II...

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

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