Exam 2: Java Fundamentals
Exam 1: Introduction to Computers and Java53 Questions
Exam 2: Java Fundamentals52 Questions
Exam 3: Decision Structures58 Questions
Exam 4: Loops and Files56 Questions
Exam 5: Methods56 Questions
Exam 6: A First Look at Classes58 Questions
Exam 7: Arrays and the Arraylist Class63 Questions
Exam 8: A Second Look at Classes and Objects52 Questions
Exam 9: Text Processing and More About Wrapper Classes62 Questions
Exam 10: Inheritance64 Questions
Exam 11: Exceptions and Advanced File Io59 Questions
Exam 12: Java-Fx: Gui Programming and Basic Controls42 Questions
Exam 13: Java-Fx: Advanced Controls40 Questions
Exam 14: Java-Fx: Graphics, Effects, and Media40 Questions
Exam 15: Recursion23 Questions
Exam 16: Databases40 Questions
Select questions type
In Java, __________ must be declared before they can be used.
(Multiple Choice)
4.8/5
(28)
What would be displayed as a result of executing the following code?
int x = 15, y = 20, z = 32;
X += 12;
Y /= 6;
Z -= 14;
System.out.println("x = " + x +
", y = " + y +
", z = " + z);
(Multiple Choice)
4.7/5
(35)
To compile a program named First you would use which of the following commands?
(Multiple Choice)
4.9/5
(33)
A value that is written into the code of a program is a(n) __________.
(Multiple Choice)
4.8/5
(40)
If the following Java statements are executed, what will be displayed? System.out.println("The top three winners are\n");
System.out.print("Jody, the Giant\n");
System.out.print("Buffy, the Barbarian");
System.out.println("Adelle, the Alligator");
(Multiple Choice)
4.7/5
(29)
A variable's scope is the part of the program that has access to that variable.
(True/False)
4.9/5
(41)
Which of the following statements will correctly convert the data type, if x is a float and y is a double?
(Multiple Choice)
4.7/5
(30)
Which of the following is a named storage location in the computer's memory?
(Multiple Choice)
4.9/5
(44)
To print "Hello, world" on the monitor, which of the following Java statements should be used?
(Multiple Choice)
4.7/5
(37)
Showing 41 - 52 of 52
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)