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
Anastaziya [24]
4 years ago
4

1. A certain game keeps track of the maximum and minimum scores obtained so far. If num represents the most recent score obtaine

d, which of the following algorithms correctly updates the values of the maximum and the minimum?
A If num is greater than the minimum, set the minimum equal to num. Otherwise, if num is greater than the maximum, set the maximum equal to num.

B If num is less than the minimum, set the minimum equal to num. Otherwise, if num is greater than the maximum, set the maximum equal to num.

C If num is less than the minimum, set the minimum equal to num. Otherwise, if num is less than the maximum, set the maximum equal to num.

D If num is greater than the minimum, set the minimum equal to num. Otherwise, if num is less than the maximum, set the maximum equal to num.​
Advanced Placement (AP)
1 answer:
notka56 [123]4 years ago
8 0

Answer:

The correct option is;

B. If num is less than the minimum, set the minimum equal to num. Otherwise, if num is greater than the maximum, set the maximum equal to num

Explanation:

The function of the score tracking application in the game = The sort and track the minimum and maximum

The variable, num, is used to indicate the value of the latest score obtained

The num variable is compared with the existing values stored in the minimum and maximum variables with an if condition

When the num satisfies te if condition, the value in the num variable replaces the value in the minimum or maximum variables respectively.

You might be interested in
The area of the rhombus is 540 cm2; the length of one of its diagonals is 4.5 dm. What is the distance between the point of inte
alexdok [17]
You will have to divide it 540 divided by 4.5 is 120
6 0
4 years ago
Which of the following axes and terms are not correctly associated according to the Diagnostic and Statistical Manual of Mental
Anastasy [175]
The answer to this problem is the letter "D" is not directly connected or related to the Diagnostic and Statistical Manual of Mental Disorder. Other items such as A, B, and C are all associated in DSM.  Mental underdeveloped, disorders and medical conditions are part of the DSM study.
5 0
3 years ago
Read 2 more answers
Free points c cds cxcxcxvc
shutvik [7]

Answer:

thanks

Explanation:

3 0
3 years ago
Read 2 more answers
Can someone help me with this please?
Mamont248 [21]
A. x = 17
Explanation:
We know that the angle in the right corner is 90 since it’s a right angle
3x + 6 + 2x -1 + 90 = 180
Add like terms
5x + 95 = 180
Subtract 95 from both sides
5x = 85
divide by 5 on both sides
x = 17
5 0
4 years ago
50 points!! Umm help fast plz
xz_007 [3.2K]

Answer:

overhead

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Résumés should be written in complete sentences. Please select the best answer from the choices provided
    13·2 answers
  • Do you think that the ethnic, racial, or gender identity of a psychologist would influence the way in which he or she does resea
    9·1 answer
  • What does the term crooss mean in reference to stacking objects?
    12·1 answer
  • How likely is c o v i d to be in the ap test next year
    14·2 answers
  • The asthenosphere is made of _____ rocks and minerals
    13·1 answer
  • Political
    5·1 answer
  • What is the answer for 2(5h-2)=8h
    7·2 answers
  • Please help with thoes 2<br> will give brainliest
    8·2 answers
  • If you have a voodoo doll of yourself, and you sit on it, will you ever be able to get back up?
    5·1 answer
  • Label each of the following as either a physical process or a
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!