Conditional Statements Java

Conditional Statements Java

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

REGLETA DE COLORES

REGLETA DE COLORES

10th Grade

10 Qs

Novel Sejarah

Novel Sejarah

12th Grade

10 Qs

Exoictic cars.

Exoictic cars.

5th Grade - Professional Development

10 Qs

TPS (Prediksi)

TPS (Prediksi)

12th Grade - University

20 Qs

TOÁN LỚP 2

TOÁN LỚP 2

7th - 12th Grade

10 Qs

2020 Sec 3E Physics Electromagnetic Spectrum Quiz

2020 Sec 3E Physics Electromagnetic Spectrum Quiz

9th - 10th Grade

12 Qs

Quiz Jelajah Rupiah NTT

Quiz Jelajah Rupiah NTT

1st - 12th Grade

12 Qs

Perubahan sosial budaya

Perubahan sosial budaya

9th Grade

20 Qs

Conditional Statements Java

Conditional Statements Java

Assessment

Quiz

9th - 12th Grade

Medium

Created by

Sherry Dieterich

Used 64+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What will x equal after the code is run?

10

5

0

-2

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is printed when this code is run?

x is negative

x is zero

x is positive

Nothing is printed

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does the following code print?

first quartile

second quartile

third quartile

fourth quartile

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does the code print?

first case

second case

you will get an error because you cannot divide by 0

Nothing will print

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What is printed by this code?

first case

second case

You will get an error because you cannot divide by 0

Nothing will print

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

If a and b are equal to each other, what does this statement print? System.out.print((a == b) != false);

true

false

a

b

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Does hi print?

yes

no

Access all questions and much more by creating a free account

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

Already have an account?