Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Microsoft Visual C# 2015 An Introduction to Object-Oriented Programming
Quiz 5: Looping
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Essay
Why is it important to initialize an accumulator variable?
Question 22
Multiple Choice
Often, totals are ____; that is, summed one at a time in a loop.
Question 23
Multiple Choice
The expressions in each part of an AND or OR expression use ____ evaluation; that is, they are evaluated only as much as necessary to determine whether the entire expression is true or false .
Question 24
Multiple Choice
Loop ____ is the technique of combining two loops into one.
Question 25
Short Answer
You can use a(n) ____________________ loop to execute a body of statements continuously as long as some condition continues to be true .
Question 26
Multiple Choice
Event-driven GUI programs sometimes require fewer coded loops than their counterpart console applications because some events are determined by the ____ when the program is running.
Question 27
Short Answer
A value that a user must supply to stop a loop (for example, 'Y' or 'N' ) is called a(n) ____________________ value.
Question 28
Essay
Statements in a while loop or for loop body can be blocked. Write a for loop that displays "Hello" and "Goodbye" four times each using a blocked loop body.
Question 29
Short Answer
When a variable is declared inside a loop, it can be referenced only for the duration of the loop body. Once the loop finishes execution, the variable is out of ____________________, which means it is not usable because it has ceased to exist.