15 Data Types & Structures questions from the Python bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
B.an ordered, immutable sequence whose elements cannot be changed after creation
C.a mapping of unique hashable keys to values, insertion-ordered since version 3.7
D.an unordered collection of unique, hashable elements with no duplicates
Answer + AI explanation with Pro
2. Which term means: "an ordered, immutable sequence whose elements cannot be changed after creation"?
Junior
A.set
B.tuple
C.list
D.frozenset
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.tuple — an ordered, immutable sequence whose elements cannot be changed after creation
B.tuple — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
C.tuple — a mapping of unique hashable keys to values, insertion-ordered since version 3.7
D.tuple — an immutable, hashable version of a set that can itself be used as a dictionary key or set member
Answer + AI explanation with Pro
4. What is list?
Junior
A.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
B.an ordered, immutable sequence whose elements cannot be changed after creation
C.an unordered collection of unique, hashable elements with no duplicates
D.an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
Answer + AI explanation with Pro
5. Which term means: "an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements"?
Junior
A.frozenset
B.tuple
C.dict
D.list
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.list — an immutable, hashable version of a set that can itself be used as a dictionary key or set member
B.list — an unordered collection of unique, hashable elements with no duplicates
C.list — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
D.list — a mapping of unique hashable keys to values, insertion-ordered since version 3.7
Answer + AI explanation with Pro
7. What is set?
Junior
A.a mapping of unique hashable keys to values, insertion-ordered since version 3.7
B.an ordered, immutable sequence whose elements cannot be changed after creation
C.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
D.an unordered collection of unique, hashable elements with no duplicates
Answer + AI explanation with Pro
8. Which term means: "an unordered collection of unique, hashable elements with no duplicates"?
Junior
A.frozenset
B.set
C.dict
D.tuple
Answer + AI explanation with Pro
9. Which statement is correct?
Junior
A.set — an ordered, immutable sequence whose elements cannot be changed after creation
B.set — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
C.set — a mapping of unique hashable keys to values, insertion-ordered since version 3.7
D.set — an unordered collection of unique, hashable elements with no duplicates
Answer + AI explanation with Pro
10. What is dict?
Junior
A.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
B.an unordered collection of unique, hashable elements with no duplicates
C.a mapping of unique hashable keys to values, insertion-ordered since version 3.7
D.an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
Answer + AI explanation with Pro
11. Which term means: "a mapping of unique hashable keys to values, insertion-ordered since version 3.7"?
Junior
A.dict
B.set
C.frozenset
D.list
Answer + AI explanation with Pro
12. Which statement is correct?
Junior
A.dict — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
B.dict — an unordered collection of unique, hashable elements with no duplicates
C.dict — a mapping of unique hashable keys to values, insertion-ordered since version 3.7
D.dict — an immutable, hashable version of a set that can itself be used as a dictionary key or set member
Answer + AI explanation with Pro
13. What is frozenset?
Mid
A.an ordered, immutable sequence whose elements cannot be changed after creation
B.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
C.an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
D.a mapping of unique hashable keys to values, insertion-ordered since version 3.7
Answer + AI explanation with Pro
14. Which term means: "an immutable, hashable version of a set that can itself be used as a dictionary key or set member"?
Mid
A.frozenset
B.list
C.tuple
D.set
Answer + AI explanation with Pro
15. Which statement is correct?
Mid
A.frozenset — an unordered collection of unique, hashable elements with no duplicates
B.frozenset — an immutable, hashable version of a set that can itself be used as a dictionary key or set member
C.frozenset — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
D.frozenset — an ordered, immutable sequence whose elements cannot be changed after creation
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Data Types & Structures question come with Pro.