Exam 5: Looping
Exam 1: An Overview of Computers and Programming60 Questions
Exam 2: Elements of High-Quality Programs59 Questions
Exam 3: Understanding Structure60 Questions
Exam 4: Making Decisions60 Questions
Exam 5: Looping59 Questions
Exam 6: Arrays60 Questions
Exam 7: File Handling and Applications59 Questions
Exam 8: Advanced Data Handling Concepts60 Questions
Exam 9: Advanced Modularization Techniques60 Questions
Exam 10: Object-Oriented Programming60 Questions
Exam 11: More Object-Oriented Programming Concepts60 Questions
Exam 12: Event-Driven Gui Programming, Multithreading, and Animation60 Questions
Select questions type
Match each term with a statement below.
-A loop that may execute a different number of times each time the program executes
(Multiple Choice)
4.9/5
(30)
____ a data item means you override incorrect data by setting the variable to a specific value.
(Multiple Choice)
4.7/5
(33)
Loops are frequently used to ____;that is,to make sure it is meaningful and useful.
(Multiple Choice)
4.8/5
(39)
Match each term with a statement below.
-Loops within loops
(Multiple Choice)
4.9/5
(35)
Usually,when you create nested loops,each loop has its own ____.
(Multiple Choice)
4.7/5
(30)
The loop control variable is initialized after entering the loop.
(True/False)
4.8/5
(31)
A mistake programmers often make with loops is that they ____.
(Multiple Choice)
4.8/5
(32)
Many loop control variable values are altered by ____,or adding to them.
(Multiple Choice)
4.9/5
(36)
A(n)____ is very similar to a counter that you use to count loop iterations,except that you usually add a value other than one to this type of variable.
(Multiple Choice)
4.9/5
(30)
In a for statement,a loop control variable is initialized,tested,and ____________________.
(Short Answer)
5.0/5
(43)
The safest action is to assign the value 1 to accumulators before using them.
(True/False)
4.7/5
(38)
In some cases,a loop control variable does not have to be initialized.
(True/False)
4.9/5
(38)
Programmers employ the acronym ____ to mean that if your input is incorrect,your output is worthless.
(Multiple Choice)
4.8/5
(33)
Match each term with a statement below.
-A variable that you use to gather values
(Multiple Choice)
4.8/5
(31)
The ____ loop is particularly useful when processing arrays.
(Multiple Choice)
5.0/5
(38)
Forgetting to initialize and alter the loop control variable are common mistakes that programmers sometimes make.
(True/False)
4.8/5
(27)
The ____ loop provides three actions in one compact statement.
(Multiple Choice)
4.8/5
(36)
Showing 21 - 40 of 59
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)