Code HS Unit 4 Review

Code HS Unit 4 Review

11th - 12th Grade

37 Qs

quiz-placeholder

Similar activities

recursion and review

recursion and review

9th - 12th Grade

35 Qs

G12 Assessment Revision Part 2

G12 Assessment Revision Part 2

12th Grade

40 Qs

Code.org Chapters One and Two

Code.org Chapters One and Two

3rd - 12th Grade

39 Qs

chapter one visual basic.net 2nd term

chapter one visual basic.net 2nd term

9th Grade - University

40 Qs

AP CSP Code.org Unit 5 Assessment 1 Review

AP CSP Code.org Unit 5 Assessment 1 Review

9th - 12th Grade

40 Qs

SDD Data Types

SDD Data Types

12th Grade

40 Qs

1.4.3. Boolean Algebra

1.4.3. Boolean Algebra

12th Grade

34 Qs

Boolean

Boolean

10th - 12th Grade

35 Qs

Code HS Unit 4 Review

Code HS Unit 4 Review

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Kelley Camp

Used 274+ times

FREE Resource

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a valid value for a boolean?

True

False

yes

All are valid

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

After the following code runs, what is the value of is_weekend?

True

False

"is_weekend"

"is_saturday || is_sunday"

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol represents the and operator in Python?

AND

and

&

&&

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol represents the or operator in Python?

OR

or

|

| |

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When using "and" as a Boolean operator, what must happen for the phrase to be True?

All conditions must be True

Just one condition must be True

No conditions are True

None of the choices are correct

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the proper way to compare if two values are equal in a boolean expression in Python?

=

==

EQUALS

is

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the proper operator for “not equals” in Python?

=!

!=

~=

NOT EQUALS

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?