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
What is TRUE about the three main components of money management?
lilavasa [31]

Answer:

D

reason being is because

4 0
3 years ago
Read 2 more answers
sarah sandoval is a coffee farmer trying to decide how many tons of coffee to produce. she can sell each ton of coffee for $2,00
sergiy2304 [10]

Answer: She can sell each ton of coffee for  $3

Explanation: hope it helps

5 0
2 years ago
What is a possible disadvantage of using the graphic in ""on-line programs to train your brain""?
kozerog [31]

The possible disadvantage of using the graphic in “On-line Programs to Train Your Brain is: Because the graphic looks “child-like” readers may not take the author seriously.

<h3>What is the disadvantage of online programs?</h3>

Now, online programs used in training our brain doesn't take anything seriously because for example, during online classes, a lot of students are not as serious as they would have been physically which makes them to loose their marks and that's all caused by our brain cause we think we can learn it later and we don't but instead just  ignore it.

Thus, the possible disadvantage will be that the graphic looks “child-like” readers may not take the author seriously.

Read more about disadvantage of online programs at; brainly.com/question/22317416

3 0
2 years ago
Select the correct answer. it was not the first time for me to experience the river's charm. this time i saw the tupelo, cypress
Mademuasel [1]

Answer:

This time I saw the tupelo, cypress, and yaupon trees through the eyes of a man who has lived his entire life along the river.

Explanation:

7 0
2 years ago
Suppose y is inversely proportional to x. If y = –8 when x = –2, find y when x = 32
Annette [7]

Answer: 1/2

Explanation:

When y is inversely proportional to x. This implies that:

y = k/x

If y = –8 when x = –2, then the constant of proportionality will be;

y = k/x

-8 = k/-2

k = (-8 × -2)

k = 16

when x = 32, the value of y will be:

y = k/x

y = 16/32

y = 1/2

5 0
3 years ago
Other questions:
  • Write a long, long paragraph about random things that makes no sense<br><br> I'm counting on you
    10·2 answers
  • To help you sleep, you should try to start unwinding______ minutes before you go to bed
    12·2 answers
  • Can someone please tell me who is kaypeeoh72z
    5·1 answer
  • Which is the best description of why music may be used for a therapeutic purpose? (1 point)
    6·2 answers
  • Which of the following voice-mail greetings would be best received by potential employers?A."Leave a message. I will think about
    9·2 answers
  • The following chart describes opportunities and challenges in the external environments that surround businesses. Which statemen
    8·1 answer
  • Without the braille alphabet it would be very difficult for.
    8·1 answer
  • Sometimes conflict can be healthy critically discuss this statement brainly.
    14·1 answer
  • Advise a friend who responds to conflict by avoidance on why it is not healthy
    7·1 answer
  • The average age of a breed of dog is 19.5 years. if the distribution of their ages is normal and 20% of dogs are older than 22.6
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!