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
CSP Unit 3 Assessment

Flashcard
•
9th - 12th Grade
7 questions
Unit 1.01 - 1.02 Project Management

Flashcard
•
9th - 12th Grade
10 questions
American/French Revolution

Flashcard
•
10th Grade
9 questions
Criminal Justice System

Flashcard
•
10th - 12th Grade
8 questions
WJEC 1.7 Software Engineering

Flashcard
•
9th - 10th Grade
11 questions
Introduction to Greek, Roman, and Gothic Architecture

Flashcard
•
11th Grade
10 questions
AP Computer Science Principles - Unit 3: App Design

Flashcard
•
9th - 12th Grade
8 questions
Data Types and Concepts

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade