Page 140 - Computer Science V2.0 Class 11
P. 140

Assertion and Reasoning Based Questions


                     The following questions are Assertion(A) and Reasoning(R) based questions. Mark the correct choice as given below:
                    a.  Both A and R are true and R is the correct explanation of A
                    b.  Both A and R are true and R is not the correct explanation of A
                    c.  A is true but R is false
                    d.  A is false but R is true

                 1.  Assertion(A):  Python is platform-independent.
                    Reasoning(R):  Python can be downloaded and installed free of cost from www.python.org

                 2.  Assertion(A):  In interactive mode, the Python interpreter provides feedback to the user interactively.
                    Reasoning(R):  In the Python shell, the interpreter executes a single command and displays the result.


                     Case-based Questions


                 1.  Ritwika wants to display her name, class, and section using interactive mode as well as  using script mode so that she is able
                    to understand the difference between the two modes. Help her to complete the task by writing the steps to display data in
                    both modes.
                 2.  Krishnan has programmed in several languages other than Python but now he wants to explore Python. His teacher has
                    asked him to create a presentation explaining all features of Python. Help him complete the task.

































                                                             Answers

                Multiple Choice Questions
                1. (c)     2. (b)      3. (d)     4. (a)      5. (b)     6. (d)     7. (a)      8. (c)
                True or False
                1. (T)     2. (F)      3. (T)     4. (F)      5. (T)     6. (T)
                Fill in the blanks
                1. source             2. binary            3. Guido Van Rossum   4. garbage, garbage collection
                5. Interactive, Script   6. print()        7. Alt + P



               126   Touchpad Computer Science (Ver. 2.0)-XI
   135   136   137   138   139   140   141   142   143   144   145