Page 97 - Plus V4 with Adobe class 8
P. 97
b. start
Repeat 6 times
(
Put a cross
Move 1 right
Move 1 down
)
3. Competency-based/Application-based questions:
a. Lokesh has created a program in which he has written blocks of code multiple times to cover the path
ten times if a given condition is right. What can he use to reduce the lines of code in his program?
b. Your sister Vidhya wants to display “Yes” or “No” for a year to be both a leap year and a century
year. But she is unable to do so. Write the program for her.
21 st
DIY In The Lab Century #Critical Thinking
Skills
To
Subject Programming
Write a program to print all the numbers from 1 to 50 that are divisible by the numbers 5 and 10. Also
include first and the last number in calculation.
For The Teacher
Discuss about some real-life examples of conditional situations to teach the concept of conditions.
Explain the concept of loop with some real-life examples.
#Algorithmic Intelligence 95

