Page 133 - Trackpad_V2.1_Class6
P. 133

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 operator is used to perform floor division in Python?

                        (i)  /                                      (ii)  //
                       (iii)  %                                     (iv)  **
                    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                                                                       W

                 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 contains.
                    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 is Python and tell one reason why is it popular among programmers?
                     ___________________________________________________________________

                    b.  What are the two basic programming modes in Python, and how do they differ from each other?
                     ___________________________________________________________________

                    c.  What are variables in Python? Mention the rules to follow while naming variables.
                     ___________________________________________________________________



                                                                                             Introduction to Python  131
   128   129   130   131   132   133   134   135   136   137   138