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
inysia [295]
2 years ago
7

You are given five integers and your task is to find the smallest of them

SAT
1 answer:
Vikentia [17]2 years ago
4 0

The minimum number of comparisons to find the smallest number from 5 integers is 4.

<h3>How to find the Smallest Integer?</h3>

Let the five numbers be a,b,c,d and e.

Let s be an integer

Comparison 1:

a and b will be compared first and the smaller number of them will be equal to s

Comparison 2:

Now, a smaller number between a and b that is s will be compared with c. Similarly, the smaller number of both numbers will be taken as s in the next comparison.

Comparison 3:

Likewise, s and d will be compared and a smaller number will be taken as s for the next comparison

Comparison 4:

Likewise, s and e will be compared and a smaller number will be taken as s for the next comparison.

After 4th comparison, s will be equal to smallest number of 5 integers.

Thus;

Total comparisons = 4

Therefore, the minimum number of comparisons to find the smallest number from 5 integers is 4.

Read more about Smallest Integer at; brainly.com/question/13329614

#SPJ1

You might be interested in
19. From the table above, given that the ten averages are those of ten students instead of 10
kkurt [141]

really dude really really

7 0
2 years ago
What are all the units of measure that can be used to determine the weight of a puppy.?
DIA [1.3K]
They usually measure them in grams or ounces. Sometimes, they will use pounds (for a puppy).
5 0
3 years ago
What effect does mathilde's borrowing the necklace have on the plot of "the necklace"?
VMariaS [17]

Answer:

It is the catalyst for the ensuing events.

3 0
3 years ago
Never give up and there is no such thing as failure.
svetoff [14.1K]

Answer:

Tony Robbins

Explanation:

:) amen

6 0
1 year ago
What do you do first when you decide to take a trip by plane brainly
uranmaximum [27]

Answer:

give them your ticket and luggage

Explanation:

sorry if i got this wrong....

8 0
2 years ago
Read 2 more answers
Other questions:
  • Clarence wants to estimate the percentage of students who live more than three miles from the school. He wants to create a
    6·1 answer
  • A foodborne illness outbreak occurs when:
    9·1 answer
  • Using the PACED decision-making model, select the best tires for Ray?
    11·2 answers
  • How to find mass, volume and density of a liqud and solid?
    14·1 answer
  • Type the verb or verb phases comets have been studied for many years
    10·1 answer
  • The fathers age is the sum of the son and the mother ​
    8·2 answers
  • Which region had the greatest growth in percentage of households with a computer between 2008 and 2018? Africa Asia Western Euro
    5·1 answer
  • Simon invested an amount of money in a savings account at 0. 5% per annum compound interest. At the end of 3 years, the amount o
    15·1 answer
  • Which of the following statements most clearly contradicts beneatha’s claim in lines 14-15 that she has ""stopped caring""?.
    7·1 answer
  • In the nation of Hamsterville most goods, services, and resources are allocated in markets. However, some goods are provided by
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!