Functional interview questions

18 real Functional questions from the Kotlin bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Lambda expression?

Junior
  1. A.a scope function that runs a block on a receiver and returns that same receiver, used for configuration
  2. B.a collection operation producing a new list by applying a function to every element
  3. C.an anonymous function literal written in braces that can be passed around as a value
  4. D.a scope function that performs a side effect on a value and returns the original value unchanged
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Lambda expression — the default name for the lone parameter of a short lambda when no name was declared
  2. B.Lambda expression — a scope function that performs a side effect on a value and returns the original value unchanged
  3. C.Lambda expression — an anonymous function literal written in braces that can be passed around as a value
  4. D.Lambda expression — a collection operation producing a new list of elements that satisfy a predicate
Reveal the answer + AI explanation — free account

4. What is it?

Junior
  1. A.a scope function that performs a side effect on a value and returns the original value unchanged
  2. B.an anonymous function literal written in braces that can be passed around as a value
  3. C.the default name for the lone parameter of a short lambda when no name was declared
  4. D.a collection operation producing a new list by applying a function to every element
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.it — a collection operation producing a new list of elements that satisfy a predicate
  2. B.it — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
  3. C.it — a collection operation producing a new list by applying a function to every element
  4. D.it — the default name for the lone parameter of a short lambda when no name was declared
Reveal the answer + AI explanation — free account

7. What is apply?

Mid
  1. A.a scope function that runs a block on a receiver and returns that same receiver, used for configuration
  2. B.a collection operation producing a new list by applying a function to every element
  3. C.a scope function that performs a side effect on a value and returns the original value unchanged
  4. D.an anonymous function literal written in braces that can be passed around as a value
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.apply — a collection operation producing a new list of elements that satisfy a predicate
  2. B.apply — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
  3. C.apply — an anonymous function literal written in braces that can be passed around as a value
  4. D.apply — a collection operation producing a new list by applying a function to every element
Reveal the answer + AI explanation — free account

10. What is also?

Mid
  1. A.a collection operation producing a new list by applying a function to every element
  2. B.a scope function that performs a side effect on a value and returns the original value unchanged
  3. C.the default name for the lone parameter of a short lambda when no name was declared
  4. D.an anonymous function literal written in braces that can be passed around as a value
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.also — the default name for the lone parameter of a short lambda when no name was declared
  2. B.also — a scope function that performs a side effect on a value and returns the original value unchanged
  3. C.also — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
  4. D.also — a collection operation producing a new list by applying a function to every element
Reveal the answer + AI explanation — free account

13. What is map transform?

Junior
  1. A.a scope function that performs a side effect on a value and returns the original value unchanged
  2. B.an anonymous function literal written in braces that can be passed around as a value
  3. C.a collection operation producing a new list by applying a function to every element
  4. D.the default name for the lone parameter of a short lambda when no name was declared
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Junior
  1. A.map transform — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
  2. B.map transform — a scope function that performs a side effect on a value and returns the original value unchanged
  3. C.map transform — the default name for the lone parameter of a short lambda when no name was declared
  4. D.map transform — a collection operation producing a new list by applying a function to every element
Reveal the answer + AI explanation — free account

16. What is filter operation?

Junior
  1. A.a collection operation producing a new list by applying a function to every element
  2. B.the default name for the lone parameter of a short lambda when no name was declared
  3. C.a scope function that runs a block on a receiver and returns that same receiver, used for configuration
  4. D.a collection operation producing a new list of elements that satisfy a predicate
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Junior
  1. A.filter operation — a collection operation producing a new list of elements that satisfy a predicate
  2. B.filter operation — an anonymous function literal written in braces that can be passed around as a value
  3. C.filter operation — a scope function that performs a side effect on a value and returns the original value unchanged
  4. D.filter operation — a scope function that runs a block on a receiver and returns that same receiver, used for configuration
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Functional free