
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
APES Sewage and Waste Review Quiz
Quiz
•
11th - 12th Grade
23 questions
EEn 1.1.1 Explain the Earth's motion Part 1
Quiz
•
9th Grade
22 questions
AP Environmental Science Natural Resource Distribution
Quiz
•
11th Grade
22 questions
Dynamics AP Physics
Quiz
•
11th - 12th Grade
24 questions
Astro Test Review
Quiz
•
9th Grade
23 questions
Chapter 9 Vocabulary
Quiz
•
9th - 12th Grade
22 questions
Photosynthesis + Category 4
Quiz
•
9th - 12th Grade
22 questions
Exploring Newton's Laws of Motion
Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
12 questions
Endothermic and Exothermic Reactions
Quiz
•
7th - 10th Grade
20 questions
Balanced and unbalanced forces
Quiz
•
10th Grade
10 questions
Exploring Thermal Energy and Temperature Concepts
Interactive video
•
6th - 10th Grade
10 questions
Exploring Kinetic and Potential Energy Concepts
Interactive video
•
6th - 10th Grade
32 questions
Explore Mixtures and Solutions
Quiz
•
9th - 12th Grade
