Hunting Elephants, Comp Sci Style

Computer scientists hunt elephants using algorithm A:

  1. Go to Africa
  2. Start at the Cape of Good Hope
  3. Work northward in an orderly manner, traversing the continent alternately East and West.
  4. During each traverse
  • a. Catch each animal seen
  • b. Compare each animal caught to a known elephant
  • c. Stop when a match is detected.

Experienced computer programmers modify Algorithm A by placing a known elephant in Cairo to ensure that the algorithm will terminate.

0 points
0

Comments 0

No comments yet. Be the first!

Delete this comment? This can't be undone.