Python Review Part 1
Quiz
•
Professional Development
•
6th - 8th Grade
•
Practice Problem
•
Hard
Brittney Jones
Used 4+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What are the three necessary parts of an if statement?
if, a variable, a semi-colon
if, a print statement, a colon
if, a condition, a colon
if, a print statement, a semi-colon
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these words is used to begin a conditional statement?
when
input
if
unit
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol must be used at the end of an if statement?
:
.
#
"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The line after an if statement should begin with what?
#
a print statement
a colon
indentation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which key do you press on the keyboard to indent a statement?
Tab
Shift
Enter
Ctrl
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Under what circumstances will the indented line of code immediately after an if statement be executed?
if the condition is false
if the condition is true
if the line begins with a #
if the line contains a variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When should a double equal sign (==) be used?
to set the value of a decimal variable
to set the value of a float variable
to check whether two pieces of data are actually equal
to indicate greater than or less than
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
0 questions
if statements and while loops
Quiz
•
0 questions
python midterm review
Quiz
•
0 questions
Invitation to Computer Science Review
Quiz
•
0 questions
Basic Python Programming For Beginners
Quiz
•
0 questions
untitled
Quiz
•
0 questions
Python Loop Practice
Quiz
•
0 questions
Code blocks in Correct order
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
