Python Control Structures

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering programming statements, control structures, sequential flow, and selection statements in Python from Trackpad (Version 2.0)-VIII.

8 Terms

1
New cards

Statements

Individual instructions given to the computer to perform a specific task.

2
New cards

Control Statements

Statements used to control or change the flow/order of execution of a program based on certain conditions.

3
New cards

Control Structure

A programming construct which affects the flow of execution of a program.

4
New cards

Types of Control Structures in Python

Sequential Statements, Selection Statements, and Iterative Statements.

5
New cards

Sequential Statements

Statements that are executed in a sequential order, one after the other, also known as a straight line structure.

6
New cards

Selection Statements

Statements required to execute a particular set of statements depending upon a particular test condition, also referred to as decision-making statements.

7
New cards

Selection Statements in Python

The three forms provided are: (i) if statement, (ii) if-else, and (iii) if-elif-else statement.

8
New cards

if Statement

A decision-making statement which is used to control the flow of execution of statements based on a conditional expression.