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
Air is contained in a vertical piston–cylinder assembly such that the piston is in static equilibrium. The atmosphere exerts a p
oee [108]

Answer:

a) 24 kg

b) 32 kg

Explanation:

The gauge pressure is of the gas is equal to the weight of the piston divided by its area:

p = P / A

p = m * g / (π/4 * d^2)

Rearranging

p * (π/4 * d^2) = m * g

m = p * (π/4 * d^2) / g

m = 1200 * (π/4 * 0.5^2) / 9.81 = 24 kg

After the weight is added the gauge pressure is 2.8kPa

The mass of piston plus addded weight is

m2 = 2800 * (π/4 * 0.5^2) / 9.81 = 56 kg

56 - 24 = 32 kg

The mass of the added weight is 32 kg.

5 0
2 years ago
Problem 2. The length of a side of the square block is 4 in. Under the application of the load V, the top edge of the block disp
White raven [17]

Answer and Explanation:

The answer is attached below

8 0
3 years ago
Refrigerant-134a at 400 psia has a specific volume of 0.1144 ft3/lbm. Determine the temperature of the refrigerant based on (a)
vekshin1

Answer:

a) Using Ideal gas Equation, T = 434.98°R = 435°R

b) Using Van Der Waal's Equation, T = 637.32°R = 637°R

c) T obtained from the refrigerant tables at P = 400 psia and v = 0.1144 ft³/lbm is T = 559.67°R = 560°R

Explanation:

a) Ideal gas Equation

PV = mRT

T = PV/mR

P = pressure = 400 psia

V/m = specific volume = 0.1144 ft³/lbm

R = gas constant = 0.1052 psia.ft³/lbm.°R

T = 400 × 0.1144/0.1052 = 434.98 °R

b) Van Der Waal's Equation

T = (1/R) (P + (a/v²)) (v - b)

a = Van Der Waal's constant = (27R²(T꜀ᵣ)²)/(64P꜀ᵣ)

R = 0.1052 psia.ft³/lbm.°R

T꜀ᵣ = critical temperature for refrigerant-134a (from the refrigerant tables) = 673.6°R

P꜀ᵣ = critical pressure for refrigerant-134a (from the refrigerant tables) = 588.7 psia

a = (27 × 0.1052² × 673.6²)/(64 × 588.7)

a = 3.596 ft⁶.psia/lbm²

b = (RT꜀ᵣ)/8P꜀ᵣ

b = (0.1052 × 673.6)/(8 × 588.7) = 0.01504 ft³/lbm

T = (1/0.1052) (400 + (3.596/0.1144²) (0.1144 - 0.01504) = 637.32°R

c) The temperature for the refrigerant-134a as obtained from the refrigerant tables at P = 400 psia and v = 0.1144 ft³/lbm is

T = 100°F = 559.67°R

7 0
3 years ago
The following program includes fictional sets of the top 10 male and female baby names for the current year. Write a program tha
otez555 [7]

Answer:

Define Variables and Use List methods to do the following

Explanation:

#<em>Conjoins two lists together</em>

all_names = male_names.union(female_names)

#<em>Finds the names that appear in both lists, just returns those</em>

neutral_names = male_names.intersection(female_names)

#<em>Returns names that are NOT in both lists</em>

specific_names = male_names.symmetric_difference(female_names)

3 0
2 years ago
Read 2 more answers
A closed, rigid tank is filled with a gas modeled as an ideal gas, initially at 27°C and a gage pressure of 300 kPa. If the gas
ch4aika [34]

Answer:

gauge pressure is 133 kPa

Explanation:

given data

initial temperature T1 = 27°C = 300 K

gauge pressure = 300 kPa = 300 × 10³ Pa

atmospheric pressure = 1 atm

final temperature T2 = 77°C = 350 K

to find out

final pressure

solution

we know that gauge pressure is = absolute pressure - atmospheric pressure so

P (gauge ) = 300 × 10³ Pa - 1 × 10^{5} Pa

P (gauge ) = 2 × 10^{5} Pa

so from idea gas equation

\frac{P1*V1}{T1} = \frac{P2*V2}{T2}   ................1

so {P2} = \frac{P1*T2}{T1}

{P2} = \frac{2*10^5*350}{300}

P2 = 2.33 × 10^{5} Pa

so gauge pressure = absolute pressure - atmospheric pressure

gauge pressure = 2.33 × 10^{5}  - 1.0 × 10^{5}

gauge pressure = 1.33 × 10^{5} Pa

so gauge pressure is 133 kPa

4 0
3 years ago
Other questions:
  • Two points along a wire are labeled Xand Y. The current is measured to be iXY= –3A.The reference direction of iXY is defined by
    11·1 answer
  • Let Deterministic Quicksort be the non-randomized Quicksort which takes the first element as a pivot, using the partition routin
    13·1 answer
  • How do I cancel my subscription
    12·2 answers
  • "Mass burn technology uses unprocessed municipal solid waste to generate heat which is used to produce electricity."
    9·2 answers
  • Do you think the mining process is faster when you know in advance that the land must be restored? Explain.
    14·1 answer
  • Argon is compressed in a polytropic process with n = 1.2 from 100 kPa and 30°C to 1200 kPa in a piston–cylinder device. Determin
    14·1 answer
  • (a) Sabbir usually (sit)______ in the front bench.
    13·1 answer
  • How do you build a house.
    15·1 answer
  • Identify the prefixes used in the International System of
    15·1 answer
  • What is the law of physics<br><br><br> 10 points if you tell me the answer and your name
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!