Exam 4: Fundamental Data Types
Exam 1: Introduction76 Questions
Exam 2: Using Objects82 Questions
Exam 3: Implementing Classes108 Questions
Exam 4: Fundamental Data Types124 Questions
Exam 5: Decisions119 Questions
Exam 6: Loops107 Questions
Exam 7: Arrays and Array Lists117 Questions
Exam 8: Designing Classes88 Questions
Exam 9: Inheritance99 Questions
Exam 10: Interfaces100 Questions
Exam 11: Input/Output and Exception Handling108 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion99 Questions
Exam 14: Sorting and Searching100 Questions
Exam 15: The Java Collections Framework102 Questions
Exam 16: Basic Data Structures102 Questions
Exam 17: Tree Structures102 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Stream Processing85 Questions
Exam 20: Graphical User Interfaces75 Questions
Exam 21: Advanced Input/Output90 Questions
Exam 22: Multithreading81 Questions
Exam 23: Internet Networking74 Questions
Exam 24: Relational Databases75 Questions
Exam 25: XML74 Questions
Select questions type
What is the value of the following expression?
3 * 5 / 2 * 5
(Multiple Choice)
4.8/5
(38)
Which one of the following refers to a number constant that appears in code without explanation?
(Multiple Choice)
4.8/5
(37)
Which is the Java equivalent of the following mathematical expression?

(Multiple Choice)
4.9/5
(35)
Which of the following options defines an integer variable?
(Multiple Choice)
4.8/5
(44)
What is the value of the value variable at the end of the given code snippet?

(Multiple Choice)
4.9/5
(35)
In an airline reservation system, the number of available seats in an airplane is required.Which data type should be used to store this value?
(Multiple Choice)
4.8/5
(22)
Why is the double type not appropriate for financial calculations?
(Multiple Choice)
4.8/5
(38)
What is the value of the var variable at the end of the given code snippet?

(Multiple Choice)
4.8/5
(36)
Consider the following division statements:
I.22 / 7
II.22.0 / 7
III.22 / 7.0
Which of the following is correct?
(Multiple Choice)
4.7/5
(28)
Assume the following variables have been declared and given values as shown:
int i = 2345;
double m = 67.8;
Which statement will give the output below?
Values are 2345 and 67.80
(Multiple Choice)
4.8/5
(37)
Which of the given statements generates the following output?
\\\"///
(Multiple Choice)
4.8/5
(37)
Which of the following statements about constants in Java are true?
I.Although not required, constants are commonly named using uppercase letters
II.Only integer values can appear as constants
III.A variable can be defined with an initial value, but the reserved word final prevents it from being changed
IV.A named constant makes computations that use it clearer
(Multiple Choice)
4.8/5
(41)
Showing 21 - 40 of 124
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)