Page 105 - 2403_Trackpad_V5.1_C6_Fb
P. 105

1.  Tick ( ) the correct option.
                    a.  Python can be used for _____________.

                       (i)  Web Development                                  (ii)  Data Analysis
                      (iii)  GUI Application Development                     (iv)  All of these
                    b.  Which function is used to display the content on the screen in Python?

                       (i)  print( )                                         (ii)  scan( )
                      (iii)  display( )                                      (iv)   input()
                    c.  Which of the following allows to save the programs for later use?

                       (i)  Python Shell                                     (ii)  Python's Editor window
                      (iii)  Command Prompt                                  (iv)  All of these
                    d.  Which option is used to execute a program?

                       (i)  Check Module                                     (ii)  Python Shell
                      (iii)  Run Module                                      (iv)  Both (i) & (ii)

                    e.  What does IDLE stand for?
                       (i)  Interactive Development Learning Environment
                       (ii)  Integrated Development Learning Environment

                      (iii)  Integrated Debugging Learning Environment
                      (iv)  None of these

                 2.  Fill in the blanks using the words from the help box.


                                 Interactive Mode, Data type, Guido Van Rossum, input( ), string

                    a.  __________ defines the type of value, a variable can contain.

                    b.  A __________ value is a collection of one or more characters put in single or double-quotes.
                    c.  The __________ function allows to take the user's input while a program is being executed.
                    d.  Python was developed by __________.

                    e.  __________ gives immediate result for each command after pressing the Enter key.

                 3.  Think and answer.
                    a.  What do you mean by Python programming language?

                     ___________________________________________________________________

                     ___________________________________________________________________
                    b.  What is the use of comments in Python?
                     ___________________________________________________________________




                                                                                             Introduction to Python  103
   100   101   102   103   104   105   106   107   108   109   110