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.
A.a bug where a callback or effect captures an outdated value due to a missing dependency
B.state computed from props or other state during render rather than stored separately
C.data flows down through props while events flow up through callbacks
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
A.Unidirectional data flow
B.Prop drilling
C.Stale closure
D.Update batching
Answer + AI explanation with Pro
3. Which statement is correct?
Mid
A.Unidirectional data flow — state computed from props or other state during render rather than stored separately
B.Unidirectional data flow — a bug where a callback or effect captures an outdated value due to a missing dependency
C.Unidirectional data flow — data flows down through props while events flow up through callbacks
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
A.state computed from props or other state during render rather than stored separately
B.passing props through many intermediate components that don't themselves use them
C.data flows down through props while events flow up through callbacks
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
A.Update batching
B.Context API
C.Prop drilling
D.Derived state
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.Prop drilling — data flows down through props while events flow up through callbacks
B.Prop drilling — a way to share values across the component tree without passing props at every level
C.Prop drilling — a bug where a callback or effect captures an outdated value due to a missing dependency
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
A.passing props through many intermediate components that don't themselves use them
B.state computed from props or other state during render rather than stored separately
C.data flows down through props while events flow up through callbacks
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
A.Stale closure
B.Prop drilling
C.Context API
D.Derived state
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Context API — React grouping multiple state updates within an event into a single re-render
B.Context API — state computed from props or other state during render rather than stored separately
C.Context API — a way to share values across the component tree without passing props at every level
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
A.React grouping multiple state updates within an event into a single re-render
B.data flows down through props while events flow up through callbacks
C.state computed from props or other state during render rather than stored separately
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
A.Update batching
B.Derived state
C.Stale closure
D.Context API
Answer + AI explanation with Pro
12. Which statement is correct?
Senior
A.Derived state — data flows down through props while events flow up through callbacks
B.Derived state — passing props through many intermediate components that don't themselves use them
C.Derived state — a way to share values across the component tree without passing props at every level
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
A.data flows down through props while events flow up through callbacks
B.React grouping multiple state updates within an event into a single re-render
C.state computed from props or other state during render rather than stored separately
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
A.Update batching
B.Context API
C.Prop drilling
D.Derived state
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.Update batching — a bug where a callback or effect captures an outdated value due to a missing dependency
B.Update batching — passing props through many intermediate components that don't themselves use them
C.Update batching — React grouping multiple state updates within an event into a single re-render
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
A.passing props through many intermediate components that don't themselves use them
B.React grouping multiple state updates within an event into a single re-render
C.data flows down through props while events flow up through callbacks
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
A.Stale closure
B.Context API
C.Derived state
D.Prop drilling
Answer + AI explanation with Pro
18. Which statement is correct?
Senior
A.Stale closure — state computed from props or other state during render rather than stored separately
B.Stale closure — a bug where a callback or effect captures an outdated value due to a missing dependency
C.Stale closure — React grouping multiple state updates within an event into a single re-render
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.