Page 92 - TrackpadV5.1_class8
P. 92
21 st #Critical Thinking
Century
7. Competency-based/Application-based questions. Skills #Technology Literacy
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 true. 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.
SDG Activity
Create a program to track agricultural production and consumption, calculating yearly
wastage by subtracting consumption from production. The program will loop through
annual data and display the results.
21 st
LAB ACTIVITY Century #Critical thinking
Skills
Visit your computer lab and perform the following actions:
Design a flowchart in MS Word for calculating the area of the rectangle.
Make your flowchart colourful for easy conversion into algorithm and follow some colour convention
like green for input/output and blue for processing box.
21 st
FUN ACTIVITY Century #Critical Thinking
Skills
Write a program to check whether a student has passed or failed.
The conditions for declaring a student as passed or failed are listed
below:
For, percentage >= 40 : Pass
For, percentage < 40 : Fail
FOR THE TEACHER
1. Discuss about some real-life examples of conditional situations to teach the concept of conditions.
2. Explain the concept of loop with some real-life examples.
90 Pro (V5.1)-VIII

