1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Igoryamba
3 years ago
9

Describe the algorithm you use for looking up a person’s telephone number in the phone book. The input is person’s name; the out

put is the corresponding phone number. No program required.
Explain please
Engineering
2 answers:
Stella [2.4K]3 years ago
7 0

Answer:

The Algorithm for finding a number from a phone book with the person's name as the input and the phone number as output is as follows:

1. Try to remember the name, i.e last name first and first name last, Also make sure you get the spelling right.

2. Using the first letter of the last name, locate the appropriate alphabetical section in which the name should appear.

3. Using the second letter of the last name, find the subsection of first and second letters combined, in the appropriate order, in which the name should appear. (If the last name consists of only two letters, find the appropriate first name.)

4. Using the third letter, find the possible names in a subsection of the first three letters in the correct order. Continue this step with x+1 letters of the name until you have a subsection of names exactly matching the last name of the person whose number you are trying to locate. (x is the number of letters used in the previous step, consistently.) If there is only one of the last name, (check for duplicates) identify the number, and return phone number information.

5. Begin the second step using the first letter of the first name, but limit the section to only those exactly matching the last name. Continue to step 4, again focusing on the first name only within the set of exactly matching last names.

6. When both first and last name match the name you are locating, check for duplicates. IF there are no duplicates, return phone number information.

Explanation:

People's names are generally arranged in phone books in alphabetical order by the last name of the person. The first name of the person is listed after the last name so that people of the same last name can be differentiated.

Svetllana [295]3 years ago
3 0

Answer:

Answer:

The Algorithm for finding a number from a phone book with the person's name as the input and the phone number as output is as follows:

1. Try to remember the name, i.e last name first and first name last, Also make sure you get the spelling right.

2. Using the first letter of the last name, locate the appropriate alphabetical section in which the name should appear.

3. Using the second letter of the last name, find the subsection of first and second letters combined, in the appropriate order, in which the name should appear. (If the last name consists of only two letters, find the appropriate first name.)

4. Using the third letter, find the possible names in a subsection of the first three letters in the correct order. Continue this step with x+1 letters of the name until you have a subsection of names exactly matching the last name of the person whose number you are trying to locate. (x is the number of letters used in the previous step, consistently.) If there is only one of the last name, (check for duplicates) identify the number, and return phone number information.

5. Begin the second step using the first letter of the first name, but limit the section to only those exactly matching the last name. Continue to step 4, again focusing on the first name only within the set of exactly matching last names.

6. When both first and last name match the name you are locating, check for duplicates. IF there are no duplicates, return phone number information.

Explanation:

People's names are generally arranged in phone books in alphabetical order by the last name of the person. The first name of the person is listed after the last name so that people of the same last name can be differentiated.

Explanation:

You might be interested in
What is differentiation​
oksian1 [2.3K]

Answer:

the action or process of differentiating or distinguishing between two or more things or people.

7 0
2 years ago
A pumping test was made in pervious gravels and sands extending to a depth of 50 ft. ,where a bed of clay was encountered. The n
Vikki [24]

Answer:per minute from the pumping well, a steady state was attained in about 24 hr. The draw-down at a distance of 10 ft. was 5.5 ft. and at 25 ft. was 1.21 ft.

Explanation:

6 0
3 years ago
Discuss 7 habits of highly effective people and how important are ethics in today's society​
kompoz [17]

Answer:

Explanation:

The 7 Habits of Highly Effective People, is a book written and first published in 1989. It is a business and self-help book that was written by Stephen Covey. The seven habits include

Being proactive

Starting anything with the end in mind

First things first

Always thinking towards a win-win situation

Seeking initially to understand, then going on to want to be understood

Synergize, and lastly

Growing

7 0
3 years ago
Design a decimal arithmetic unit with two selection variables, V1, and Vo, and two BCD digits, A and B. The unit should have fou
Bingel [31]
Ucsaaaaauxx627384772938282’cc ed un e uff ridicolizzarla +golfista
4 0
3 years ago
The water in a 25-m-deep reservoir is kept inside by a 140-m-wide wall whose cross section is an equilateral triangle as shown i
koban [17]

Answer:  (a) 9.00 Mega Newtons or 9.00 * 10^6 N

               (b)  17.1 m

Explanation:  The length of wall under the surface can be given by

                                            b=25m/sin(60)\\=28.867

The average pressure on the surface of the wall is the pressure at the centeroid of the equilateral triangular block which can be then be calculated by multiplying it with the Plate Area which will provide us with the Resultant force.

F(resultant) = Pavg ( A) = (Patm +  \rho g h c)*A \\= [100000 N/m^2 + (1000 kg/m^3 * 9.81 m/s^2 * 25m/2)]* (140*25m/sin60)\\= 8.997*10^8 N \\= 9.0*10^8 N

Noting from the Bernoulli  equation that

Po/\rho g sin60 = 100000/1000 * 9.81* sin(60) = 11.77 m \\ \\

From the second image attached the distance of the pressure center from the free surface of the water along the surface of the wall is given by:

Yp = s+\frac{b}{2} +\frac{b^2}{s+\frac{b}{2}+Po/\rho g sin60}= 0+\frac{28.87}{2} +\frac{28.87^2}{0+\frac{28.87}{2}+100000 /1000 *9.81 sin60} = 17.1 m

Substituting the values gives us the the distance of the surface to be equal to = 17.1 m

7 0
3 years ago
Other questions:
  • What is a thermal reservoir?
    15·1 answer
  • A horizontal channel of height H has two fluids of different viscosities and densities flowing because of a pressure gradient dp
    5·1 answer
  • Automotive service P2 Wastewater Management and Handling Spins
    9·1 answer
  • How many power station do we have​
    14·1 answer
  • The ________________ attraction between the Earth and the moon is ______________ on the side of the Earth that happens to be ___
    5·1 answer
  • Please help! timed test. This about electrical control. Please be serious.
    15·1 answer
  • The thermal energy is carried by electromagnetic waves
    12·1 answer
  • 9. An elevator on a construction site is being operated at rated capacity of 6 tons, and is supported by two standard steel cabl
    7·1 answer
  • 25 In differential aeration corrosion, rich oxygenated parts are
    14·1 answer
  • How many meters per second is 100 meters and 10 seconds
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!