18 Functional 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.a scope function that runs a block on a receiver and returns that same receiver, used for configuration
B.a collection operation producing a new list by applying a function to every element
C.an anonymous function literal written in braces that can be passed around as a value
D.a scope function that performs a side effect on a value and returns the original value unchanged
Answer + AI explanation with Pro
2. Which term means: "an anonymous function literal written in braces that can be passed around as a value"?
Junior
A.map transform
B.filter operation
C.also
D.Lambda expression
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Lambda expression — the default name for the lone parameter of a short lambda when no name was declared
B.Lambda expression — a scope function that performs a side effect on a value and returns the original value unchanged
C.Lambda expression — an anonymous function literal written in braces that can be passed around as a value
D.Lambda expression — a collection operation producing a new list of elements that satisfy a predicate
Answer + AI explanation with Pro
4. What is it?
Junior
A.a scope function that performs a side effect on a value and returns the original value unchanged
B.an anonymous function literal written in braces that can be passed around as a value
C.the default name for the lone parameter of a short lambda when no name was declared
D.a collection operation producing a new list by applying a function to every element
Answer + AI explanation with Pro
5. Which term means: "the default name for the lone parameter of a short lambda when no name was declared"?
Junior
A.map transform
B.it
C.also
D.apply
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.it — a collection operation producing a new list of elements that satisfy a predicate
B.it — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
C.it — a collection operation producing a new list by applying a function to every element
D.it — the default name for the lone parameter of a short lambda when no name was declared
Answer + AI explanation with Pro
7. What is apply?
Mid
A.a scope function that runs a block on a receiver and returns that same receiver, used for configuration
B.a collection operation producing a new list by applying a function to every element
C.a scope function that performs a side effect on a value and returns the original value unchanged
D.an anonymous function literal written in braces that can be passed around as a value
Answer + AI explanation with Pro
8. Which term means: "a scope function that runs a block on a receiver and returns that same receiver, used for configuration"?
Mid
A.it
B.filter operation
C.Lambda expression
D.apply
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.apply — a collection operation producing a new list of elements that satisfy a predicate
B.apply — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
C.apply — an anonymous function literal written in braces that can be passed around as a value
D.apply — a collection operation producing a new list by applying a function to every element
Answer + AI explanation with Pro
10. What is also?
Mid
A.a collection operation producing a new list by applying a function to every element
B.a scope function that performs a side effect on a value and returns the original value unchanged
C.the default name for the lone parameter of a short lambda when no name was declared
D.an anonymous function literal written in braces that can be passed around as a value
Answer + AI explanation with Pro
11. Which term means: "a scope function that performs a side effect on a value and returns the original value unchanged"?
Mid
A.also
B.apply
C.filter operation
D.Lambda expression
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.also — the default name for the lone parameter of a short lambda when no name was declared
B.also — a scope function that performs a side effect on a value and returns the original value unchanged
C.also — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
D.also — a collection operation producing a new list by applying a function to every element
Answer + AI explanation with Pro
13. What is map transform?
Junior
A.a scope function that performs a side effect on a value and returns the original value unchanged
B.an anonymous function literal written in braces that can be passed around as a value
C.a collection operation producing a new list by applying a function to every element
D.the default name for the lone parameter of a short lambda when no name was declared
Answer + AI explanation with Pro
14. Which term means: "a collection operation producing a new list by applying a function to every element"?
Junior
A.also
B.map transform
C.Lambda expression
D.filter operation
Answer + AI explanation with Pro
15. Which statement is correct?
Junior
A.map transform — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
B.map transform — a scope function that performs a side effect on a value and returns the original value unchanged
C.map transform — the default name for the lone parameter of a short lambda when no name was declared
D.map transform — a collection operation producing a new list by applying a function to every element
Answer + AI explanation with Pro
16. What is filter operation?
Junior
A.a collection operation producing a new list by applying a function to every element
B.the default name for the lone parameter of a short lambda when no name was declared
C.a scope function that runs a block on a receiver and returns that same receiver, used for configuration
D.a collection operation producing a new list of elements that satisfy a predicate
Answer + AI explanation with Pro
17. Which term means: "a collection operation producing a new list of elements that satisfy a predicate"?
Junior
A.Lambda expression
B.it
C.filter operation
D.also
Answer + AI explanation with Pro
18. Which statement is correct?
Junior
A.filter operation — a collection operation producing a new list of elements that satisfy a predicate
B.filter operation — an anonymous function literal written in braces that can be passed around as a value
C.filter operation — a scope function that performs a side effect on a value and returns the original value unchanged
D.filter operation — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
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 Functional question come with Pro.