Page 108 - 2620_Birla Open Mind C-8
P. 108
C. Brain Boost. 21 st #Critical Thinking
Century
Skills #Productivity & Accountability
1. Write the output of the following programs:
a.
Repeat 2 times
{
Enter num
}
If num1 > num2
Then
Print “num1 is greater” Num1 4 7 87 45 22
Else Num2 7 5 34 32 90
Print “num2 is greater”
Print
b.
Repeat 5
{
Read marks
If marks is > 50
Then
Print Pass
Else Marks 45 40 55 49 85
Print Fail
} Result
c. start
Repeat 5 times
(
Put a cross
Move 1 step right
Put a tick
Move 1 step down
)
d. Repeat 5 times start
(
write “8”
Move 1 step left
)
2. Read the program and do as directed.
a.
Repeat 3 times
(
Colour Yellow
Skip One Triangle
) start
106 Premium Edition-VIII

