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
An air compressor of mass 120 kg is mounted on an elastic foundation. It has been observed that, when a harmonic force of amplit
kupik [55]

Answer:

equivalent stiffness is 136906.78 N/m

damping constant is 718.96 N.s/m

Explanation:

given data

mass = 120 kg

amplitude = 120 N

frequency = 320 r/min

displacement = 5 mm

to find out

equivalent stiffness and damping

solution

we will apply here frequency formula that is

frequency ω = ω(n) √(1-∈ ²)      ......................1

here  ω(n) is natural frequency i.e = √(k/m)

so from equation 1

320×2π/60 = √(k/120) × √(1-2∈²)

k × ( 1 - 2∈²) = 33.51² ×120

k × ( 1 - 2∈²) = 134752.99    .....................2

and here amplitude ( max ) of displacement is express as

displacement = force / k  ×  (  \frac{1}{2\varepsilon \sqrt{1-\varepsilon ^2}})

put here value

0.005 = 120/k   ×  (  \frac{1}{2\varepsilon \sqrt{1-\varepsilon ^2}})  

k ×∈ × √(1-2∈²) = 1200       ......................3

so by equation 3 and 2

\frac{k\varepsilon \sqrt{1-\varepsilon^2})}{k(1-2\varepsilon^2)} = \frac{12000}{134752.99}

\varepsilon^{2} - \varepsilon^{4}  = 7.929 * 10^{-3} - 0.01585 * \varepsilon^{2}

solve it and we get

∈ = 1.00396

and

∈ = 0.08869

here small value we will consider so

by equation 2 we get

k × ( 1 - 2(0.08869)²) = 134752.99

k  = 136906.78 N/m

so equivalent stiffness is 136906.78 N/m

and

damping is express as

damping = 2∈ √(mk)

put here all value

damping = 2(0.08869) √(120×136906.78)

so damping constant is 718.96 N.s/m

7 0
3 years ago
When you see a street with white markings only, what kind of street is it?
Georgia [21]

Answer:

it's a one way street

3 0
3 years ago
a metal rod 24mm diameter and 2m long is subjected to an axial pull of 40 kN. If the rod is 0.5mm, then find the stress-induced
ozzi

Answer:

i dont know but i will take the points tho hahah

Explanation:

8 0
2 years ago
Technician a s ays both an ohmmeter and a self-powered test light may be used to test for continuity. technician b says both may
amm1812

Both A and B technicians are correct because both might be used to test fuses, according to technician B.

<h3>What is continuity?</h3>

The behavior of a function at a certain point or section is described by continuity. The limit can be used to determine continuity.

From the question:

We can conclude:

The technician claims that you may check for continuity using both an ohmmeter and a self-powered test light. Both might be used to test fuses, according to technician B.

Thus, both A and B technicians are correct because both might be used to test fuses, according to technician B.

Technician A says both an ohmmeter and a self-powered test light may be used to test for continuity. Technician B says both may be used to test fuses. Who is correct?

Learn more about the continuity here:

brainly.com/question/15025692

#SPJ1

5 0
1 year ago
What is the modulus of resilience for a tensile test specimen with a nearly linear elastic region if the yield strength is 500MP
ella [17]

Answer:

The modulus of resilience is 166.67 MPa

Explanation:

Modulus of resilience is given by yield strength ÷ strain

Yield strength = 500 MPa

Strain = 0.003

Modulus of resilience = 500 MPa ÷ 0.003 = 166.67 MPa

3 0
3 years ago
Read 2 more answers
Other questions:
  • 1. Create a class called Name that represents a person's name. The class should have fields named firstName representing the per
    8·2 answers
  • Technician A says that a magnetic field can be created by current flow. Technician B says that current can be induced by moving
    5·1 answer
  • Two gage marks are placed exactly 250 mm apart on a 12-mm-diameter aluminum rod with E 5 73 GPa and an ultimate strength of 140
    8·1 answer
  • Opposition to current flow, restricts or resists current flow
    15·1 answer
  • 1)A wheel is used to turn a valve stem on a water valve. If the wheel radius is 1 foot and the stem, (axle), radius is .5 inches
    10·1 answer
  • Which option distinguishes the members of a software deployment process team most likely involved in the following scenario?
    7·1 answer
  • Difference between theory and practice?​
    10·1 answer
  • The Eads Bridge, which crosses the Mississippi River near St Louis, Missouri, was one of the first all steel bridges built in th
    8·1 answer
  • A golfer and her caddy see lightning nearby. the golfer is about to take his shot with a metal club, while her caddy is holding
    12·1 answer
  • 1) Plastics that soften when heated,harden when cooled, and then can be heated and softened many times
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!