361x Filetype PDF File size 0.96 MB Source: people.utm.my
The Concept of Control Structure
In Programming
SEKOLAH PENDIDIKAN,
FAKULTI SAINS SOSIAL DAN KEMUANUSIAAN, UTM 2020
Learning Objectives
At the end of this lesson, students should know :
Structured Programming ;
Linear Structure.
Selection Structure :
Single selection
Double selection
Multi selection
Nested selection (pilihan bersarang)
Looping Structure
2
Structured Programming
+ Why Structured Programming?
= Make a programming easy to understand
Also known as Logic Structure in programming
Structured programming is based on 3 basic controlling :
• Linear Structure.
• Selection Structure.
• Looping Structure.
This structure is top-down design
Advantages - simple & easy to understand
3
Structured Programming
Linear Structure.
Give the situation
That based on this
flowchart
4
no reviews yet
Please Login to review.