Collections interview questions

12 Collections questions from the Kotlin 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 List versus MutableList?

Junior
  1. A.the convention that the standard factory functions return interfaces without modification methods
  2. B.a lazily evaluated collection that processes elements one at a time through a chain of operations
  3. C.the distinction between a read-only collection interface and one exposing add and remove operations
  4. D.a standard function that builds a fixed read-only collection from the supplied elements

Answer + AI explanation with Pro

2. Which term means: "the distinction between a read-only collection interface and one exposing add and remove operations"?

Junior
  1. A.Immutable-by-default collections
  2. B.listOf factory
  3. C.List versus MutableList
  4. D.Sequence

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.List versus MutableList — a standard function that builds a fixed read-only collection from the supplied elements
  2. B.List versus MutableList — the distinction between a read-only collection interface and one exposing add and remove operations
  3. C.List versus MutableList — a lazily evaluated collection that processes elements one at a time through a chain of operations
  4. D.List versus MutableList — the convention that the standard factory functions return interfaces without modification methods

Answer + AI explanation with Pro

4. What is Sequence?

Mid
  1. A.a lazily evaluated collection that processes elements one at a time through a chain of operations
  2. B.a standard function that builds a fixed read-only collection from the supplied elements
  3. C.the convention that the standard factory functions return interfaces without modification methods
  4. D.the distinction between a read-only collection interface and one exposing add and remove operations

Answer + AI explanation with Pro

5. Which term means: "a lazily evaluated collection that processes elements one at a time through a chain of operations"?

Mid
  1. A.Immutable-by-default collections
  2. B.Sequence
  3. C.List versus MutableList
  4. D.listOf factory

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Sequence — a lazily evaluated collection that processes elements one at a time through a chain of operations
  2. B.Sequence — the convention that the standard factory functions return interfaces without modification methods
  3. C.Sequence — a standard function that builds a fixed read-only collection from the supplied elements
  4. D.Sequence — the distinction between a read-only collection interface and one exposing add and remove operations

Answer + AI explanation with Pro

7. What is Immutable-by-default collections?

Junior
  1. A.a standard function that builds a fixed read-only collection from the supplied elements
  2. B.the distinction between a read-only collection interface and one exposing add and remove operations
  3. C.the convention that the standard factory functions return interfaces without modification methods
  4. D.a lazily evaluated collection that processes elements one at a time through a chain of operations

Answer + AI explanation with Pro

8. Which term means: "the convention that the standard factory functions return interfaces without modification methods"?

Junior
  1. A.Immutable-by-default collections
  2. B.listOf factory
  3. C.Sequence
  4. D.List versus MutableList

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.Immutable-by-default collections — a standard function that builds a fixed read-only collection from the supplied elements
  2. B.Immutable-by-default collections — the convention that the standard factory functions return interfaces without modification methods
  3. C.Immutable-by-default collections — the distinction between a read-only collection interface and one exposing add and remove operations
  4. D.Immutable-by-default collections — a lazily evaluated collection that processes elements one at a time through a chain of operations

Answer + AI explanation with Pro

10. What is listOf factory?

Mid
  1. A.a lazily evaluated collection that processes elements one at a time through a chain of operations
  2. B.a standard function that builds a fixed read-only collection from the supplied elements
  3. C.the convention that the standard factory functions return interfaces without modification methods
  4. D.the distinction between a read-only collection interface and one exposing add and remove operations

Answer + AI explanation with Pro

11. Which term means: "a standard function that builds a fixed read-only collection from the supplied elements"?

Mid
  1. A.listOf factory
  2. B.List versus MutableList
  3. C.Sequence
  4. D.Immutable-by-default collections

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.listOf factory — a lazily evaluated collection that processes elements one at a time through a chain of operations
  2. B.listOf factory — a standard function that builds a fixed read-only collection from the supplied elements
  3. C.listOf factory — the convention that the standard factory functions return interfaces without modification methods
  4. D.listOf factory — the distinction between a read-only collection interface and one exposing add and remove operations

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 Collections 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