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
4 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]4 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]4 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
Describe carbonation as it applies to the four-stroke engine.
valentinak56 [21]
Carbonation is more of a healer to the engine
5 0
3 years ago
Read 2 more answers
The primary heat transfer mechanism that quickly warms my hand if I hold it directly above a campfire is: a)-Radiation b)-Induct
Tanzania [10]

Answer:

The correct answer is option 'c':Convection.

Explanation:

When we ignite a campfire the heat produced by combustion heats the air above the fire. As we know that if a gases gains heat it expands thus it's density decreases and hence it rises, if we hold our hands directly above the fire this rising hot air comes in contact with our hands thus warming them.

The situation is different if we are at some distance from the campfire laterally. Since the rising air cannot move laterally the only means the heat of the fire reaches our body is radiation.

But in the given situation the correct answer is convection.  

6 0
3 years ago
Chemical engineering is one of the simpler fields in engineering.<br> True<br> False
Snezhnost [94]

Answer:

False

Explanation:

5 0
3 years ago
. The flexure strength test was performed on a concrete beam having a cross section of 0.15m by 0.15m and a span of 0.45m. If th
ivann1987 [24]

Answer:

σ =5.39Mpa

Explanation:

step one:

The flexure strength is defined as the tendency with which unreinforced concrete yield to bending forces

Flexural strength test Flexural strength is calculated using the equation:

σ = FL/ (bd^2 )----------1

Where

σ = Flexural strength of concrete in Mpa

F= Failure load (in N).

L= Effective span of the beam

b= Breadth of the beam

step two:

Given data

F=40.45 kN= 40450N

b=0.15m

d=0.15m

L=0.45m

step three:

substituting into the expression we have

σ = 40450*0.45/ (0.15*0.15^2 )

σ =18202.5/ (0.15*0.15^2 )

σ =18202.5/ (0.15*0.0225 )

σ =18202.5/0.003375

σ =5393333.3

σ =5393333.3/1000000

σ =5.39Mpa

Therefore the flexure strength of the concrete is 5.39Mpa

5 0
3 years ago
“In a List of Positive Integers, Set MINIMUM to 1. For each number X in the list L, compare it to MINIMUM. If X is smaller, set
artcher [175]

Answer:

no i cant answer it sorry

7 0
3 years ago
Other questions:
  • A stream of ethylene gas at 250°C and 3800 kPa expands isentropically in a turbine to 120 kPa. Determine the temperature of the
    5·1 answer
  • A heavy ball with a weight of 110 N is hung from the ceiling of a lecture hall on a 4.9-m-long rope. The ball is pulled to one s
    6·1 answer
  • In your Reader/Writer Notebook, write a short first-person narrative from the perspective of the bank clerk, describing her phys
    12·1 answer
  • Which utility program reads an assembly language source file and produces an object file?
    6·1 answer
  • Define and discuss the difference between micronutrients and macronutrients. Also, discuss their importance in the body at rest
    14·1 answer
  • Why do you suppose a value of 5 is used? Do you think other values might work?
    6·1 answer
  • What are the risks of biohacking? Do you think the risks of biohacking outweigh the advantages? Why or why not?
    5·1 answer
  • Deviations from the engineering drawing cannot be made without the approval of the
    15·2 answers
  • Tech A says that speed density systems use vehicle speed and fuel density to determine injector pulse width. Tech B says that ma
    8·1 answer
  • 17
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!