Core Principles interview questions

18 Core Principles 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 Pure function?

Junior
  1. A.a routine whose output depends only on its arguments and which causes no observable side effects
  2. B.the property that an expression can be replaced by its resulting value without changing the program's behavior
  3. C.the practice of never changing a value after it is created, producing new values instead of altering existing ones
  4. D.a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it

Answer + AI explanation with Pro

2. Which term means: "a routine whose output depends only on its arguments and which causes no observable side effects"?

Junior
  1. A.Declarative style
  2. B.Referential transparency
  3. C.Side effect
  4. D.Pure function

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Pure function — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value
  2. B.Pure function — a way of programming that specifies an explicit sequence of statements that change program state to reach a result
  3. C.Pure function — a routine whose output depends only on its arguments and which causes no observable side effects
  4. D.Pure function — the practice of never changing a value after it is created, producing new values instead of altering existing ones

Answer + AI explanation with Pro

4. What is Side effect?

Junior
  1. A.a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it
  2. B.any interaction with the outside world or mutation of external state that a computation performs beyond returning a value
  3. C.a routine whose output depends only on its arguments and which causes no observable side effects
  4. D.the practice of never changing a value after it is created, producing new values instead of altering existing ones

Answer + AI explanation with Pro

5. Which term means: "any interaction with the outside world or mutation of external state that a computation performs beyond returning a value"?

Junior
  1. A.Declarative style
  2. B.Imperative style
  3. C.Referential transparency
  4. D.Side effect

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Side effect — a way of programming that specifies an explicit sequence of statements that change program state to reach a result
  2. B.Side effect — a routine whose output depends only on its arguments and which causes no observable side effects
  3. C.Side effect — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it
  4. D.Side effect — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value

Answer + AI explanation with Pro

7. What is Referential transparency?

Mid
  1. A.the property that an expression can be replaced by its resulting value without changing the program's behavior
  2. B.a way of programming that specifies an explicit sequence of statements that change program state to reach a result
  3. C.a routine whose output depends only on its arguments and which causes no observable side effects
  4. D.a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it

Answer + AI explanation with Pro

8. Which term means: "the property that an expression can be replaced by its resulting value without changing the program's behavior"?

Mid
  1. A.Pure function
  2. B.Declarative style
  3. C.Referential transparency
  4. D.Side effect

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Referential transparency — a routine whose output depends only on its arguments and which causes no observable side effects
  2. B.Referential transparency — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it
  3. C.Referential transparency — the practice of never changing a value after it is created, producing new values instead of altering existing ones
  4. D.Referential transparency — the property that an expression can be replaced by its resulting value without changing the program's behavior

Answer + AI explanation with Pro

10. What is Immutability?

Junior
  1. A.a routine whose output depends only on its arguments and which causes no observable side effects
  2. B.a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it
  3. C.any interaction with the outside world or mutation of external state that a computation performs beyond returning a value
  4. D.the practice of never changing a value after it is created, producing new values instead of altering existing ones

Answer + AI explanation with Pro

11. Which term means: "the practice of never changing a value after it is created, producing new values instead of altering existing ones"?

Junior
  1. A.Immutability
  2. B.Pure function
  3. C.Declarative style
  4. D.Referential transparency

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.Immutability — the practice of never changing a value after it is created, producing new values instead of altering existing ones
  2. B.Immutability — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value
  3. C.Immutability — a way of programming that specifies an explicit sequence of statements that change program state to reach a result
  4. D.Immutability — the property that an expression can be replaced by its resulting value without changing the program's behavior

Answer + AI explanation with Pro

13. What is Declarative style?

Mid
  1. A.any interaction with the outside world or mutation of external state that a computation performs beyond returning a value
  2. B.a routine whose output depends only on its arguments and which causes no observable side effects
  3. C.a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it
  4. D.the practice of never changing a value after it is created, producing new values instead of altering existing ones

Answer + AI explanation with Pro

14. Which term means: "a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it"?

Mid
  1. A.Pure function
  2. B.Referential transparency
  3. C.Side effect
  4. D.Declarative style

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Declarative style — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it
  2. B.Declarative style — the property that an expression can be replaced by its resulting value without changing the program's behavior
  3. C.Declarative style — a routine whose output depends only on its arguments and which causes no observable side effects
  4. D.Declarative style — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value

Answer + AI explanation with Pro

16. What is Imperative style?

Mid
  1. A.the property that an expression can be replaced by its resulting value without changing the program's behavior
  2. B.a way of programming that specifies an explicit sequence of statements that change program state to reach a result
  3. C.a routine whose output depends only on its arguments and which causes no observable side effects
  4. D.a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it

Answer + AI explanation with Pro

17. Which term means: "a way of programming that specifies an explicit sequence of statements that change program state to reach a result"?

Mid
  1. A.Imperative style
  2. B.Declarative style
  3. C.Side effect
  4. D.Referential transparency

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.Imperative style — the practice of never changing a value after it is created, producing new values instead of altering existing ones
  2. B.Imperative style — a way of programming that specifies an explicit sequence of statements that change program state to reach a result
  3. C.Imperative style — any interaction with the outside world or mutation of external state that a computation performs beyond returning a value
  4. D.Imperative style — a way of programming that describes what result is wanted rather than the step-by-step instructions to compute it

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 Core Principles 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