Python - MCQ
Multiple Choice Questions
Python - Multiple Choice Questions (MCQ) - Introduction & syntax of Python - Set 3
11. Is python programming uses a pair of curly braces {}
A). TRUE
B). FALSE
View Answer
Correct: B
12. Which statement is correct?
A). List is immutable && Tuple is mutable
B). List is mutable && Tuple is immutable
C). Both are Mutable
D). Both are Immutable
View Answer
Correct: B
13. What is the output of the following program: print((1, 2) + (3, 4))
A). (1, 2), (3, 4)
B). (4, 6)
C). (1, 2, 3, 4)
D). Invalid Syntax
View Answer
Correct: C
14. Which one of the following is a mutable data type?
A). set
B). int
C). str
D). tuple
View Answer
Correct: A
15. Which one of the following is an immutable data type?
A). list
B). set
C). int
D). dict
View Answer
Correct: C