Conditionals and Booleans

Conditionals and Booleans

6th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Year 6 Operators

Year 6 Operators

6th Grade

10 Qs

U3: [Assess] L14-L17 Code.org

U3: [Assess] L14-L17 Code.org

9th - 12th Grade

9 Qs

Student-Led Group Presentation

Student-Led Group Presentation

10th Grade

10 Qs

L2 Selection in Programming

L2 Selection in Programming

8th Grade

10 Qs

Struktur Kontrol IF (Java)

Struktur Kontrol IF (Java)

11th Grade

10 Qs

Unit 1 Vocab Quiz 1

Unit 1 Vocab Quiz 1

6th - 8th Grade

6 Qs

Be a Perfect Programmer with Scratch

Be a Perfect Programmer with Scratch

7th Grade

10 Qs

Loops (Python)

Loops (Python)

8th Grade

12 Qs

Conditionals and Booleans

Conditionals and Booleans

Assessment

Quiz

Computers

6th - 12th Grade

Hard

Created by

Charles Martinez

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Booleans can have values of yes and no.

True

False

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

When using the && operator the statement will evaluate to true when:

One and ONLY one statement is true

Both statements are true

No statements are true

None of these

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

When using the || operator the statement will evaluate to true when:

One and ONLY one statement is true

One or both statements are true

Both statements are true

All of these

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

In Java an if statement is a conditional statement, meaning it sometimes does not run.

True

False

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

An else statement can run after its preceding if statement runs.

True

False

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Switch statements allow for multiple branches of execution.

True

False

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

! is as a NOT modifier.

True

False