Page 130 - Computer - 5
P. 130
Start
Count = 1
A
Read Name of
student & marks in 5 subjects
M1, M2, M3, M4, M5
Sum = M1 + M2 + M3 + M4 + M5
Average = Sum/5
Count = Count + 1
Is Yes Print
Average > 80? Name of student
No
Is
A No Count > 40?
Yes
Stop
Try This Computational Skills
Draw a flowchart to accept a number representing a day of the week and to display the
name of the weekday. Take 1 for Monday, 2 for Tuesday, and so on with 7 for Sunday.
Writing algorithms and drawing flowcharts lets a programmer understand the logic
and flow needed in a program. The initial algorithm and flowchart are tried for any
mistakes and revised if any errors in the solution occur.
Database Subject Enrichment
Algorithms and flowcharts are used to represent the solution of a problem during its
conceptual stage. Once the solution is perfect, the program is written using a desired
programming language.
128