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
Hey lol *simping noises* anyways. im in Rain but without the \ so SpEaK to me haha
Brrunno [24]
Uhmmm ma’am/sir i am not sure what’s going on exactly
3 0
3 years ago
Read 2 more answers
What is Parker Rooneys middle name
victus00 [196]
I think its Gillian. Look it up in case
3 0
3 years ago
Read 2 more answers
What three things should study groups do to ensure they are productive?
garri49 [273]

Sample Response: In productive study groups, members participate actively in the discussions, use good listening skills, and follow group guidelines.

3 0
3 years ago
Read 2 more answers
Por qué llamamos tegnologia solo a lo nuevo
Svet_ta [14]

Answer:

Explanation:

La tegnologia se va asiendo vija mientras nosotros crecermos en la edad. PERO sale nueva tegnologia y es por eso que desimos solo a lo nuevo.

7 0
3 years ago
Heres my super cute puppy we are getting her this weekend hopefully!!
Ahat [919]

Answer:

Aww so cute!!

Explanation:

3 0
2 years ago
Read 2 more answers
Other questions:
  • Which of the following is likely not a potential source of income related to the Great Barrier Reef
    6·1 answer
  • I will give anybody 75 points if they answer this question?
    7·2 answers
  • Select one of the factors of 3x2 10x 3. (3x 1) (3x 3) (3x − 1) None of the above
    12·1 answer
  • The volume of a rectangular prism is given by the expression10x3 46x2 – 21x – 27. The area of the base of the prism is given by
    6·1 answer
  • Bernite is selling candy bars for a school fundraiser. The school paid $20. 00 for a box of 15 king-size candy bars and bernite
    7·1 answer
  • Participative leadership style what does that mean
    12·1 answer
  • The gall he displayed during his exchange with the police officer made us all uneasy.
    13·1 answer
  • In the context of the second stanza, the near rhyming of "mended" (line 5) and "tendered" (line 8) serves to depict a relationsh
    12·1 answer
  • You get a $60,000 loan for a new dump truck. With the truck, you can generate $500 more business each week at 80% margin. Your i
    5·1 answer
  • Read the following scene from the inheritors. Fred jordan's cell. Slowly, at the end left unchalked, as for a door, she goes in.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!