State & Data Flow interview questions

18 State & Data Flow questions from the React 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 Unidirectional data flow?

Mid
  1. A.a bug where a callback or effect captures an outdated value due to a missing dependency
  2. B.state computed from props or other state during render rather than stored separately
  3. C.data flows down through props while events flow up through callbacks
  4. D.a way to share values across the component tree without passing props at every level

Answer + AI explanation with Pro

2. Which term means: "data flows down through props while events flow up through callbacks"?

Mid
  1. A.Unidirectional data flow
  2. B.Prop drilling
  3. C.Stale closure
  4. D.Update batching

Answer + AI explanation with Pro

3. Which statement is correct?

Mid
  1. A.Unidirectional data flow — state computed from props or other state during render rather than stored separately
  2. B.Unidirectional data flow — a bug where a callback or effect captures an outdated value due to a missing dependency
  3. C.Unidirectional data flow — data flows down through props while events flow up through callbacks
  4. D.Unidirectional data flow — passing props through many intermediate components that don't themselves use them

Answer + AI explanation with Pro

4. What is Prop drilling?

Mid
  1. A.state computed from props or other state during render rather than stored separately
  2. B.passing props through many intermediate components that don't themselves use them
  3. C.data flows down through props while events flow up through callbacks
  4. D.a way to share values across the component tree without passing props at every level

Answer + AI explanation with Pro

5. Which term means: "passing props through many intermediate components that don't themselves use them"?

Mid
  1. A.Update batching
  2. B.Context API
  3. C.Prop drilling
  4. D.Derived state

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Prop drilling — data flows down through props while events flow up through callbacks
  2. B.Prop drilling — a way to share values across the component tree without passing props at every level
  3. C.Prop drilling — a bug where a callback or effect captures an outdated value due to a missing dependency
  4. D.Prop drilling — passing props through many intermediate components that don't themselves use them

Answer + AI explanation with Pro

7. What is Context API?

Mid
  1. A.passing props through many intermediate components that don't themselves use them
  2. B.state computed from props or other state during render rather than stored separately
  3. C.data flows down through props while events flow up through callbacks
  4. D.a way to share values across the component tree without passing props at every level

Answer + AI explanation with Pro

8. Which term means: "a way to share values across the component tree without passing props at every level"?

Mid
  1. A.Stale closure
  2. B.Prop drilling
  3. C.Context API
  4. D.Derived state

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Context API — React grouping multiple state updates within an event into a single re-render
  2. B.Context API — state computed from props or other state during render rather than stored separately
  3. C.Context API — a way to share values across the component tree without passing props at every level
  4. D.Context API — a bug where a callback or effect captures an outdated value due to a missing dependency

Answer + AI explanation with Pro

10. What is Derived state?

Senior
  1. A.React grouping multiple state updates within an event into a single re-render
  2. B.data flows down through props while events flow up through callbacks
  3. C.state computed from props or other state during render rather than stored separately
  4. D.passing props through many intermediate components that don't themselves use them

Answer + AI explanation with Pro

11. Which term means: "state computed from props or other state during render rather than stored separately"?

Senior
  1. A.Update batching
  2. B.Derived state
  3. C.Stale closure
  4. D.Context API

Answer + AI explanation with Pro

12. Which statement is correct?

Senior
  1. A.Derived state — data flows down through props while events flow up through callbacks
  2. B.Derived state — passing props through many intermediate components that don't themselves use them
  3. C.Derived state — a way to share values across the component tree without passing props at every level
  4. D.Derived state — state computed from props or other state during render rather than stored separately

Answer + AI explanation with Pro

13. What is Update batching?

Senior
  1. A.data flows down through props while events flow up through callbacks
  2. B.React grouping multiple state updates within an event into a single re-render
  3. C.state computed from props or other state during render rather than stored separately
  4. D.a way to share values across the component tree without passing props at every level

Answer + AI explanation with Pro

14. Which term means: "React grouping multiple state updates within an event into a single re-render"?

Senior
  1. A.Update batching
  2. B.Context API
  3. C.Prop drilling
  4. D.Derived state

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.Update batching — a bug where a callback or effect captures an outdated value due to a missing dependency
  2. B.Update batching — passing props through many intermediate components that don't themselves use them
  3. C.Update batching — React grouping multiple state updates within an event into a single re-render
  4. D.Update batching — state computed from props or other state during render rather than stored separately

Answer + AI explanation with Pro

16. What is Stale closure?

Senior
  1. A.passing props through many intermediate components that don't themselves use them
  2. B.React grouping multiple state updates within an event into a single re-render
  3. C.data flows down through props while events flow up through callbacks
  4. D.a bug where a callback or effect captures an outdated value due to a missing dependency

Answer + AI explanation with Pro

17. Which term means: "a bug where a callback or effect captures an outdated value due to a missing dependency"?

Senior
  1. A.Stale closure
  2. B.Context API
  3. C.Derived state
  4. D.Prop drilling

Answer + AI explanation with Pro

18. Which statement is correct?

Senior
  1. A.Stale closure — state computed from props or other state during render rather than stored separately
  2. B.Stale closure — a bug where a callback or effect captures an outdated value due to a missing dependency
  3. C.Stale closure — React grouping multiple state updates within an event into a single re-render
  4. D.Stale closure — passing props through many intermediate components that don't themselves use them

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 State & Data Flow 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