[prev] 1 [next]

Assignment 2

How robust do I need to make it?
  • assume I won't be giving "nasty" inputs   (e.g. no ???)
  • need to check appropriate number of items in tuples/queries
How do I know it's correct?
  • work out manually what you expect to see
  • run your code with diagnostic output to check
  • e.g. is it generating the correct MA hash?
    • display the individual hashes, CV, MA hash
    • using hashes + CV, compute the expected MA hash
    • compare observed against expected