Page 38 - 2501_KVS_C-8
P. 38

Exercise





                           Something to know

                    A.    Answer the following questions:

                          1.    What do you mean by a keyword?
                                ________________________________________________________
                          2.    What is a variable? Why is it needed in a program?
                                ________________________________________________________

                          3.    Write the use of a flowchart.
                                ________________________________________________________

                          4.    What is a data type and what is its importance in programming?
                                ________________________________________________________
                          5.    What is the meaning of sequential programming?

                                ________________________________________________________

                    B.    Fill in the blanks.
                          1.     ____________ is reserved word in python like in, for, if, etc. whose function is
                                fixed and cannot be changed.
                          2.      “>” is a type of ____________ operator.

                          3.    ____________ is the series of the steps of the solution of a problem or a program.
                          4.    “%” is a type of ____________ operator.
                          5.     ____________  is  the  pictorial  representation  of  the  flow  of  execution  of
                                statements of a program.

                    C.    Match the following:

                           1. /                           a) Keyword
                           2. //                          b) Division operator
                           3. if                          c) Floor Division operator
                           4. %                           d) Relational operator
                           5. ==                          e) Modulus operator

                    D.    Predict/Select the correct OPTION/OUTPUT for each question.

                          1.    (100//3):

                                 A.   33.3                                  C.   33
                                 B.   33.0                                  D.   None

                          2.    (100%3):

                                 A.   1                                    C.   3
                                 B.   2                                    D.   4



                36                         KVS DELHI REGION 2025
   33   34   35   36   37   38   39   40   41   42   43