
Java Certification 1 (2025)
Authored by Bryan Campbell
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
For very large numbers with decimals, which data type should be used?
Float
Short
Double
Boolean
Long
2.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Where does a java program start executing instructions from:
class
source file
main method
object
3.
DROPDOWN QUESTION
1 min • 4 pts
Using the dropdown menus, finish the following code so that the first print prints the number of characters in the s1 variable. The second print needs to print the hexadecimal version of s1.
public class Main {
public static void main(String[] args) {
String s1 = "bookworm reader";
int i1 =s1. (a) ;
System.out.println(i1);
String s2 = (b) (" (c) ", i1);
System.out.println(s2);
}
}
4.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Which is not a compound assignment operator?
*=
/=
=
-=
5.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Which of the following statements about instance variables is true?
They are accessible only inside the method where they are declared.
They are shared across all instances of a class.
They are accessible anywhere inside the class but belong to an instance of the class.
They cannot have different values for different objects.
6.
DRAG AND DROP QUESTION
1 min • 4 pts
A new Java developer is trying to get a better understanding of how unary operators affect variables and their displayed values. Using drag and drop, match each print statement with its correct answer, using the following variable declarations:
int x = 13;
int y = 3;
(a) 3
(b) 14
(c) 12
(d) 13
7.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
What will be the output of this code?
String s="Stacey";
s.concat(" Green");
System.out.println(s);
s = "Robin Little";
Robin Little
Stacey Green
Stacey
Green
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
21 questions
AQA 4.6.4 Logic Gates and Circuits
Quiz
•
11th Grade
21 questions
GarageBand / Logic Shortcuts
Quiz
•
11th Grade
28 questions
4QICT12 - Current and Future Trends of Media and Information
Quiz
•
11th - 12th Grade
25 questions
Q2_SummTest2
Quiz
•
9th Grade
24 questions
Computer Networking Quiz
Quiz
•
9th Grade
25 questions
TRẮC NGHIỆM TIN 4 BÀI 2: GÕ PHÍM ĐÚNG CÁCH
Quiz
•
5th Grade - University
25 questions
HTML 5 (Parte 1)
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade