Exam 4: Looping
Exam 1: An Overview of Computer Programming50 Questions
Exam 2: Applications and Data50 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Looping50 Questions
Exam 5: Arrays50 Questions
Exam 6: Using Methods50 Questions
Exam 7: Object-Oriented Concepts50 Questions
Exam 8: More Object Concepts50 Questions
Exam 9: Event-Driven Programming With Graphical User Interfaces50 Questions
Exam 10: Exception Handling50 Questions
Exam 11: System Modeling With the Uml50 Questions
Exam 12: Manipulating Larger Quantities of Data50 Questions
Select questions type
A(n) ____________________ input is the first input that sets a loop control variable's first value before the loop begins.
(Short Answer)
4.8/5
(34)
____ a data item means you override incorrect data by setting the variable to a specific value.
(Multiple Choice)
4.9/5
(37)
If you use the wrong comparison with the loop control variable, the body of the loop may never execute.
(True/False)
4.7/5
(45)
The body of a loop can contain only a limited number of statements.
(True/False)
4.8/5
(39)
Setting a data item to a specific value to override incorrect input is called ____________________.
(Short Answer)
4.8/5
(52)
There is no benefit to changing a variable's value when it will never be used again during the current execution.
(True/False)
4.8/5
(40)
You control a loop's repetitions by using either a counter or a(n) ____ value.
(Multiple Choice)
4.8/5
(37)
In all structured loops, the ____ must provide either entry to, or exit from, the repeating structure.
(Multiple Choice)
4.7/5
(40)
A common mistake when programming with loops is neglecting to ____ the loop control variable.
(Multiple Choice)
4.8/5
(42)
If you run the same application a second time, the variables might occupy different ____ from the ones they occupied during the first run.
(Multiple Choice)
4.8/5
(46)
When one loop appears inside another, the loop that contains the other loop is the ____________________ loop.
(Short Answer)
4.9/5
(43)
Programmers must be careful to use the correct ____ in the statement that controls a loop.
(Multiple Choice)
4.7/5
(29)
The decision that controls every loop is always based on a ____ comparison.
(Multiple Choice)
4.9/5
(38)
In pseudocode, which statement is used to show the stopping point of a loop structure?
(Multiple Choice)
4.9/5
(43)
The value that signals a loop to stop is the ____________________ value.
(Short Answer)
4.9/5
(37)
What is the correct data type of an accumulator variable used to store real estate sales totals?
(Multiple Choice)
4.9/5
(37)
Program logic gets more complicated when you must use loops within loops, or ____ loops.
(Multiple Choice)
4.8/5
(40)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)