Page 130 - Code_GPT_Class_8
P. 130

PERIODIC ASSESSMENT 3                                          (Based on chapters 6 to 8)








              A.  Write the program to paint the boxes to make letter (L).
                    Start
















              B.   The given flowchart is of For statement. There are some errors in it. Find those errors and rectify
                 them and complete the chart.

                                                                    for each
                                                                    item in
                                                                   sequence
                                                 Exit loop   Last item    False
                                                             reached?


                                                                  True
                                                         Execute the if block














              C.  Define the following terms:

                 1.  len():

                 2.  lower():

                 3.  capitalize():

                 4.  Arguments:

                 5.  Return Value:





                        CodeGPT (Ver. 4.0)-VIII
                128
   125   126   127   128   129   130   131   132   133   134   135