Week 4 - Quiz Corrected

Week 4 - Quiz Corrected - 1. Question: (TCO 5) If...

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

View Full Document Right Arrow Icon
1. Question: (TCO 5) If repCounter is a variable assigned the value 10, what is its value after it is incremented? Your Answer: 9 INCORRECT 10 11 CORRECT ANSWER 0 Instructor Explanation: See Chapter 5 and the Lecture Points Received: 0 of 2 Comments: 2. Question: (TCO 5) Loops can be characterized as count-controlled or condition-controlled , and as pre-test or post-test loops . How can a For loop be characterized? Your Answer: Instructor Explanation: See Chapter 5 and the Lecture Points Received: 2 of 2 Comments: 3. Question: (TCO 5) In a count-controlled while loop, where would you alter the variable that controls the loop? Your Answer:
Background image of page 1

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

View Full DocumentRight Arrow Icon
Instructor Explanation: See Chapter 5 and the Lecture Points Received: 2 of 2 Comments: 4. Question: (TCO 5) What is the output of the following for loop? set x = 1 for counter = 0 to 2 set x = x + 3 end for display x Your Answer: Instructor Explanation: See Chapter 5 and the Lecture Points Received: 0 of 2 Comments: 5. Question:
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.

This note was uploaded on 11/12/2010 for the course CIS 115 taught by Professor Albdam during the Spring '10 term at DeVry Arlington.

Page1 / 5

Week 4 - Quiz Corrected - 1. Question: (TCO 5) If...

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