New ! Computer Science MCQ Practise Tests



Lists, Tuples, Sets and Dictionary Three and Five Marks Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:45:00 Hrs
Total Marks : 40
    5 x 3 = 15
  1. What are the advantages of Tuples over a list?

  2. What will be the output of the following code?
    list = [2**x for x in range(5)]
    print (list)

  3. Explain the difference between del and clear( ) in dictionary with an example.

  4. List out the set operations supported by python.

  5. What are the difference between List and Dictionary?

  6. 5 x 5 = 25
  7. What the different ways to insert an element in a list. Explain with suitable example.

  8. What is the purpose of range( )? Explain with an example.

  9. What is nested tuple? Explain with an example.

  10. Explain the different set operations supported by python with suitable example.

  11. Write a python program to read prices of 5 items in a list and then display sum of all the prices, product of all the prices and find the average.

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

Reviews & Comments about 12th Standard Computer Science - Lists, Tuples, Sets and Dictionary Three and Five Marks Questions

Write your Comment