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
Bending is defined as? A. the application of a load tending to distort a member in one direction. B. the application of opposing
amm1812
Hi how are you today
4 0
3 years ago
A cylinder fitted with a frictionless piston contains 2 kg of R-134a at 3.5 bar and 100 C. The cylinder is now cooled so that th
inna [77]

Answer:

The answer to the question is

The heat transferred in the process is -274.645 kJ

Explanation:

To solve the question, we list out the variables thus

R-134a = Tetrafluoroethane

Intitial Temperaturte t₁ = 100 °C

Initial pressure = 3.5 bar = 350 kPa

For closed system we have m₁ = m₂ = m

ΔU = m×(u₂ - u₁) = ₁Q₂ -₁W₂

For constant pressure process we have

Work done = W = \int\limits^a_b P \, dV  = P×ΔV = P × (V₂ - V₁) = P×m×(v₂ - v₁)

From the tables we have

State 1 we have h₁ = (490.48 +489.52)/2 = 490 kJ/kg

State 2 gives h₂ = 206.75 + 0.75 × 194.57= 352.6775 kJ/kg

Therefore Q₁₂ = m×(u₂ - u₁) + W₁₂ = m × (u₂ - u₁) + P×m×(v₂ - v₁)

= m×(h₂ - h₁) = 2.0 kg × (352.6775 kJ/kg - 490 kJ/kg) =-274.645 kJ

5 0
3 years ago
Using the state mileage guide table located on the top of each map page you can
Ivenika [448]
C. Route and roadways defined as class I highways
5 0
3 years ago
What is the best reason a scientist might use a model to represent the solar system?
uranmaximum [27]
So they can grasp a better understanding! good luck
3 0
3 years ago
Which apparatus is included in a task force?
Yakvenalex [24]

Answer:

I am Sachin this answer is fire engine is your name is this

7 0
3 years ago
Other questions:
  • Working with which of these systems requires a technician that has been certified in an EPA-approved course?
    11·1 answer
  • . A roadway is being designed capable of allowing 70 mph vehicle speed. The superelevation around one curve is 0.05 inches per i
    15·1 answer
  • The entire system of components that produces power and transmits it to the road is called the vehicle's _____.
    13·1 answer
  • What type of drawing would civil engineers use if they needed to show an
    11·1 answer
  • What is a Planck Distribution and how is it used to solve for black body radiation problems?
    12·1 answer
  • What Are 2 Properties electromagnets have that permanent magnets do not?
    8·2 answers
  • PLZZZZZ HELP
    10·2 answers
  • I am sending an email to my teacher. Is this mature enough?
    15·2 answers
  • Question # 3
    11·2 answers
  • The density of a certain type of steel is 8.1 g/cm3. What is the mass of a 100 cm3 chunk of this steel
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!