subject
Mathematics, 16.12.2021 01:50 leneenmarshall3125

There are 32 students standing in a classroom. Two different algorithms are given for finding the average height of the students. Algorithm A
Step 1: All students stand.
Step 2: A randomly selected student writes his or her height on a card and is seated.
Step 3: A randomly selected standing student adds his or her height to the value on the card, records the new value on the card, and is seated. The previous value on the card is erased.
Step 4: Repeat step 3 until no students remain standing.
Step 5: The sum on the card is divided by 32. The result is given to the teacher.

Algorithm B
Step 1: All students stand.
Step 2: Each student is given a card. Each student writes his or her height on the card.
Step 3: Standing students form random pairs at the same time. Each pair adds the numbers written on their cards and writes the result on one studentâs card; the other student is seated. The previous value on the card is erased.
Step 4: Repeat step 3 until one student remains standing.
Step 5: The sum on the last studentâs card is divided by 32. The result is given to the teacher.

Which of the following statements is true?

a. Algorithm A always calculates the correct average, but Algorithm B does not.
b. Algorithm B always calculates the correct average, but Algorithm A does not.
c. Both Algorithm A and Algorithm B always calculate the correct average.
d. Neither Algorithm A nor Algorithm B calculates the correct average.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 21:30
Select all the correct locations on the table. consider the following expression. 76.493 select "equivalent" or "not equivalent" to indicate whether the expression above is equivalent or not equivalent to the values or expressions in the last column equivalent not equivalent 343 equivalent not equivalent 49 78.498 78.498 75.493 equivalent not equivalent 75.7 equivalent not equivalent
Answers: 3
question
Mathematics, 21.06.2019 22:00
In δabc, m∠acb = 90°, cd ⊥ ab and m∠acd = 45°. find: a find cd, if bc = 3 in
Answers: 1
question
Mathematics, 21.06.2019 23:00
In january 2010, you began a one-year study of tuberculosis (tb) in a subsidized housing community in the lower east side of new york city. you enrolled 500 residents in your study and checked on their tb status on a monthly basis. at the start of your study on january 1st, you screened all 500 residents. upon screening, you found that 30 of the healthy residents had been vaccinated for tb and therefore were not at risk. another 20 residents already had existing cases of tb on january 1st. on february 1st, 5 residents developed tb. on april 1st, 10 more residents developed tb. on june 1st, 10 healthy residents moved away from new york city and were lost to follow-up. on july 1st, 10 of the residents who had existing tb on january 1st died from their disease. the study ended on december 31, 2010. assume that once a person gets tb, they have it for the duration of the study, and assume that all remaining residents stayed healthy and were not lost to follow-up. is the subsidized housing community in the lower east side of new york city a dynamic or fixed population? briefly explain the rationale for your answer. dynamic population it can changeable people can move out and move in into the population of a subsidized housing what was the prevalence of tb in the screened community on january 1st? prevalence = 30/500 0.06= 6% what was the prevalence of tb on june 30th? prevalence= 40/450=0.08= 8.88% what was the cumulative incidence of tb over the year? cumulative incidence = number of new cases/number in candidate population)over specified time period 10/450 = 2.2% suppose that you wanted to calculate the incidence rate of tb in the study population. calculate the amount of person-time that would go in the denominator of this incidence rate. be sure to show your work.
Answers: 2
question
Mathematics, 22.06.2019 01:30
Meee i honestly dont know what this question talking about
Answers: 3
You know the right answer?
There are 32 students standing in a classroom. Two different algorithms are given for finding the av...
Questions
Questions on the website: 13722359