
Codehs Basic Java Quiz Review Sections 1-8
Authored by Melissa Wahal
Computers
8th - 10th Grade
Used 61+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code prints out "Hello World"?
System.out.println("Hello World");
system.out.println("Hello World");
System.out.println(Hello World);
System.out.printline("Hello World");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code output?
8
daysLeft
The number of days left is daysLeft
The number of days left is 8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following segment of code output?
Bishop Kelly
9
89.3
true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following segment of code output?
Bishop Kelly
9
89.3
true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following segment of code output?
Depends on the user input
Name is: name
Name? Name is:
Name? Mrs. Wahal
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following segment of code output?
depends on user input
Age is: age
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following segment of code output?
January
month
month: January
depends on the user input
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?