27/27
Part 7 of 7 · Follow-upsCheck yourself
Check yourself
6 questions
  1. 1.Machine 1 has children [3, 4]. Its handler finishes when the last child in the list, 4, has answered. When does this go wrong?

  2. 2.The network delivers some messages twice. Which way of keeping a machine's answers stays right?

  3. 3.The answer from machine 1 to the root was lost, after 1 had finished. The root's tick asks 1 again. What should 1 do?

  4. 4.Only the root has a timer. The ask from machine 1 to its child 3 is lost. What happens?

  5. 5.Two counts, a and b, run at once. Machine 1 keeps one parent, one dict of answers and one kept answer. What goes wrong?

  6. 6.A tree of 1,000 machines is a single chain. With nothing lost, how many messages does a count send, and how many rounds does it take if each message takes one round?

Now the problem this lesson builds to: 54 Count the machines in a treePractice it