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
Introduce JTA and JT
Vinil7 [7]
JT2 oaoaosnforeneomdocdmsnsksmsmsodnfnfj
7 0
3 years ago
Two wastewater treatment plant workers (one male and one female) are exposed to hydrogen sulfide in confined spaces in the treat
Vlada [557]

Answer:

Go to explaination for the details of the answer.

Explanation:

In order to determine the lifetime (75 years) chronic daily exposure for each individual, we have to first state the terms of our equation:

CDI = Chronic Daily Intake

C= Chemical concentration

CR= Contact Rate

EFD= Exposure Frequency and Distribution

BW= Body Weight

AT = Average Time.

Having names our variables lets create the equations that will be used to derive our answers.

Please kindly check attachment for details of the answer.

5 0
3 years ago
Along with refining craft skills another way to increase the odds for career advancement is to
Xelga [282]

The acquisition of additional certifications with a personal refined craft skills can increase the odds for career advancemen.

<h3>What is a career advancement?</h3>

An advancement is achieved in a career if a professional use their skill sets, determination or perserverance to achieve new career height.

An example of a career advancement is when an employee progresses from entry-level position to management and transits from an occupation to another.

Therefore, the Option A is correct.

Read more about career advancement

<em>brainly.com/question/7053706</em>

7 0
2 years ago
A Pitot-static probe is used to measure the speed of an aircraft flying at 3000 m. If the differential pressure reading is 3200
coldgirl [10]

Answer:

Speed of aircraft ; (V_1) = 83.9 m/s

Explanation:

The height at which aircraft is flying = 3000 m

The differential pressure = 3200 N/m²

From the table i attached, the density of air at 3000 m altitude is; ρ = 0.909 kg/m3

Now, we will solve this question under the assumption that the air flow is steady, incompressible and irrotational with negligible frictional and wind effects.

Thus, let's apply the Bernoulli equation :

P1/ρg + (V_1)²/2g + z1 = P2/ρg + (V_2)²/2g + z2

Now, neglecting head difference due to high altitude i.e ( z1=z2 ) and V2 =0 at stagnation point.

We'll obtain ;

P1/ρg + (V_1)²/2g = P2/ρg

Let's make V_1 the subject;

(V_1)² = 2(P1 - P2)/ρ

(V_1) = √(2(P1 - P2)/ρ)

P1 - P2 is the differential pressure and has a value of 3200 N/m² from the question

Thus,

(V_1) = √(2 x 3200)/0.909)

(V_1) = 83.9 m/s

4 0
3 years ago
A rigid bar pendulum is attached to a cart, which moves along the horizontal plane. The rigid bar has a center of mass at L/2. T
Vikentia [17]

Answer:

See the attached picture for answer.

Explanation:

See the attached picture for explanation.

4 0
3 years ago
Other questions:
  • A 55-μF capacitor has energy ω (t) = 10 cos2 377t J and consider a positive v(t). Determine the current through the capacitor.
    12·1 answer
  • How far do you jog each morning? You prefer to jog in different locations each day and do not have a pedometer to measure your d
    14·1 answer
  • It is possible to have liquid water at 200°C. a)-True b)- False
    14·1 answer
  • What should you use to turn the water off and open the door?
    7·2 answers
  • FREEEEEE POOIIIINTS RIGHT HERE EVERYONE LEVEL UPPPP​
    13·2 answers
  • 2.
    7·1 answer
  • The thermal energy is carried by electromagnetic waves
    12·1 answer
  • Expert Review is done by end users.
    9·1 answer
  • At a retirement party, a coworker described terry as dedicated
    9·1 answer
  • What is the relationship between compressor work and COPR?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!