Choose one of the scenarios below, and design test cases for it. When done, compare
with the group next to you to see whose test cases are better.
1. A subprogram receives an array numbers representing income for each day of the
year, returning the average income.
2. A dialogue in a program appears, asking the user to enter her 5 digit ID number.
3. A user interface uses the mouse or keys on the keyboard to select from 4 different
options on the screen.
4. A subprogram receives an array of words in ascending alphabetical order along
with a keyword to lookup. The subprogram returns the index of the word in the
array if it is there, or else returns -1.