Data Types & Structures interview questions

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.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is tuple?

Junior
  1. A.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
  2. B.an ordered, immutable sequence whose elements cannot be changed after creation
  3. C.a mapping of unique hashable keys to values, insertion-ordered since version 3.7
  4. 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
  1. A.set
  2. B.tuple
  3. C.list
  4. D.frozenset

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.tuple — an ordered, immutable sequence whose elements cannot be changed after creation
  2. B.tuple — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
  3. C.tuple — a mapping of unique hashable keys to values, insertion-ordered since version 3.7
  4. 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
  1. A.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
  2. B.an ordered, immutable sequence whose elements cannot be changed after creation
  3. C.an unordered collection of unique, hashable elements with no duplicates
  4. 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
  1. A.frozenset
  2. B.tuple
  3. C.dict
  4. D.list

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.list — an immutable, hashable version of a set that can itself be used as a dictionary key or set member
  2. B.list — an unordered collection of unique, hashable elements with no duplicates
  3. C.list — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
  4. 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
  1. A.a mapping of unique hashable keys to values, insertion-ordered since version 3.7
  2. B.an ordered, immutable sequence whose elements cannot be changed after creation
  3. C.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
  4. 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
  1. A.frozenset
  2. B.set
  3. C.dict
  4. D.tuple

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.set — an ordered, immutable sequence whose elements cannot be changed after creation
  2. B.set — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
  3. C.set — a mapping of unique hashable keys to values, insertion-ordered since version 3.7
  4. D.set — an unordered collection of unique, hashable elements with no duplicates

Answer + AI explanation with Pro

10. What is dict?

Junior
  1. A.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
  2. B.an unordered collection of unique, hashable elements with no duplicates
  3. C.a mapping of unique hashable keys to values, insertion-ordered since version 3.7
  4. 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
  1. A.dict
  2. B.set
  3. C.frozenset
  4. D.list

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.dict — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
  2. B.dict — an unordered collection of unique, hashable elements with no duplicates
  3. C.dict — a mapping of unique hashable keys to values, insertion-ordered since version 3.7
  4. 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
  1. A.an ordered, immutable sequence whose elements cannot be changed after creation
  2. B.an immutable, hashable version of a set that can itself be used as a dictionary key or set member
  3. C.an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
  4. 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
  1. A.frozenset
  2. B.list
  3. C.tuple
  4. D.set

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.frozenset — an unordered collection of unique, hashable elements with no duplicates
  2. B.frozenset — an immutable, hashable version of a set that can itself be used as a dictionary key or set member
  3. C.frozenset — an ordered, mutable sequence that supports in-place insertion, removal, and reordering of elements
  4. 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.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers