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
To the nearest 0.01 degree, what angle of descent (angle of depression) must a plane 50 horizontal miles from the airport and at
HACTEHA [7]
20,000÷50=
20000 \div 50 = 400ft
The plane needs to descend at 400 ft per mile.

At 40 degrees?
4 0
3 years ago
A school district's superintendent wants to administer a test of life skills to a sample of students. The superintendent has amp
tangare [24]

Answer:

-Convenience Sampling

Step-by-step explanation:

Convenience Sampling is a sampling method that is employed simply because the samples are easy to reach or access. It is a non-probability system of sampling and not a very strong method of sampling. For a serious research such as the one being conducted by the Superintendent, who has ample time to perform the research, this is not a very good sampling method. A Convenience style of research would mean that he can just walk into a cafeteria with students and administer the test to them.

Since he has detailed information of the students, he should choose any of the other mentioned sampling techniques in the options provided to randomly select the subjects. <em>This would help to</em> prevent bias, and enable him to make generalizations with the result of the research.

6 0
3 years ago
Ž + 1 = 9<br> Ox = 16<br> x = 20<br> Ox = 4<br> Ox=5
kotykmax [81]

Answer:

x = 16

Step-by-step explanation:

x

-- = 9-1 ...... first shift 1 and it will be -1

2

x = 8 ....... secondly 9-1 =8

--

2

x = 16 ..... criss cross and 2×8 = 16

there fore the value of x is equals to 16.

you can check it!

4 0
3 years ago
Greg invested $9,000 in an investment account that earns 4.2% interest compounded monthly.
Ulleksa [173]

Answer:

Step-by-step explanation:

y=a(1+r/c)^{ct}\\ \\ y=9000(1+.042/12)^{12t}\\ \\ y=9000(1.0035)^{12t}\\ \\ a)\ y=9000(1.0035)^{12(10)}=\$ 13687.61\\ \\ b)\ 15400=9000(1.0035)^{12t}\\ \\ 1.0035^{12t}=77/45\\ \\ 12t ln(1.0035)=ln(77/45)\\ \\ t=(ln(77/45))/(12ln(1.0035))\\ \\ t\approx 12.8\ years

6 0
2 years ago
plz help me so i can go to my dads house this weekend plllzzz and do it right and explain how u got it
svp [43]
36 Give me a minute an ill tell you how I got it

6 0
2 years ago
Other questions:
  • -17 = 1 + 6n + 3n what is n
    15·2 answers
  • Please Help! image below
    8·1 answer
  • Write the equation of a line with slope 2 and y-intercept −1.<br> PLEASEEE I NEED HELPPPPP
    12·2 answers
  • Two right triangles are graphed on a coordinate plane. One triangle has a vertical side of 4 and a horizontal side of 10. The ot
    14·1 answer
  • EASY I AM JUST DUMB!! WILL GIVE BRANLIEST!!! HELP ASAP!!!!
    5·2 answers
  • A classroom had 16 computers. If the ratio of computers to ipads was 4 : 5, how many ipads does the classroom have?
    6·1 answer
  • Sine rule for a triangle states that<br>​
    7·1 answer
  • Supplementary angles: look at the attachment to see the question
    12·1 answer
  • Help me Please !!!! You will receive Brainliest!!!
    7·1 answer
  • What is fraction of 7/8+3/4
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!