Search Header Logo

APCSP - Booleans

Authored by Rebecca Lee

Computers

10th - 12th Grade

Used 12+ times

APCSP - Booleans
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Boolean?

True

x = 10

x != y

"True"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Boolean Expression?

True

x = 10

x != y

"True"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Boolean Expressions evaluates to true?

"True"

7 != 7

10 < 7

7 >= 7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a comparison operator?

=

==

>=

!=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A condition for an if-else statement evaluates to FALSE. Which of the following is true?

The "if" statement code will run.

The "else" statement code will run.

The program will skip over all code in the if-else statement and move on to the next line of code.

Both the "if" statement AND the "else" statement code will run.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A condition for an if statement evaluates to FALSE. Which of the following is true?

The "if" statement code will run.

The program will skip over all code in the if statement and move on to the next line of code.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

if x = 11, what will happen in the program below?

the program will say "x is small"

the program will say "x is medium"

the program will say "x is large"

Nothing will happen.

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?