Exam 4: Loops and Files
Exam 1: Introduction to Computers and Java42 Questions
Exam 2: Java Fundamentals53 Questions
Exam 3: Decision Structures52 Questions
Exam 4: Loops and Files48 Questions
Exam 5: Methods50 Questions
Exam 6: A First Look at Classes49 Questions
Exam 7: A First Look at Gui Applications49 Questions
Exam 8: Arrays and the Arraylist Class52 Questions
Exam 9: A Second Look at Classes and Objects40 Questions
Exam 10: Text Processing and More About Wrapper Classes49 Questions
Exam 11: Inheritance49 Questions
Exam 12: Exceptions and Advanced File Io46 Questions
Exam 13: Advanced Gui Applications46 Questions
Exam 14: Applets and More39 Questions
Exam 15: Recursion34 Questions
Exam 16: Sorting, Searching, and Algorithm Analysis46 Questions
Exam 17: Generics50 Questions
Exam 18: Collections50 Questions
Exam 19: Array-Based Lists20 Questions
Exam 20: Linked Lists36 Questions
Exam 21: Stacks and Queues36 Questions
Exam 22: Binary Trees, Avl Trees, and Priority Queues45 Questions
Select questions type
What will be the value of x after the following code is executed? int x = 10;
Do
{
X *= 20;
}
While (x < 5);
(Multiple Choice)
4.8/5
(50)
A sentinel value _________ and signals that there are no more values to be entered.
(Multiple Choice)
4.8/5
(38)
When using the PrintWriter class,which of the following import statements would you write near the top of your program?
(Multiple Choice)
4.7/5
(39)
What will be the values of x and y as a result of the following code? int x = 25,y = 8;
X += y++;
(Multiple Choice)
4.8/5
(36)
A loop that repeats a specific number of times is known as a(n)
(Multiple Choice)
4.7/5
(38)
When you open a file with the PrintWriter class,the class can potentially throw an IOException.
(True/False)
4.8/5
(36)
What will be the value of x after the following code is executed? int x = 10,y = 20;
While (y < 100)
{
X += y;
Y += 20;
}
(Multiple Choice)
4.9/5
(27)
Showing 41 - 48 of 48
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)