Code HS Unit 4 Review

Code HS Unit 4 Review

11th - 12th Grade

37 Qs

quiz-placeholder

Similar activities

Computer Science in Algebra Unit B Skill Review

Computer Science in Algebra Unit B Skill Review

9th - 12th Grade

34 Qs

IT Fun 1.0 Concepts and Terms

IT Fun 1.0 Concepts and Terms

11th - 12th Grade

42 Qs

Python Midterm Review

Python Midterm Review

KG - Professional Development

33 Qs

Computer Science "NOT FINISHED"

Computer Science "NOT FINISHED"

12th Grade

35 Qs

Computer Science IGCSE Logic Gates

Computer Science IGCSE Logic Gates

9th - 12th Grade

40 Qs

Data types and operators

Data types and operators

10th - 11th Grade

40 Qs

M4_RETEST_Student

M4_RETEST_Student

10th - 12th Grade

40 Qs

PLTW CSE Unit 1.3 Review

PLTW CSE Unit 1.3 Review

9th - 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?