Python Review Part 1

Quiz
•
Professional Development
•
6th - 8th Grade
•
Hard
Brittney Jones
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
Time management

Quiz
•
7th Grade - Professio...
20 questions
Windows 11

Quiz
•
3rd Grade - Professio...
28 questions
Tennis Quiz

Quiz
•
5th - 8th Grade
20 questions
Summer Fun 2021

Quiz
•
6th - 12th Grade
20 questions
Presentations Quiz

Quiz
•
6th - 12th Grade
20 questions
Rules of the Classroom

Quiz
•
8th Grade
25 questions
College and Career Readiness

Quiz
•
7th - 12th Grade
20 questions
Explore More CGM

Quiz
•
7th 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