OOP - Conditionals

OOP - Conditionals

Assessment

Flashcard

Computers

KG

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What keyword is used to check an additional condition if the first if is false?

Back

else

2.

FLASHCARD QUESTION

Front

How many conditions can you check in a single if statement?

Back

as many as you need

3.

FLASHCARD QUESTION

Front

In Java, which symbol is used for the "OR" logical operator?

Back

| |

4.

FLASHCARD QUESTION

Front

What will if (x > 5 && x < 10) check for?

Back

If x is between 5 and 10

5.

FLASHCARD QUESTION

Front

what is the output? Options: error, Greater than 5, 5 or less, nothing

Back

Greater than 5

6.

FLASHCARD QUESTION

Front

Output?
Options: A, B, C, error

Back

B

7.

FLASHCARD QUESTION

Front

output? Options: Relax, Work, error, Relax AND Work

Back

Relax

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?