Page 22 - CloudGPT_C7_Flipbook
P. 22
Critical Thinking
Example 2: Draw a flowchart to print 'Above average marks' if
the average marks in the three subjects are greater than 60 and
'Below average marks' if the average marks are less than or equal
to 60. (Refer Example 2 for algorithm)
Solution:
Start
Read a, b, c
S = a + b + c
A = S/3
Yes
If
A> 60 Print 'Above average marks'
No
Print 'Below average marks'
End
Coding uiz 02
Subject Enrichment
Fill in the blanks.
a. A ............................ is a graphical representation of step-by-step plan in a sequential
order to represent the flow of algorithm.
b. ............................ symbol of flowchart represents start/end of a process.
PSEUDOCODE
Pseudocode is used to describe the steps of an algorithm in a human-understandable language.
It has no syntax and can be easily understood by a layman. So, pseudocode is an informal way
of writing programs in which there is no need to think about semi-colons, curly brackets.
20 Premium Edition-VII

