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
Andreyy89
3 years ago
10

You are given a list of students names and their test scores. Design a pseudocode that does the following:(a) Calculates the ave

rage test scores.(b) Determines and prints the names of all the students whose test scores are below the average test score.(c) Determines the highest test score.(d) Prints the names of all
Mathematics
1 answer:
Rashid [163]3 years ago
4 0

Answer:

List_of_students = {};    //Structure array that contains the scores of students and Names

Number_of_students = size(List_of_students);

Average_score ;   //Variable Stores average score

Below_Average = [];   //That is initially filled with zeros  

Highest_score ; //Initialize variable to store highest score

for ( i = 0 ; i < Number_of_students; i = i + 1)

{

      Average_score  = Average_score + List_of_students(i);    

     if ( i = 15)

      {

        Average_score  = Average_score / Number_of_students;

      }

}

for ( j = 0; j < Number_of_students ; i = i + 1)

{

    if (   List_of_students(j)  < Average_score)

     {

         print( "student  %name got %score , List_of_students(j),          List_of_students(j) )

     }

}

Compare_Score = 0;   //Variable to compare score

for ( k = 0; K < Number_of_students; k = k+1)

{

     if ( List_of_students(k) => Compare_Score)

    {

        Compare_Score = List_of_students(k);

    }

}

Highest_Score = Compare_Score;

Step-by-step explanation:

You might be interested in
The midpoint of ab is m (-2,-1) if the coordinates of a are (-7,2) what are the coordinates of b
Vlad [161]

Answer:

The coordinates of b are: (x, y) = (3, -4)

Step-by-step explanation:

Given

Given that the midpoint of the ab is:

  • m(-2, -1)

The coordinates of a are:

  • (-7, 2)

To determine

The coordinates of b = ?

Let b (x, y) be the coordinates of b.

Given that the midpoint of the ab is m(-2, -1)

Thus,

(x - 7) / 2 = -2,      (y + 2) /2 = -1

now solving

(x - 7) / 2 = -2

(x - 7) = -2 × 2

x - 7 = -4

adding 7 in both sides

x  - 7 + 7 = -4 + 7

x = 3

and solving

(y + 2) /2 = -1

(y + 2) = -1 × 2

y + 2 = -2

subtracting 2 from both sides

y + 2 - 2 = -2 - 2

y = -4

Thus,

The coordinates of b are: (x, y) = (3, -4)

7 0
3 years ago
In July 2005, the internet was linked by a global network of about 353 million host computers. The number of host computers has
aalyn [17]

Answer:

N(t) = 37.1(1.38)^t

Step-by-step explanation:

Exponential function:

An exponential function has the following format:

N(t) = N(0)(1+r)^t

In which N(0) is the initial value and r is the rate of change, as a decimal.

37.1 million in July 1998

This means that N(0) = 37.1

So

N(t) = 37.1(1+r)^t

In July 2005, the internet was linked by a global network of about 353 million host computers.

This is 2005 - 1998 = 7 years, so N(7) = 353. We use this to find r.

N(t) = 37.1(1+r)^t

353 = 37.1(1+r)^7

(1+r)^7 = \frac{353}{37.1}

\sqrt[7]{(1+r)^7} = \sqrt[7]{\frac{353}{37.1}}

1 + r = (\frac{353}{37.1})^{\frac{1}{7}}

1 + r = 1.38

The formula is:

N(t) = 37.1(1.38)^t

5 0
3 years ago
Write the equation of the circle that has a diameter with endpoints (6,-1) and (0,-7).
Yanka [14]
d =  \sqrt{(x_2 - x_1)^{2} + (y_2 - y_1)^{2}}
d = \sqrt{(0 - (-1))^{2} + (-7 - (-1))^{2}}
d = \sqrt{(0 + 1)^{2} + (-7 + 1)^{2}}
d =  \sqrt{(1)^{2} + (-6)^{2}}
d = \sqrt{1 + 36}
d = \sqrt{37}
d = 6.083
6 0
4 years ago
A bookstore carries 70 magazines. 70% of the magazines are women's magazines. How
Murljashka [212]
70 percent *70 =

( 70/100)*70 =

( 70*70)/100 =

4900/100 = 49

They have 49 women’s magazines

6 0
3 years ago
Read 2 more answers
NEED HELP ASAP<br> WILL GIVE BRAINLY
Galina-37 [17]

Answer:

7

Step-by-step explanation:

if you dont know a math problem. always assume 7.

5 0
3 years ago
Read 2 more answers
Other questions:
  • The total annual spending by tourists in a resort city is $450 million. Approximately 80% of that revenue is again spent in the
    6·1 answer
  • WILL GIVE BRAINLIEST FOR THE CORRECT ANSWER AND POINTS!
    6·1 answer
  • 9*7/10=____*_____=______=
    11·1 answer
  • 9+4 the power of 3 times (20-8) divided by 2 + 6
    11·1 answer
  • Anybody know this answer?​
    14·1 answer
  • Drey makes $10 an hour plus $15 an hour for every hour of overtime. Overtime hours are any hours more than 40 hours for the week
    13·1 answer
  • Which division problem does this area model represent?
    5·1 answer
  • A babysitter earns the same amount per hour. She earned $36 for 3 hours of babysitting. Which equation describes the relationshi
    7·1 answer
  • A. 31<br> B. 41<br> C. 99 <br> D. 89
    7·1 answer
  • Please help me thank you
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!