Question: Write the step - by - step process for the following tasks. No programming required. The steps must be very clear and unambiguous such that
Write the stepbystep process for the following tasks. No programming required. The steps must
be very clear and unambiguous such that it can be understood and carried out by an elementary
school child.
Searching
Describe the algorithm you use for looking up a persons telephone number in the phone book.
The input is persons name; the output is the corresponding phone number. No program required.
Selection
Describe an algorithm that takes two inputs: a list of n numbers and an integer m m n and
returns the nth smallest element in the list. No program required. For example, suppose you have
list of income for n people. You want to make a list of people with the highest
m income.
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
