Python: Control Structures Review

Quiz
•
Computers
•
9th Grade - University
•
Hard

Lakeisha Fuller
Used 13+ times
FREE Resource
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Yes
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a Python program , a control structure:
directs the order of execution of the statements in the program
dictates what happens before te program starts and after it terminates
defines program-specific data structures
manages the input and output of control characters
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If the user inputs : 2<Enter> , what does the following code snippet print ?
Yes
No
May be
Nothing printed
Error
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Function range(3) is equivalent to:
(**There is more than 1 answer!**)
range(1,3)
range(0,3)
range(0,3,1)
range(1,3,0)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output?
condition
True
Program has a syntax error.
3 > 2
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output?
more than 7
more than 23
spam
7
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Python Loops 2

Quiz
•
University
30 questions
String

Quiz
•
10th Grade - University
30 questions
Algorithms, Flowcharts, Scratch & Python

Quiz
•
10th Grade
30 questions
Tech Quest Level-2

Quiz
•
University
30 questions
Python (Week 7)

Quiz
•
9th Grade
32 questions
2.16.1: Basic Java Review

Quiz
•
10th Grade
30 questions
PYTHON AI

Quiz
•
9th Grade
30 questions
Java Programming

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade