Which one of these is not a hexadecimal digit? A) 0 B) 9 C) A D) F E) G 2. The h
ID: 3544738 • Letter: W
Question
Which one of these is not a hexadecimal digit? A) 0B) 9
C) A
D) F
E) G
2. The hexadecimal number C1 is equivalent to this decimal number. A) 13
B) 193
C) 161
D) 1
E) 121
3. The hexadecimal number 8C is equivalent to this binary number. A) 1100
B) 100012
C) 10001100
D) 110011
E) 11001000
4. True or False? Java is a high-level language. A) True
B) False
5. True or False? Java is an object-oriented language. A) True
B) False
6. The name of the Java compiler is _________________ A) java
B) javac
C) compiler
D) cc
E) jc
7. True or False? 2008taxRate is a valid identifier. A) True
B) False
8. True or False? tax Rate is a valid identifier. A) True
B) False
9. char values are surrounded by _____ quotes 10. The result of (double) ( 3 / 2 ) is _________________ A) 1.0
B) 1.5
C) 3.0
D) 2.0
E) 0.0
11. Which package is the Graphics class part of? _________________ A) javax.swing
B) java.swing
C) java.awt
D) javax.awt
E) java.graphics
12. The accessors are the _________________ methods A) set
B) get
13. True or False? The 4 relational operators, >, >=, <, <= are binary operators. A) True
B) False
14. When the boolean expression a && b, and a is false, the JVM does not evaluate b. This is called _____ 15. True or False? Curly braces around the loop body are optional if the loop body consists of only one statement. A) True
B) False
16. Putting a semicolon after the loop condition of a while loop will most likely result in an _____ loop 17. True or False? It is possible to create user-defined classes in Java. A) True
B) False
18. True or False? In a given class, there can be only one constructor A) True
B) False
19. True or False? The default constructor takes no parameter. A) True
B) False
20. True or False? A method of a class can call other methods of that same class. A) True
B) False
21. Where is the error in the array declaration int [5] numbers; A) There is no error
B) The square brackets should be empty
C) There should be no space between int and [
D) It should be int numbers[5];
22. To access the element at index i of an array named grades, we use _________________ A) grades
B) grades[ i ]
C) grades( i )
D) grades{ i }
23. If an array has n elements, then the last index is ______ A) n
B) n + 1
C) n - 1
24. To access the number of elements in an array named grades, we use _________________ A) grades
B) grades.size( )
C) grades.size
D) grades.length( )
E) grades.length
25. True or False? We can pass a two-dimensional array parameter to a method. A) True
B) False
26. True or False? Three-dimensional arrays are not allowed in Java. A) True
B) False
27. True or False? We can store primitive data types in an ArrayList object. A) True
B) False
28. True or False? A method from a subclass overriding a method from a superclass cannot call the superclass method. A) True
B) False
29. True or False? Overriding a method and overloading a method means the same thing. A) True
B) False
30. When creating a GUI application class, which class do we typically extend? A) Window
B) JFrame
C) Component
D) Container
Which one of these is not a hexadecimal digit? A) 0
B) 9
C) A
D) F
E) G
Which one of these is not a hexadecimal digit? 2. The hexadecimal number C1 is equivalent to this decimal number. A) 13
B) 193
C) 161
D) 1
E) 121
2. The hexadecimal number C1 is equivalent to this decimal number. A) 13
B) 193
C) 161
D) 1
E) 121
The hexadecimal number C1 is equivalent to this decimal number. 3. The hexadecimal number 8C is equivalent to this binary number. A) 1100
B) 100012
C) 10001100
D) 110011
E) 11001000
3. The hexadecimal number 8C is equivalent to this binary number. A) 1100
B) 100012
C) 10001100
D) 110011
E) 11001000
The hexadecimal number 8C is equivalent to this binary number. 4. True or False? Java is a high-level language. A) True
B) False
4. True or False? Java is a high-level language. A) True
B) False
True or False? Java is a high-level language. 5. True or False? Java is an object-oriented language. A) True
B) False
5. True or False? Java is an object-oriented language. A) True
B) False
True or False? Java is an object-oriented language. 6. The name of the Java compiler is _________________ A) java
B) javac
C) compiler
D) cc
E) jc
6. The name of the Java compiler is _________________ A) java
B) javac
C) compiler
D) cc
E) jc
The name of the Java compiler is _________________ 7. True or False? 2008taxRate is a valid identifier. A) True
B) False
7. True or False? 2008taxRate is a valid identifier. A) True
B) False
True or False? 2008taxRate is a valid identifier. 8. True or False? tax Rate is a valid identifier. A) True
B) False
8. True or False? tax Rate is a valid identifier. A) True
B) False
True or False? tax Rate is a valid identifier. 9. char values are surrounded by _____ quotes 9. char values are surrounded by _____ quotes char values are surrounded by _____ quotes 10. The result of (double) ( 3 / 2 ) is _________________ A) 1.0
B) 1.5
C) 3.0
D) 2.0
E) 0.0
10. The result of (double) ( 3 / 2 ) is _________________ A) 1.0
B) 1.5
C) 3.0
D) 2.0
E) 0.0
The result of (double) ( 3 / 2 ) is _________________ 11. Which package is the Graphics class part of? _________________ A) javax.swing
B) java.swing
C) java.awt
D) javax.awt
E) java.graphics
11. Which package is the Graphics class part of? _________________ A) javax.swing
B) java.swing
C) java.awt
D) javax.awt
E) java.graphics
Which package is the Graphics class part of? _________________ 12. The accessors are the _________________ methods A) set
B) get
12. The accessors are the _________________ methods A) set
B) get
The accessors are the _________________ methods 13. True or False? The 4 relational operators, >, >=, <, <= are binary operators. A) True
B) False
13. True or False? The 4 relational operators, >, >=, <, <= are binary operators. A) True
B) False
True or False? The 4 relational operators, >, >=, <, <= are binary operators. 14. When the boolean expression a && b, and a is false, the JVM does not evaluate b. This is called _____ 14. When the boolean expression a && b, and a is false, the JVM does not evaluate b. This is called _____ When the boolean expression a && b, and a is false, the JVM does not evaluate b. This is called _____ 15. True or False? Curly braces around the loop body are optional if the loop body consists of only one statement. A) True
B) False
15. True or False? Curly braces around the loop body are optional if the loop body consists of only one statement. A) True
B) False
True or False? Curly braces around the loop body are optional if the loop body consists of only one statement. 16. Putting a semicolon after the loop condition of a while loop will most likely result in an _____ loop 16. Putting a semicolon after the loop condition of a while loop will most likely result in an _____ loop Putting a semicolon after the loop condition of a while loop will most likely result in an _____ loop 17. True or False? It is possible to create user-defined classes in Java. A) True
B) False
17. True or False? It is possible to create user-defined classes in Java. A) True
B) False
True or False? It is possible to create user-defined classes in Java. 18. True or False? In a given class, there can be only one constructor A) True
B) False
18. True or False? In a given class, there can be only one constructor A) True
B) False
True or False? In a given class, there can be only one constructor 19. True or False? The default constructor takes no parameter. A) True
B) False
19. True or False? The default constructor takes no parameter. A) True
B) False
True or False? The default constructor takes no parameter. 20. True or False? A method of a class can call other methods of that same class. A) True
B) False
20. True or False? A method of a class can call other methods of that same class. A) True
B) False
True or False? A method of a class can call other methods of that same class. 21. Where is the error in the array declaration int [5] numbers; A) There is no error
B) The square brackets should be empty
C) There should be no space between int and [
D) It should be int numbers[5];
21. Where is the error in the array declaration int [5] numbers; A) There is no error
B) The square brackets should be empty
C) There should be no space between int and [
D) It should be int numbers[5];
Where is the error in the array declaration int [5] numbers; 22. To access the element at index i of an array named grades, we use _________________ A) grades
B) grades[ i ]
C) grades( i )
D) grades{ i }
22. To access the element at index i of an array named grades, we use _________________ A) grades
B) grades[ i ]
C) grades( i )
D) grades{ i }
To access the element at index i of an array named grades, we use _________________ 23. If an array has n elements, then the last index is ______ A) n
B) n + 1
C) n - 1
23. If an array has n elements, then the last index is ______ A) n
B) n + 1
C) n - 1
If an array has n elements, then the last index is ______ 24. To access the number of elements in an array named grades, we use _________________ A) grades
B) grades.size( )
C) grades.size
D) grades.length( )
E) grades.length
24. To access the number of elements in an array named grades, we use _________________ A) grades
B) grades.size( )
C) grades.size
D) grades.length( )
E) grades.length
To access the number of elements in an array named grades, we use _________________ 25. True or False? We can pass a two-dimensional array parameter to a method. A) True
B) False
25. True or False? We can pass a two-dimensional array parameter to a method. A) True
B) False
True or False? We can pass a two-dimensional array parameter to a method. 26. True or False? Three-dimensional arrays are not allowed in Java. A) True
B) False
26. True or False? Three-dimensional arrays are not allowed in Java. A) True
B) False
True or False? Three-dimensional arrays are not allowed in Java. 27. True or False? We can store primitive data types in an ArrayList object. A) True
B) False
27. True or False? We can store primitive data types in an ArrayList object. A) True
B) False
True or False? We can store primitive data types in an ArrayList object. 28. True or False? A method from a subclass overriding a method from a superclass cannot call the superclass method. A) True
B) False
28. True or False? A method from a subclass overriding a method from a superclass cannot call the superclass method. A) True
B) False
True or False? A method from a subclass overriding a method from a superclass cannot call the superclass method. 29. True or False? Overriding a method and overloading a method means the same thing. A) True
B) False
29. True or False? Overriding a method and overloading a method means the same thing. A) True
B) False
True or False? Overriding a method and overloading a method means the same thing. 30. When creating a GUI application class, which class do we typically extend? A) Window
B) JFrame
C) Component
D) Container
30. When creating a GUI application class, which class do we typically extend? A) Window
B) JFrame
C) Component
D) Container
When creating a GUI application class, which class do we typically extend?
Explanation / Answer
1)E) G (since in hexa decimal we have 0 to F(15))
2)B) 193
3) C) 10001100
4)A) True
5)A) True
6)B) javac
7)B) False
8)A) True
9) Single Quotes ' '
10)A) 1.0
11)C) java.awt
12)B) get
13)A) True
14)Compiler error
15)A) True
16)infinite loop
17)A)True
18) B) False
19)A) True
20)A) True
21)D) It should be int numbers[5];
22)B) grades[ i ]
23)C) n - 1
24)D) grades.length( )
25)A) True
26) B) False
27)A) True
28)A) True
29)False
30)B) JFrame
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.