Professional Documents
Culture Documents
M9 - Decomposition
M9 - Decomposition
Logic Algorithm
Prasetyo Wibowo
Politeknik Elektronika Negeri Surabaya
Departement of Informatic and Computer Engineering,
Subject:
1. Fundamental Decomposition
2. Decomposition in Logic
Algorithm
Predefined Process
1. acceptGrade
INPUT length, grade
…
2. printGrade
SET i = 0
IF i < length
…
3. calculateAverage
AVG = SUM / length
…
4. END
Politeknik Elektronika Negeri Surabaya 31
Logic Algorithm
Summary
• Decomposition is an approach that seeks to break a complex problem
down into simpler parts that are easier to deal with.
• Predefined Process symbol is a marker for another process step or
series of process flow steps that are formally defined elsewhere