Codehs Basic Java Quiz Review Sections 1-8

Codehs Basic Java Quiz Review Sections 1-8

Assessment

Quiz

Computers

8th - 10th Grade

Easy

Created by

Melissa Wahal

Used 60+ times

FREE Resource

Student preview

quiz-placeholder

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

Media Image

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

Media Image

What does the following segment of code output?

Bishop Kelly

9

89.3

true

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following segment of code output?

Bishop Kelly

9

89.3

true

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

What does the following segment of code output?

depends on user input

Age is: age

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following segment of code output?

January

month

month: January

depends on the user input

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?