SlideShare a Scribd company logo
1
GRADE - 10
Chapter 7
Control Structures in Python
Learning Objective
 Use of control structures in python.
Sequential control structure
programs
 The program flow in high-level
languages is sequential, i.e., it
executes line-by-line from top to
bottom.
 Each statement is executed only
once.
 Such programs where statements
are executed in a linear fashion are
known as sequential control
structure programs.
CONTROL STRUCTURES
 statements can be used within a
program to execute decisions or to
repeat actions.
 These actions may require the
linear sequence of instructions in a
program to be changed.
 Special constructs/statements are
used to achieve these.
 These constructs/statements are
conditional statements and iterative
statements.
Sequence
 Sequence refers to a group of
instructions executed one after
another, without any condition
checking or repetition.
 The programs discussed in the
previous chapter are based on
sequence control structure.
IGCSE ICT Chapter 3- Storage devices and media.ppt
Selection
 The selection statement selects
from two alternative routes
depending upon whether the
condition is true or false.
 Any non-zero and non-null values
are treated as true and zero or null
values are treated as false.
Decision Control Statements
 Simple if
 if-else
 nested if
 if-elif-else
IGCSE ICT Chapter 3- Storage devices and media.ppt
IGCSE ICT Chapter 3- Storage devices and media.ppt
IGCSE ICT Chapter 3- Storage devices and media.ppt
IGCSE ICT Chapter 3- Storage devices and media.ppt
Nested if:
 Nested if statements are an if
statement inside another if
statement.
IGCSE ICT Chapter 3- Storage devices and media.ppt
IGCSE ICT Chapter 3- Storage devices and media.ppt
if-elif-else:
 The if-elif-else statement is used to
conditionally execute a statement or
a block of statements.
IGCSE ICT Chapter 3- Storage devices and media.ppt
IGCSE ICT Chapter 3- Storage devices and media.ppt
Let us Summarise:
 Control structures in python.
20
Objective type questions
 __________________ are a set of
statements whose execution
process happens in a sequence
 In Python, the __________
statements are also known
as Decision control statements
21
Answers
 Sequential statements.
 selection
Homework:
 Learn and practice the concepts well.
23

More Related Content

PPTX
Ch # 11 2nd year computer science notes1
PPTX
UNIT - 2 : 20ACS04 – PROBLEM SOLVING AND PROGRAMMING USING PYTHON
PPTX
theory of programming languages by shikra
PPT
Fundamentals of Programming Chapter 6
PDF
Introduction to computer programming (C)-CSC1205_Lec5_Flow control
PDF
Python Programming - Control Flow
PPTX
Introduction To Programming with Python Lecture 2
PDF
Programming Sonu Kumar Shaw CA-1 Roll-14.pdf
Ch # 11 2nd year computer science notes1
UNIT - 2 : 20ACS04 – PROBLEM SOLVING AND PROGRAMMING USING PYTHON
theory of programming languages by shikra
Fundamentals of Programming Chapter 6
Introduction to computer programming (C)-CSC1205_Lec5_Flow control
Python Programming - Control Flow
Introduction To Programming with Python Lecture 2
Programming Sonu Kumar Shaw CA-1 Roll-14.pdf

Similar to IGCSE ICT Chapter 3- Storage devices and media.ppt (20)

PDF
Python Programming - III. Controlling the Flow
PPTX
Chapter 9 Conditional and Iterative Statements.pptx
PPTX
Control statements in Java
PPTX
Creating decision structures of a program
PPT
cprogrammingprogramcontrolsHJKHJHJHJ.ppt
PPT
Unit 3 principles of programming language
PPT
slides03.ppt
PPTX
Control Structure in C-programming with examples
PDF
Password protected diary
PPTX
Control Structures Python like conditions and loops
DOCX
PPS 3.3CONDITIONAL BRANCHING AND LOOPS WRITING AND EVALUATION OF CONDITIONAL...
PPTX
C Programming: Control Statements in C Pgm
PPTX
Comp ppt (1)
PPTX
Control statements in java
PPTX
python.pptx
DOCX
What is Software Testing Lifecycle?
PDF
Chap11 (ICS12).pdf
PPTX
PPT_203105211_3.pptx
PPT
Control statements
Python Programming - III. Controlling the Flow
Chapter 9 Conditional and Iterative Statements.pptx
Control statements in Java
Creating decision structures of a program
cprogrammingprogramcontrolsHJKHJHJHJ.ppt
Unit 3 principles of programming language
slides03.ppt
Control Structure in C-programming with examples
Password protected diary
Control Structures Python like conditions and loops
PPS 3.3CONDITIONAL BRANCHING AND LOOPS WRITING AND EVALUATION OF CONDITIONAL...
C Programming: Control Statements in C Pgm
Comp ppt (1)
Control statements in java
python.pptx
What is Software Testing Lifecycle?
Chap11 (ICS12).pdf
PPT_203105211_3.pptx
Control statements
Ad

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
master seminar digital applications in india
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Institutional Correction lecture only . . .
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Complications of Minimal Access Surgery at WLH
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Cell Types and Its function , kingdom of life
PDF
Business Ethics Teaching Materials for college
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
O5-L3 Freight Transport Ops (International) V1.pdf
master seminar digital applications in india
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Institutional Correction lecture only . . .
PPH.pptx obstetrics and gynecology in nursing
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Supply Chain Operations Speaking Notes -ICLT Program
Complications of Minimal Access Surgery at WLH
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Microbial disease of the cardiovascular and lymphatic systems
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Basic Mud Logging Guide for educational purpose
Cell Types and Its function , kingdom of life
Business Ethics Teaching Materials for college
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
RMMM.pdf make it easy to upload and study
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Ad

IGCSE ICT Chapter 3- Storage devices and media.ppt