A group of n pirates has a treasure chest and one unique lock and key for each pirate. Using hardware that is probably already lying around their ship, they want to protect the chest so that any single pirate can open the chest using his lock and key. How do they set this up?
What will be an ideal response?
The pirates link their locks together with links of chain and wrap that chain
around the treasure chest (augmenting with a extra links of chain if the chain with the locks
is not long enough). If any pirate opens his lock it breaks the chain and he can open the
chest.
Computer Science & Information Technology
You might also like to view...
_________ layout is the standard page orientation in which the page is taller than it is wide
A) Portrait B) Landscape C) Report D) Normal
Computer Science & Information Technology
In a uniprocessor system with n processes, how many different ways are there to schedule an execution path?
What will be an ideal response?
Computer Science & Information Technology