Exam 5: Control Structures II: Repetition
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of Java50 Questions
Exam 3: Introduction to Objects and Inputoutput50 Questions
Exam 4: Control Structures I: Selection50 Questions
Exam 5: Control Structures II: Repetition50 Questions
Exam 6: Graphical User Interface Gui and Object-Oriented Design OOD50 Questions
Exam 7: User-Defined Methods50 Questions
Exam 8: User-Defined Classes and Adts50 Questions
Exam 9: Arrays50 Questions
Exam 10: Inheritance and Polymorphism50 Questions
Exam 11: Handling Exceptions and Events50 Questions
Exam 12: Advanced Guis and Graphics49 Questions
Exam 13: Recursion50 Questions
Exam 14: Searching and Sorting50 Questions
Select questions type
After a break statement executes, the program continues to execute with the first statement after the structure.
(True/False)
4.8/5
(40)
EOF-controlled while loop is another name for sentinel-controlled while loop.
(True/False)
4.8/5
(43)
A loop that continues to execute endlessly is called an endless loop.
(True/False)
4.7/5
(40)
A counter-controlled loop is used when the exact number of data entries is known.
(True/False)
5.0/5
(41)
Because a do...while loop is a post-test loop, the body of the loop may not execute at all.
(True/False)
4.9/5
(50)
Like a do...while loop, the body of a while loop executes at least once.
(True/False)
4.9/5
(46)
If the while expression becomes false in the middle of the while loop body, the loop terminates immediately.
(True/False)
4.8/5
(44)
In the case of an infinite while loop, the while expression (that is, the loop condition) is always true.
(True/False)
4.8/5
(39)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)