New ! Computer Science MCQ Practise Tests



Python - Variables and Operators 3 Mark Creative Question Paper With Answer Key

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:30:00 Hrs
Total Marks : 45

    3 Marks

    15 x 3 = 45
  1. Write the key features of Python.

  2. Differentiate two ways in which Python programs can be written.

  3. Write the function of the following
    (i) Ctrl + N
    (ii) Ctrl + S
    (iii) F5

  4. Fill in the blanks.
    >>> city = \(\overset { (1) }{ \_ \_ \_ \_ \_ } \) ("Enter your City")
    Enter your city \(\overset { (2) }{ \_ \_ \_ \_ \_ } \)
    >>> print ("I am from", \(\overset { (3) }{ \_ \_ \_ \_ \_ } \))
    I am from Chennai

  5. Fill up the blanks to get the following output from Python code given.
    Output:
    Enter Number 1: 34
    Enter Number 2: 70
    The Sum = 104
    Code:
    X = \(\overset { (1) }{ \_ \_ \_ \_ \_ } \) (input ("Enter Number 1:"))
    Y = \(\overset { (2) }{ \_ \_ \_ \_ \_ } \) (\(\overset { (3) }{ \_ \_ \_ \_ \_ } \) ("Enter Number 2 :"))
    \(\overset { (4) }{ \_ \_ \_ \_ \_ } \) ("The sum =", \(\overset { (5) }{ \_ \_ \_ \_ \_ } \))

  6. Why the following statement not accept the data as numbers? Give reason and also state what function is used to accept the number.

  7. Write a Python programme to get the following output.
    Output:
    Enter Number 1: 50
    Enter Number 2: 50
    X = 50 Y = 50

  8. Write a Python program to get the following output.
    Output:
    Enter Number 1: 50
    Enter Number 2: 50
    The sum of 50 and 50 is 100

  9. Write a short note on comment statement.

  10. Write a note on statement which are ignored by the Python interpreter.

  11. How will you define program blocks in python?

  12. What are the rules followed while defining python identifier?

  13. Fill in the blanks.
    (i) _____ statements are ignored by Python interpreter.
    (ii) The value of an operator used is called _______
    (iii) 100/30 = ______

  14. Assume a = 1000 b = 10, Evaluate the following expression.
    (i) a%30
    (ii) a/b
    (iii) b**2
    (iv) b//3

  15. Identify the type of literals.
    (i) OX13B
    (ii) i+34j
    (iii) 12e05
    (iv) 0346

*****************************************

Reviews & Comments about 12th Standard Computer Science English Medium - Python - Variables and Operators 3 Mark Creative Question Paper and Answer Key 2022 - 2023

Write your Comment