Page 116 - modular4.0
P. 116

4           WORKSHEET
                                              Chapter Profile


                            (Based on chapters 8 & 9)


                  A.  Guess! Who am I?
                     1.  I am an app store developed by Google.

                     2.  I am a mobile operating system developed by Apple Inc.

                     3.  I am an app created by combining the features of native app and web app.
                     4.  I am an app that allows users to buy and sell products online.

                     5.   I am a category of apps that provides a platform for children to learn from
                         anywhere and anytime.

                     6.  I am a category of apps which allows people to connect with friends and
                         family members.

                  B.  Find the error in the given codes and rewrite the correct codes.

                      1.  i = 0
                      While i < 5:
                      print(i)
                      i += 1

                      if i = 3:
                      break
                      else:
                      print(0)
                      2.  i = 0
                      while i < 3

                      print (i)
                      i += 1
                      else
                      print (0
                  C.   Write a program to print first 20 odd numbers in decreasing order using while loop in
                     Python.




















                114  Modular (Ver. 4.0)-VIII
   111   112   113   114   115   116   117   118   119   120   121