
Python - Flow control
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In a Python program, a control structure:
Back
directs the order of execution of the statements in the program
2.
FLASHCARD QUESTION
Front
An empty/null statement in python is ____________
Back
pass
3.
FLASHCARD QUESTION
Front
The order of statement execution in the form of top to bottom, is known as ______ construct
Back
sequence
4.
FLASHCARD QUESTION
Front
The ___________ construct allows to choose statements to be executed, depending upon the result of a condition.
Back
selection
5.
FLASHCARD QUESTION
Front
What is the output of the above program ?
Back
Or here ? Or over here ?
6.
FLASHCARD QUESTION
Front
If the user inputs : 2<Enter> , what does the following code snippet print ?
Back
May be
7.
FLASHCARD QUESTION
Front
How many times will the following loop run?
for i in range(5):
print(i)
Back
5
Access all questions and much more by creating a free account
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?