Functions interview questions

18 Functions questions from the Functional Programming 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 First-class functions?

Junior
  1. A.a routine bundled together with references to the surrounding variables it captured from the scope where it was defined
  2. B.the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  3. C.fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones
  4. D.transforming a routine of several arguments into a chain of single-argument routines each returning the next

Answer + AI explanation with Pro

2. Which term means: "the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value"?

Junior
  1. A.Currying
  2. B.First-class functions
  3. C.Higher-order function
  4. D.Partial application

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.First-class functions — fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones
  2. B.First-class functions — the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  3. C.First-class functions — the number of arguments that a given routine accepts
  4. D.First-class functions — a routine bundled together with references to the surrounding variables it captured from the scope where it was defined

Answer + AI explanation with Pro

4. What is Higher-order function?

Junior
  1. A.the number of arguments that a given routine accepts
  2. B.the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  3. C.fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones
  4. D.a routine that takes one or more other routines as arguments or returns one as its result

Answer + AI explanation with Pro

5. Which term means: "a routine that takes one or more other routines as arguments or returns one as its result"?

Junior
  1. A.Higher-order function
  2. B.Partial application
  3. C.Closure
  4. D.Currying

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Higher-order function — transforming a routine of several arguments into a chain of single-argument routines each returning the next
  2. B.Higher-order function — the number of arguments that a given routine accepts
  3. C.Higher-order function — the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  4. D.Higher-order function — a routine that takes one or more other routines as arguments or returns one as its result

Answer + AI explanation with Pro

7. What is Closure?

Mid
  1. A.a routine that takes one or more other routines as arguments or returns one as its result
  2. B.the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  3. C.the number of arguments that a given routine accepts
  4. D.a routine bundled together with references to the surrounding variables it captured from the scope where it was defined

Answer + AI explanation with Pro

8. Which term means: "a routine bundled together with references to the surrounding variables it captured from the scope where it was defined"?

Mid
  1. A.Currying
  2. B.Arity
  3. C.Partial application
  4. D.Closure

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Closure — transforming a routine of several arguments into a chain of single-argument routines each returning the next
  2. B.Closure — the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  3. C.Closure — a routine bundled together with references to the surrounding variables it captured from the scope where it was defined
  4. D.Closure — fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones

Answer + AI explanation with Pro

10. What is Currying?

Mid
  1. A.fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones
  2. B.the number of arguments that a given routine accepts
  3. C.the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  4. D.transforming a routine of several arguments into a chain of single-argument routines each returning the next

Answer + AI explanation with Pro

11. Which term means: "transforming a routine of several arguments into a chain of single-argument routines each returning the next"?

Mid
  1. A.Currying
  2. B.Closure
  3. C.Partial application
  4. D.First-class functions

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Currying — transforming a routine of several arguments into a chain of single-argument routines each returning the next
  2. B.Currying — a routine bundled together with references to the surrounding variables it captured from the scope where it was defined
  3. C.Currying — fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones
  4. D.Currying — the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value

Answer + AI explanation with Pro

13. What is Partial application?

Mid
  1. A.fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones
  2. B.the language property that lets routines be assigned to variables, passed as arguments, and returned as results like any other value
  3. C.a routine bundled together with references to the surrounding variables it captured from the scope where it was defined
  4. D.transforming a routine of several arguments into a chain of single-argument routines each returning the next

Answer + AI explanation with Pro

14. Which term means: "fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones"?

Mid
  1. A.Partial application
  2. B.Closure
  3. C.First-class functions
  4. D.Currying

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Partial application — a routine bundled together with references to the surrounding variables it captured from the scope where it was defined
  2. B.Partial application — fixing some of a routine's arguments in advance to produce a new routine that takes the remaining ones
  3. C.Partial application — the number of arguments that a given routine accepts
  4. D.Partial application — a routine that takes one or more other routines as arguments or returns one as its result

Answer + AI explanation with Pro

16. What is Arity?

Senior
  1. A.the number of arguments that a given routine accepts
  2. B.a routine that takes one or more other routines as arguments or returns one as its result
  3. C.a routine bundled together with references to the surrounding variables it captured from the scope where it was defined
  4. D.transforming a routine of several arguments into a chain of single-argument routines each returning the next

Answer + AI explanation with Pro

17. Which term means: "the number of arguments that a given routine accepts"?

Senior
  1. A.Currying
  2. B.Arity
  3. C.Closure
  4. D.Higher-order function

Answer + AI explanation with Pro

18. Which statement is correct?

Senior
  1. A.Arity — transforming a routine of several arguments into a chain of single-argument routines each returning the next
  2. B.Arity — the number of arguments that a given routine accepts
  3. C.Arity — a routine that takes one or more other routines as arguments or returns one as its result
  4. D.Arity — a routine bundled together with references to the surrounding variables it captured from the scope where it was defined

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