Python Control Structures (Unit 4 AP CSP)

Quiz
•
Computers
•
10th Grade
•
Hard
atty meyer
Used 50+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
After the following code runs, what is the value of is_weekend?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What symbol represents the and operator in Python?
AND
and
&
&&
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What symbol represents the or operator in Python?
OR
or
I
I I
4.
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
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the proper operator for “not equals” in Python?
=~
NOT EQUALS
=!
!=
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume you are writing a program, and you have a boolean variable called b, defined like so:
b = True
Pick the correct if statement to follow the code above. The if statement should be correct Python, and the body of the if statement should only run if b is True.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following programs will not print anything?
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Unit 2.3 Robust Programs MCQs L1

Quiz
•
10th - 11th Grade
25 questions
Data Types- Python

Quiz
•
7th - 11th Grade
20 questions
iGCSE Computer Science: Programming Languages

Quiz
•
9th - 12th Grade
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
Python Loops Quiz

Quiz
•
10th Grade
20 questions
Programming Basics Quiz

Quiz
•
8th Grade - University
20 questions
Program Development - Python: Output

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade