Exam 2: Basic Elements of Java
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of Java50 Questions
Exam 3: Introduction to Objects and Input/output50 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 Classes50 Questions
Exam 9: Arrays46 Questions
Exam 10: Inheritance and Polymorphism50 Questions
Exam 11: Handling Exceptions and Events50 Questions
Exam 12: Advanced Guis and Graphics48 Questions
Exam 13: Recursion50 Questions
Exam 14: Applications of Arrays Searching and Sorting and Strings50 Questions
Select questions type
Which of the following statements about a named constant is NOT true?
(Multiple Choice)
4.9/5
(46)
Suppose that alpha and beta are int variables. The statement alpha = --beta; is equivalent to the statement(s) ____.
(Multiple Choice)
4.9/5
(34)
If ++x is used in an expression, first the expression is evaluated, and then the value of x is incremented by 1.
(True/False)
4.8/5
(37)
The character sequence \n moves the insertion point at the end of the current line.
(True/False)
4.8/5
(32)
Given
Char ch;
Int num;
Double pay; Which of the following assignment statements are valid?
(i) ch = ' * ' ;
(ii) pay = num * pay;
(iii) rate * 40 = pay;
(Multiple Choice)
4.9/5
(42)
Suppose console is a Scanner object initialized with the standard input device. The expression console.nextInt(); is used to read one int value and the expression console.nextDouble(); is used to read two int values.
(True/False)
4.7/5
(39)
An operator that has only one operand is called a unique operator.
(True/False)
4.8/5
(33)
Showing 41 - 50 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)