Python - Flow control

Flashcard
•
Computers
•
11th Grade
•
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
Similar Resources on Wayground
10 questions
French Revolution Quiz

Flashcard
•
KG - University
10 questions
CMP128 Java Ch. 04 Loops Pt. 2

Flashcard
•
University
10 questions
CSP Unit 3 Assessment

Flashcard
•
9th - 12th Grade
8 questions
Engineering Design Process (short)

Flashcard
•
9th - 12th Grade
10 questions
Understanding Computer Science Variables

Flashcard
•
11th Grade
9 questions
code.org unit 4

Flashcard
•
9th - 12th Grade
8 questions
Project Lifecycle

Flashcard
•
11th Grade
10 questions
Scratch Pop Flashcard Chapter1/Article/Videos/Vocab

Flashcard
•
9th - 12th 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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

Quiz
•
6th - 9th Grade