
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
Position Time
Quiz
•
12th Grade
25 questions
Sound Energy
Quiz
•
7th - 10th Grade
24 questions
Тестування "Веб технології"
Quiz
•
11th Grade
24 questions
Agriscience Plant Science
Quiz
•
11th - 12th Grade
22 questions
The Big Bang
Quiz
•
9th - 12th Grade
22 questions
AP Environmental Science Energy
Quiz
•
11th Grade
25 questions
Unit 7- Weathering, Erosion, and Deposition
Quiz
•
8th - 12th Grade
23 questions
Histology Chart
Quiz
•
11th 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
Discover more resources for Science
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
25 questions
Naming Ionic and Covalent Compounds
Quiz
•
9th Grade
14 questions
Natural Selection and Adaptation
Lesson
•
9th - 12th Grade
20 questions
Atomic Structure
Quiz
•
9th Grade
10 questions
Exploring the Ring of Fire: Volcanoes and Earthquakes
Interactive video
•
6th - 10th Grade
38 questions
Water Cycle and Groundwater
Quiz
•
9th - 12th Grade
10 questions
Exploring Spring and Neap Tides
Interactive video
•
6th - 10th Grade
15 questions
DNA and RNA review
Quiz
•
9th Grade
