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.
A.the convention that the standard factory functions return interfaces without modification methods
B.a lazily evaluated collection that processes elements one at a time through a chain of operations
C.the distinction between a read-only collection interface and one exposing add and remove operations
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
A.Immutable-by-default collections
B.listOf factory
C.List versus MutableList
D.Sequence
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.List versus MutableList — a standard function that builds a fixed read-only collection from the supplied elements
B.List versus MutableList — the distinction between a read-only collection interface and one exposing add and remove operations
C.List versus MutableList — a lazily evaluated collection that processes elements one at a time through a chain of operations
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
A.a lazily evaluated collection that processes elements one at a time through a chain of operations
B.a standard function that builds a fixed read-only collection from the supplied elements
C.the convention that the standard factory functions return interfaces without modification methods
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
A.Immutable-by-default collections
B.Sequence
C.List versus MutableList
D.listOf factory
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.Sequence — a lazily evaluated collection that processes elements one at a time through a chain of operations
B.Sequence — the convention that the standard factory functions return interfaces without modification methods
C.Sequence — a standard function that builds a fixed read-only collection from the supplied elements
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
A.a standard function that builds a fixed read-only collection from the supplied elements
B.the distinction between a read-only collection interface and one exposing add and remove operations
C.the convention that the standard factory functions return interfaces without modification methods
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
A.Immutable-by-default collections
B.listOf factory
C.Sequence
D.List versus MutableList
Answer + AI explanation with Pro
9. Which statement is correct?
Junior
A.Immutable-by-default collections — a standard function that builds a fixed read-only collection from the supplied elements
B.Immutable-by-default collections — the convention that the standard factory functions return interfaces without modification methods
C.Immutable-by-default collections — the distinction between a read-only collection interface and one exposing add and remove operations
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
A.a lazily evaluated collection that processes elements one at a time through a chain of operations
B.a standard function that builds a fixed read-only collection from the supplied elements
C.the convention that the standard factory functions return interfaces without modification methods
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
A.listOf factory
B.List versus MutableList
C.Sequence
D.Immutable-by-default collections
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.listOf factory — a lazily evaluated collection that processes elements one at a time through a chain of operations
B.listOf factory — a standard function that builds a fixed read-only collection from the supplied elements
C.listOf factory — the convention that the standard factory functions return interfaces without modification methods
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.