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
listen to the conversation between manuel and ana. then indicate whether the following conclusions are lógico or ilógico, based
Rama09 [41]

Answer:

The cast of Ana y Manuel - 2004 includes: Elena Anaya as Ana

Explanation:

3 0
3 years ago
There is a ____ signage which is uses symbols for quick and easy understanding
alekssr [168]
C) national? I'm sorry if I am wrong
5 0
3 years ago
Read 2 more answers
Work out the size of angle x<br> Angles <br> 50<br> 120
lbvjy [14]

Answer:

x = 70°

The external angle of a triangle is equal to the sum of the 2 opposite interior angles.

120° is an external angle of the triangle, thus

x + 50 = 120 ( subtract 50 from both sides )

x = 70

4 0
3 years ago
One benefit of a college education is being:
valentina_108 [34]

Answer:

Need/needn't I call Jhon just now for he is coming tomorrow to visit me.

3 0
3 years ago
Read 2 more answers
Can yall help me im so confused
nika2105 [10]

Answer:

valance electrons

Explanation:

the lines between the atoms represent the number of valance electron. simple isn't it.

6 0
3 years ago
Other questions:
  • Victor is concerned about his constant impulsive tendencies. He thinks something must be wrong with him. What is a healthy actio
    13·1 answer
  • Why was it important to establish the Clean Air Act? Select three options.
    14·2 answers
  • Say my name, say my name
    7·2 answers
  • “Nothing great was ever accomplished by a realistic person.” Do you agree? Why or why not?
    13·1 answer
  • Solve x+1 divide by 10 = 2/4
    5·1 answer
  • How does the appearance of spiral galaxies vary select the two correct answers
    6·1 answer
  • What is a common event due to transform plate movement at the San Andreas Fault Zone? Question 3 options: mountain formation no
    15·1 answer
  • Which type of reaction is NaCl AgNO3 → NaNO3 AgCl? synthesis decomposition oxidation replacement.
    7·1 answer
  • Algebra 1: concepts, skills, and problem solving (california) solutions
    5·1 answer
  • What did the founders mean when they wrote "to form a more perfect Union"?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!