Conditional Statements Java

Conditional Statements Java

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

TỰ TÌNH II HỒ XUÂN HƯƠNG

TỰ TÌNH II HỒ XUÂN HƯƠNG

11th Grade

20 Qs

Kuidas tuleb elektrivool koju?

Kuidas tuleb elektrivool koju?

9th - 11th Grade

19 Qs

Penyebaran flora dan fauna di indonesia

Penyebaran flora dan fauna di indonesia

10th Grade

15 Qs

NINTH GRADE I

NINTH GRADE I

9th Grade

10 Qs

HAIWAN INVETEBRATA DAN HAIWAN VETEBRATA

HAIWAN INVETEBRATA DAN HAIWAN VETEBRATA

10th Grade

20 Qs

vehicle transmission and driveline units(a)

vehicle transmission and driveline units(a)

KG - 12th Grade

10 Qs

CH5 TRIGONOMETRY RATIOS - ANGLE (DLP)

CH5 TRIGONOMETRY RATIOS - ANGLE (DLP)

9th Grade

10 Qs

Ciencias ICFES / CONFEDERADO ✨❤️‍🔥

Ciencias ICFES / CONFEDERADO ✨❤️‍🔥

11th Grade

19 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

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

Already have an account?