Page 148 - TP_Plus_v4_Class7
P. 148

PERIODIC ASSESSMENT 4                                         (Based on chapters 9 to 11)








              A.  Write the output of the following Python program:

                  student_marks = 90
                  passing_marks = 50

                  if(student_marks >= passing_marks):

                          print("Congratulations!!!")
                          print("You have passed the exam")

                  else:

                        print("Failed")
              B.  Write the syntax for if…elif…else statement.















              C.  Color the boxes as per the program.

                   If (box has )                                 
                   then
                                                                      
                   colour it red
                   else                                                   
                   colour it yellow


              D.  Write the names of the following smart devices:













                    1.                                  2.                                3.







                  146  Plus (Ver. 4.0)-VII
   143   144   145   146   147   148   149   150   151   152   153