Page 137 - Computer Genius Class 08
P. 137

Periodic Assessment 4



                                                   (Based on chapters 9  to 11)





                 A. Write the AI related problems in the following:
                    1. Contact Lists:



                    2. Locations:



                    3. E-mails:



                 B.  Complete the given flowchart of data types in Python:

                                                          Python Data Types




                                                 Dictionary                  Set       Sequence Type




                         Integer                 Complex No.                  Strings                   Tuple


                 C. Find the error in the given syntax of if-elif-else statement and write the correct one.

                    if (Condition)
                         Statement 1

                         Statement 2
                    elif (Condition 2):
                         Statement 3

                         Statement 4
                    else (Condition 3):

                         Statement 5
                         Statement 6
                    else:

                         Statement 7
                         Statement 8










                                                                                      Periodic Assessment 4   135
   132   133   134   135   136   137   138   139   140   141   142