Page 4 - IPP-11
P. 4

SAMPLE PAPER–I

                                         Class-XI Informatics Practices (065)

              Time: 3 hours                                                                    Max. Marks: 70
              QUESTION 1

                (a)  What is the importance of cache memory in a Computer System?                          (2)
               Ans.  The cache memory acts as a buffer between the slower RAM and the faster CPU. It stores the frequently
                   used data/instructions to be used by the CPU.
                (b)  What are keywords in Python?                                                          (1)
               Ans.  Keywords are reserved words by python interpreter that cannot be used as variables.
                (c)  Which of the following are legitimate variable declarations:                          (2)
                    (i)  My.var
                   (ii)  _GLOBAL
                   (iii)  for
                   (iv)  While
               Ans.  (ii)   _GLOBAL
                  (iv)  While
                (d)  What will be the output of the following program?                                     (2)
                   a, b, c = 10, 20, 30
                   a, b ,a = c+2, a+5, c+3
                   print(a, b)
               Ans.  33 15
                (e)  Write a program to find simple interest using principal, rate and time.               (3)
                    Accept data from user.
                    si = PxRxT/100
               Ans.  principal=float(input("Enter the principal amount:"))
                   time=int(input("Enter the time(years):"))
                   rate=float(input("Enter the rate:"))
                   simple_interest=(principal*time*rate)/100
                   print("The simple interest is:",simple_interest)

              QUESTION 2
                (a)  What will be the output of the following Python code?                                 (2)
                   a, b = 10, 50
                   if b % a == 0:
                     print(b//4)
                     print(a/2)
                   else:
                     print(a**2)
                     print(b%3)
               Ans.  12
                   5.0







                                                               1
   1   2   3   4   5   6   7   8   9