New ! Computer Science MCQ Practise Tests



Lists, Tuples, Sets and Dictionary 1 Mark Creative Question Paper With Answer Key

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:15:00 Hrs
Total Marks : 15

    Multiple Choice Question

    15 x 1 = 15
  1. How many collection of datatypes in python?

    (a)

    3

    (b)

    4

    (c)

    2

    (d)

    5

  2. Which of the following is not datatype in Python?

    (a)

    List

    (b)

    Tuples

    (c)

    String

    (d)

    Set

  3. Which of the following is an ordered collection of values?

    (a)

    Set

    (b)

    Tuples

    (c)

    List

    (d)

    Dictionary

  4. Which of the following datatype enclosed with [ ]?

    (a)

    Tuples

    (b)

    List

    (c)

    Dictionary

    (d)

    Set

  5. In list, the negative index number begin with

    (a)

    0

    (b)

    1

    (c)

    -1

    (d)

    0.1

  6. a = ['A', 2, 3, [4,5,6]] is an example of

    (a)

    Tuple

    (b)

    Set

    (c)

    List

    (d)

    Dictionary

  7. Which of the following can be used to access an element in a list?

    (a)

    Subscript

    (b)

    Function

    (c)

    Integer

    (d)

    Identifier

  8. In li = [10,23,41,75], the negative index value of 41 is

    (a)

    2

    (b)

    -1

    (c)

    -2

    (d)

    -3

  9. If python sets - 1 as the index value for the last element is called

    (a)

    Oppositive indexing

    (b)

    Tuple indexing

    (c)

    Reverse index

    (d)

    List indexing

  10. How many times the following loop executes?
    li = [10,23,41,75]
    i=0
    while i > = -4;
    print (li [i])
    i+ = 1

    (a)

    -4

    (b)

    4

    (c)

    0

    (d)

    Error

  11. Which function is used to set the upper limit in a loop to read all elements of a list?

    (a)

    upper ()

    (b)

    limit

    (c)

    len ()

    (d)

    loop ()

  12. What is the output from the following?
    li = ['T', 'E', 'C', 'M']
    for i in li:
    print (li [1])

    (a)

    T

    (b)

    E

    (c)

    C

    (d)

    M

  13. Which of the following operator can be used to alter the range of elements in the list?

    (a)

    = =

    (b)

    ::

    (c)

    =

  14. Which function is used to add a single element to an existing list?

    (a)

    add ()

    (b)

    extend ()

    (c)

    append ()

    (d)

    addlist ()

  15. Which of the following function is used to add more than one element in an existing list?

    (a)

    append ()

    (b)

    extend ()

    (c)

    more ()

    (d)

    addmore ()

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

Reviews & Comments about 12th Standard Computer Science English Medium - Lists, Tuples, Sets and Dictionary 1 Mark Creative Question Paper and Answer Key 2022 - 2023

Write your Comment