Python Tuple MCQ - Quiz

  • A['P', 'y', 't', 'h', 'o', 'n']
  • B('P', 'y', 't', 'h', 'o', 'n')
  • C none of the above
  • DError
  • A ('1', '2', '3', '4', '5', 'tuple')
  • BError
  • C('1', '2', '3', '4', '5', 't', 'u', 'p', 'l', 'e')
  • DNone of the above
  • ATypeError
  • BNameError
  • CNone of the above
  • DValueError
  • AConcatenation
  • BSlicing
  • CRepetition
  • DAll of the above
  • A6 88 99 RummanRumman 11
  • B6 88 99 Rumman 11
  • C6 88 99 Rumman 11 Rumman
  • D6 88 Rumman 99 Rumman 11
  • A(30, 40, 50) (10, 20, 30, 40) (40, 50, 60, 70, 80)
  • B(20, 30, 40, 50) (10, 20, 30, 40) (30, 40, 50, 60, 70, 80)
  • AA tuple maintains the order of items
  • BWe cannot change the tuple once created
  • CA tuple is unordered
  • DBoth A and B