CBSE Class 12 : Python MCQ For exams

1.
Which of the following is an invalid variable?

(a) my_day_2
(b) 2nd_day
(c)Day_two
(d) _2

2.
Which of the following is not a keyword?

(a) eval
(b) assert
(c) nonlocal
(d) pass

 

3.
Which of the following cannot be a variable?

(a) __init__
(b) in
(c) it
(d) on

 

4.
Which of these is not a core data type?

(a) Lists
(b) Dictionary
(c) Tuples
(d) Class

 

5.
How would you write x to power y in Python as an expression?

(a) x^y
(b) x**y
(c) x^^y
(d) none of these