Class 12 : Review Of Python Basics

Home Page class 12 @ Python

Class 12 : Python

Python Basics
Data Types
String
List
Tuple
Dictionary
Flow of Execution
Mutable and Immutable Types
Type Casting

Class 12 : Python Revision MCQs

Revision Tour MCQs

CBSE Class 12 Revision Tour MCQs 11

51.
Which of the following statement is correct?

a. Tuples are mutable.
b. Tuples are immutable.
c. Tuples and lists are same.
d. All of these are correct.

 

52.
What will be the output of following code:
t=(4,5,6)
t1=t*2
print(t1)

a. (4,5,6,4,5,6)
b. (4,4,5,5,6,6)
c. (8,10,12)
d. None of the above

 

53.
What will be the output of :
t=(4,5,6)
del t[1]
print(t)

a. (4,6)
b. ([4,6])
c. [4,6]
d. Error

 

54.
Which of the following operation is supported in python with respect to tuple t?

a. t[1]=33
b. t.append(33)
c. t=t+t
d. t.sum()

 

55.
Which of the following statements prints the output (4,5) (4,5)?

t=(4,5,6)

a. print(t[:-1],t[0:2])
b. print(t[3], t[:-3])
c. print(t[2:3], t[3:2])
d. print(t[0,2], t[2,3])