
Java Programming Quiz
Authored by Fidaa Abed
Science
9th - 12th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
24 questions
Plant Agriculture Test
Quiz
•
11th - 12th Grade
25 questions
plants
Quiz
•
6th Grade - University
23 questions
Chapter 9 Vocabulary
Quiz
•
9th - 12th Grade
22 questions
Photosynthesis + Category 4
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Science
25 questions
Naming Ionic and Covalent Compounds
Quiz
•
9th Grade
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
26 questions
Unit 8b Review
Quiz
•
9th Grade
14 questions
Natural Selection and Adaptation
Lesson
•
9th - 12th Grade
10 questions
Exploring Water Pollution and Conservation
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Human Respiratory System
Interactive video
•
6th - 10th Grade
30 questions
Unit 2C Progress Check (Biosphere 3)
Quiz
•
9th - 12th Grade
14 questions
Genetics Practice (Mendelian & Non-mendelian)
Quiz
•
10th Grade