APCSP - Booleans

APCSP - Booleans

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Pseudocode WHILE Loops

Pseudocode WHILE Loops

10th - 12th Grade

10 Qs

Iteration

Iteration

9th - 12th Grade

15 Qs

Code.Org: Unit 3, Lessons 3-5 Quiz

Code.Org: Unit 3, Lessons 3-5 Quiz

8th - 10th Grade

15 Qs

Python Loops

Python Loops

9th - 12th Grade

10 Qs

Quarterly Quiz

Quarterly Quiz

10th - 12th Grade

10 Qs

AP CSP:  Interpreting Algorithms / Block Programming Language

AP CSP: Interpreting Algorithms / Block Programming Language

9th - 12th Grade

14 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

APCSP - Booleans

APCSP - Booleans

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Rebecca Lee

Used 12+ times

FREE Resource

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.

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?