
Java Programming Quiz
Authored by Cherry Anne Tabaosares
Information Technology (IT)
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the correct way to declare a variable in Java?
int number;
num int;
integer number;
number int;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to create a class in Java?
object
class
Class
create
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for Java source files?
.jav
.java
.class
.jar
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed by the following code? System.out.println(3 + 2);
3+2
5
32
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used for decimal numbers in Java?
int
float
char
boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for single-line comments in Java?
//
/* */
#
--
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is the entry point of a Java program?
start()
run()
main()
program()
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
20 questions
ETECH 2ND QUARTER QUIZ
Quiz
•
9th - 12th Grade
20 questions
DPK Elemen 5 Bacaan
Quiz
•
10th Grade
15 questions
Quiz 1-15
Quiz
•
9th - 12th Grade
15 questions
AAVC - Workplace Communications Quiz
Quiz
•
10th Grade
20 questions
perangkat input,output, proses
Quiz
•
10th Grade - University
18 questions
Diagnostico Grado Sexto
Quiz
•
6th Grade - University
15 questions
Test wiedzy: Tablice jednowymiarowe w C++
Quiz
•
10th Grade - University
22 questions
ÔN TẬP CRV1
Quiz
•
6th Grade - University
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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade