Exam 6: Flow of Control, Part 2: Looping
Exam 1: Introduction to Programming and the Java Language47 Questions
Exam 2: Programming Building Blocks- Java Basics57 Questions
Exam 3: Object-Oriented Programming, Part 1: Using Classes62 Questions
Exam 4: Introduction to Graphical Applications57 Questions
Exam 5: Flow of Control, Part 1: Selection68 Questions
Exam 6: Flow of Control, Part 2: Looping67 Questions
Exam 7: Object-Oriented Programming, Part 2: User-Defined Classes78 Questions
Exam 8: Single-Dimensional Arrays63 Questions
Exam 9: Multidimensional Arrays and the Arraylist Class62 Questions
Exam 10: Object-Oriented Programming, Part 3: Inheritance, Polymorphism, and Interfaces61 Questions
Exam 11: Exceptions, and Input Output Operations77 Questions
Exam 12: Graphical User Interfaces Using Java FX89 Questions
Exam 13: Recursion59 Questions
Exam 14: An Introduction to Data Structures69 Questions
Exam 15: Running Time Analysis56 Questions
Exam 16: RGB Colors, Decimal Conversion, Java Naming, and Random Number Generation110 Questions
Select questions type
Assuming the for loop header for ( i = 0; i <= 7; i++ ), what will be value of i after we exit the loop?
(Multiple Choice)
4.9/5
(39)
A while loop can be used for counting input values that have a certain property-for instance, positive values.
(True/False)
4.9/5
(40)
An InputMismatchException is generated while using Scanner. What can you conclude?
(Multiple Choice)
4.9/5
(38)
Before the loop begins, if you know the number of times the loop body should execute, you can use a:
(Multiple Choice)
4.9/5
(35)
When you write a program that expects an input value within a certain range only, you should not forget to test the __________ case.
(Short Answer)
4.8/5
(35)
When asking the user for an integer value, it is possible that the user enters a character that is not an integer; using a while loop, we can keep asking the user for an integer until the user enters one.
(True/False)
4.8/5
(27)
Showing 61 - 67 of 67
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)