Code HS Unit 4 Review

Code HS Unit 4 Review

11th - 12th Grade

37 Qs

quiz-placeholder

Similar activities

pascal

pascal

11th Grade

42 Qs

Web Searches and Key Terms

Web Searches and Key Terms

7th Grade - University

33 Qs

Python Fundamentals Concept Checkup

Python Fundamentals Concept Checkup

9th Grade - University

38 Qs

SDLC, Logic Gates CS Federal (Class XI)

SDLC, Logic Gates CS Federal (Class XI)

11th Grade

35 Qs

2.2 Programming Fundamentals Knowledge Check

2.2 Programming Fundamentals Knowledge Check

9th - 12th Grade

32 Qs

logical errors vs Syntax errors Python

logical errors vs Syntax errors Python

12th Grade

32 Qs

JavaScript Variable

JavaScript Variable

12th Grade

37 Qs

Java Quiz

Java Quiz

11th Grade - University

34 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?