Page 90 - Trackpad_V2.1_class8
P. 90

21 st   #Critical Thinking
                                                                                                Century
                  6.  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   #Critical Thinking
                     LAB ACTIVITY                                                               Century   #Technology Literacy
                                                                                                  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
                                                                                            Century   #Critical Thinking
                                                                                              Skills
                   FUN ACTIVITY


                    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.








                   88   Trackpad (V2.1)-VIII
   85   86   87   88   89   90   91   92   93   94   95