New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 1 Mark Questions with Solution Part - I

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. Which of the following is not datatype in Python?

    (a)

    List

    (b)

    Tuples

    (c)

    String

    (d)

    Set

  2. 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

  3. What is the output of the snippet?
    >>>Mylist = [34,45,48]
    >>>Mylist.append (90)
    >>>print(Mylist)

    (a)

    34,45,48,90

    (b)

    90,34,45,48

    (c)

    34,45,90,84

    (d)

    34,45,90,48

  4. Which of the following function used to delete one or more elements in the list where the index value is not known

    (a)

    del ()

    (b)

    remove ()

    (c)

    delete ()

    (d)

    delmore ()

  5. While creating a tuple from a list, the element should be enclosed with in

    (a)

    [ ]

    (b)

    ( )

    (c)

    { }

    (d)

    [( )]

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

Reviews & Comments about 12th Standard English Medium Computer Science Subject Lists, Tuples, Sets and Dictionary Creative 1 Mark Questions with Solution Part - I

Write your Comment