
Java Programming Quiz
Quiz
•
Science
•
9th - 12th Grade
•
Practice Problem
•
Medium
Fidaa Abed
Used 10+ times
FREE Resource
Enhance your content in a minute
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol starts a single-line comment in Java?
/*
//
#
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A public class named Welcome1 must be saved in a file named:
welcome1.class
welcome1.java
Welcome1.java
Welcome1Class.java
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identifiers in Java cannot:
Begin with a digit
Contain underscores
Use dollar signs
Use both uppercase and lowercase
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is the entry point of every Java application?
start()
run()
main()
init()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does void mean in public static void main?
The method returns 0
The method returns nothing
The method returns a string
The method returns an object
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement prints output without moving to a new line?
println()
print()
printf()
display()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What escape sequence is used for a newline?
\r
\t
\n
\
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
23 questions
Skeletal, Muscular and Integumentary System Unit Test
Quiz
•
7th - 9th Grade
22 questions
evolution
Quiz
•
11th Grade
25 questions
Q1 First Long Test
Quiz
•
10th Grade
25 questions
Physical Science-Q4-ST1
Quiz
•
11th Grade
25 questions
ES Background and Essentials Review
Quiz
•
12th Grade
25 questions
Weather and Climate
Quiz
•
5th Grade - University
25 questions
Scientific Method
Quiz
•
6th Grade - University
22 questions
Number Systems & Binary Maths
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Science
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
20 questions
Human Impact on the Environment Review #2
Quiz
•
9th Grade
35 questions
Physical Science Semester 1 Final Review
Quiz
•
9th Grade
34 questions
ACA Final Unit 1 (Biochem/Cells)
Quiz
•
9th Grade
20 questions
The Cell Cycle and Mitosis
Quiz
•
9th Grade
20 questions
Newton's Laws of Motion
Quiz
•
7th - 9th Grade
20 questions
Balancing Chemical Equations
Quiz
•
9th Grade
