Computer Science I / Integrated Data-Structure Reasoning
Practice question · True or false

If three structures each hold their own copy of which tasks exist, any update must change all three or they disagree.

Hints
  1. What does a partial update leave behind?
  2. Duplicated state has to be kept in step by hand.
Show the answer

True

Why

True. Duplicated state must be updated atomically or it drifts, and a task deleted from one index but not another produces a phantom. The structural fix is a single source of truth with the others holding references into it, so there is nothing to keep in step.

Read the lesson: Integrated Data-Structure Reasoning →

Practise Integrated Data-Structure Reasoning

The app has 5 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Integrated Data-Structure Reasoning