Code HS Unit 4 Review

Quiz
•
Computers
•
11th - 12th Grade
•
Medium
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
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
Similar Resources on Wayground
35 questions
Paper 2 - Document Production, Data Manipulation & Presentations

Quiz
•
10th - 11th Grade
40 questions
Computational thinking, algorithms and programming

Quiz
•
11th Grade
40 questions
Data & Storage

Quiz
•
9th - 12th Grade
35 questions
Sem 1 Final Review Computer Programming

Quiz
•
9th - 12th Grade
32 questions
Mwd theory practice

Quiz
•
1st - 12th Grade
36 questions
Data Types

Quiz
•
11th Grade
42 questions
IT Fun 1.0 Concepts and Terms

Quiz
•
11th - 12th Grade
33 questions
2.1.1 CSE Transitioning from Block to Text Coding

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade