New ! Computer Science MCQ Practise Tests



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

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 10

     5 Marks 

    2 x 5 = 10
  1. Write the output for the following python code..
    x=10
    x+=20
    print ("The x + = 20 is =",x)
    x-=5
    print ("The x -= 5 is = ",x)
    x*=5
    print ("The x *= 5 is = ",x)
    x/=2
    print ("The x/ = 2 is = ",x)
    x%=3
    print ("The x %= 3 is = ",x)
    x**=2
    print ("The x **= 2 is = ",X)
    x//=3
    print ("The x//= 3 is = ",x)

  2. Explain briefly about Python data types with an example.

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

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

Write your Comment