Selections
Lecture-7
Instructors
Ms.Huma Nisar
, Lecture Outline
• Introduction
• Boolean Types, Values, and Expressions
• One-way if statement
• Two-way if-else statement
, Introduction
• Control structure: logical design that
controls order in which set of statements
execute
• Sequence structure: set of statements
that execute in the order they appear
• Decision structure: specific action(s)
performed only if a condition exists
– Also known as selection structure