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
John has an exhaust leak in his Acura Integra GS-R, What steps would he take to fix the leak in time for his inspection?
SCORPION-xisa [38]

Answer:

Explanation:

Fist you need to identify where the leak is coming from. You can do this by either listening for the leak or spraying soapy water on the exhaust to look for air bubbles coming out of the exhaust. Depending on the spot of the leak there are many ways you can fix this leak.

1. Exhaust clamp

2. Exhaust putty

3. Exhaust tape

4. New exhaust

Exhaust clamp is best used for holes on straight pipes.

Putty is best used on welds or small holes like on exhaust manifolds or welds connecting various pieces like catalytic converters, mufflers, or resonators.

Tape will work best on straight pipes with holes.

New exhaust is for when the thig is beyond repair, like rust.

Now good luck because working on exhausts is a pain.

4 0
2 years ago
An important ethical concern for behavior analysts involves special cautions in interactions with a client in any capacity outsi
Phoenix [80]

Answer:A and B are correct. one must take care to avoid violation of ethical codes regarding conflicts of interest and dual or multiple relationships

Explanation:

A conflict of interest (COI) is a situation in which a person or organization is involved in multiple interests, financial or otherwise, and serving one interest could involve working against another. 

4 0
3 years ago
An excavation is at risk for cave-in and water accumulation because of the excess soil that has accumulated. What type of excava
N76 [4]

Answer:Topographic map. Contour line. Learning Objectives. After completing this chapter, you will be able to: □ Define civil engineering and civil drafting.

Explanation:

4 0
3 years ago
Read 2 more answers
Using the Distortion-Energy failure theory: 8. (5 pts) Calculate the hydrostatic and distortional components of the stress 9. (1
WITCHER [35]

Answer:

Detailed solution is given below:

7 0
4 years ago
For a fluid with a Prandtl Number of 1000.0, the hydrodynamic layer is thinner than the thermal boundary layers. a) True b) Fals
kvv77 [185]

Answer:

(b)False

Explanation:

Given:

 Prandtl number(Pr) =1000.

We know that   Pr=\dfrac{\nu }{\alpha }

  Where \nu is the molecular diffusivity of momentum

             \alpha is the molecular diffusivity of heat.

 Prandtl number(Pr) can also be defined as

    Pr=\left (\dfrac{\delta }{\delta _t}\right )^3

Where \delta is the hydrodynamic boundary layer thickness and \delta_t is the thermal boundary layer thickness.

So if Pr>1 then hydrodynamic boundary layer thickness will be greater than thermal boundary layer thickness.

In given question Pr>1 so  hydrodynamic boundary layer thickness will be greater than thermal boundary layer thickness.

So hydrodynamic layer will be thicker than the thermal boundary layer.

8 0
3 years ago
Other questions:
  • How are isometric drawings and orthographic drawings similar?
    10·1 answer
  • A non-linear analog force sensor outputs the following voltages for different forces.
    7·1 answer
  • Why Your first project as the new web designer at Smart Design is to increase web traffic to help boost web orders. Before you b
    6·1 answer
  • The sports car has a weight of 4900 lblb and center of gravity at GG. If it starts from rest it causes the rear wheels to slip a
    13·1 answer
  • The Aluminum Electrical Conductor Handbook lists a dc resistance of 0.01558 ohm per 1000 ft at 208C and a 60-Hz resistance of 0.
    11·1 answer
  • Design drawings use line styles of up to eight different varieties to communicate important information about the item. true or
    7·1 answer
  • Select the correct answer.
    12·1 answer
  • Engineering Specificaitons is ...
    9·1 answer
  • Why is communication one of the most important aspects of an engineer's job?
    12·1 answer
  • It is possible to design a reactor where the scy conductor and the nitrogen/ammonia electrode operate at different temperatures.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!