
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
\
Create a free account and access millions of resources
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
22 questions
Biology I Life Science
Quiz
•
9th - 12th Grade
22 questions
SCIENCE FORM 2
Quiz
•
10th Grade
22 questions
Conservation of Energy and Energy Transformation
Quiz
•
6th - 9th Grade
22 questions
Chemistry Equilibrium
Quiz
•
10th - 12th Grade
23 questions
Position-Time Graphs
Quiz
•
12th Grade
24 questions
AP Environmental Science Unit 7
Quiz
•
9th - 12th Grade
25 questions
Tree Growth and Functions
Quiz
•
12th Grade - University
25 questions
Week 28 - Chapter 20 Sound
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
Discover more resources for Science
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
15 questions
Domain 3 – Classification: 15-Question Assessment
Quiz
•
9th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
15 questions
Domain 4 – Evolution: 15-Question Assessment
Quiz
•
9th Grade
15 questions
Domain 5 – Ecology: 15-Question Assessment
Quiz
•
9th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
10 questions
EOC Domain 3: Taxonomy
Lesson
•
9th - 10th Grade
9 questions
EOC Domain 4: Evolution
Lesson
•
9th - 10th Grade
