Question: ( 4 ) . After the midterm was graded, your instructor tries to return the exam paper to you during the class meeting. At the
After the midterm was graded, your instructor tries to return the exam paper to you during the class
meeting. At the day, while all enrolled students had taken the exam, only students have attended. The
longest name in the class contains characters. Your instructor was not good at reading the names. So
he had you come up with your ID card to retrieve your exam paper. Unfortunately, the grader forgot to
sort the papers. Therefore, your instructor had to compare the name listed on your ID card with the names
written on each of the exam papers to retrieve yours. Consider a simplified model: your instructor needed
time to recognize a letter and an additional time to compare two letters to verify whether they are
identical or determine their alphabetical order For example, the instructor could spend time to read
the first letter from your ID another time to read the first letter from an exam paper, and time to
decide whether the two letters are identical. Assume that no one is allowed to help the instructor to avoid
unexpected leak of grades Also, assume English alphabet letters and that the letters in the names
are distributed uniformly. Finally, note that your instructor is a human being, who cannot manually
perform complicated sorting algorithms. Devise a strategy to help your instructor distribute
the papers to the attending students as fast as possible.
Describe strategies that can potentially help this case. pts
Analyze how much time does each strategy take in terms of and pts
Make your recommendation based on and pts
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
