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
Viefleur [7K]
2 years ago
13

You are given a list of students' names and their test scores. Design an algorithm that does the following: a. Calculates the av

erage test scores. b.
Mathematics
1 answer:
sertanlavr [38]2 years ago
5 0

Answer:

Complete Question

a. Calculates the average test scores.

b. Determines and print the names of all the students whose test score is below the average test score.

c. Determines the highest test score.

d. Prints the names of all the students whose test score is the same as the highest test score.

Input N; //N represents number of students

Students_Names = {};

Students_Scores = {}

Average = 0

For I = 1 to N

Input Students_Names[I]

Input Students_Scores[I]

Next I

//Calculate Average Test Score

j = 0

Do

Average = Average + Students_Scores[j]

j = j + 1

While (j<N)

Average = Average/N

Print Average.

k = 0

//Print below average

Do

If(Students_Scores[k] < Average)

Print Students_Names[k] + " score is "+ Students_Scores[k]+ " and it is below average"

k = k+ 1

While (k<N)

Highest_score = 0

m = 0

Do

If(Students_Scores[m] > Highest_score)

Highest_score = Students_Scores

m = m+1

While (m<N)

Print "Highest Score is" + Highest_score

n = 0

Do

If(Students_Scores[n] == Highest_score)

Print Students_Names[n] + "has the same score has the highest score"

n = n+1

While (n<N)

        Compare_Score = List_of_students(k);

    }

}

Highest_Score = Compare_Score

Read more on Brainly.com - brainly.com/question/13058173#readmore

You might be interested in
In which quadrant does the point with c ordinate (4, -3) lie?
KiRa [710]

Answer:

4

Step-by-step explanation:

hope the diagram helps haha

3 0
2 years ago
Need help quick!<br> What is the product? <br>(-1 2 4) (3 6 1 2 4 0 0 6 2)
vaieri [72.5K]

Answer:

[1  26  7]

Step-by-step explanation:

[1  26  7]

one row three column

5 0
3 years ago
Read 2 more answers
Solve for the given variable
Ne4ueva [31]

Answer:

30

Step-by-step explanation:

Well we know the first angle is 90 degrees, which means we have 90 degrees left to work with. Then, the top angle would be 60 degrees, because there is a straight line (which of course has to equal 180), so 180-120 = 60. Now, 90-60=30!

3 0
2 years ago
Read 2 more answers
Which is the best estimate for 49% of 598 <br> A. 3 <br> B.30<br> C.300<br> D.3,000
DIA [1.3K]

Answer:

300

Step-by-step explanation:

3 would be extremely low

30 would be low

300 would be about right

3,000 lets not talk about this

Hope this helps

7 0
3 years ago
Read 2 more answers
❗100 POINTS ❗
ratelena [41]

Factors of 36 are the list of integers that we can split evenly into 36. There are overall 9 factors of 36 among which 36 is the biggest factor and its positive factors are 1, 2, 3, 4, 6, 9, 12, 18, and 36. The Pair Factors of 36 are (1, 36), (2, 18), (3, 12), (4, 9) and (6, 6) and its Prime Factors are 1, 2, 3, 4, 6, 9, 12, 18, 36.

Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18 and 36

Negative Factors of 36: -1, -2, -3, -4, -6, -9, -12, -18 and -36

Prime Factors of 36: 2, 3

Prime Factorization of 36: 2 × 2 × 3 × 3 = 22 × 32

Sum of Factors of 36: 91

Factors of a number are the numbers that divide the given number exactly without any remainder. According to the definition of factors, factors of 36 are those numbers that exactly divide 36 leaving no remainder. In other words, we can say if two numbers are multiplied and the product is 36, then the numbers are factors of 36.

Let us do a hit and trial method to find factors of 36.

Divide 36 ÷ 2 = 18

Quotient = 18, remainder = 0

Now multiply 18 × 2 = 36

Hence, 18 and 2 are the factors of 18.

36 is a composite number as it has factors other than 1 and itself.

We can use different methods like the divisibility test, prime factorization, and the upside-down division method to calculate the factors of 36.

The most common method we use to find factors is the prime factorization method.

In prime factorization, we express 36 as a product of its prime factors.

In the division method, we see which numbers divide 36 exactly without a remainder.

Let us calculate factors of 36 using the following two methods:

Factors of 36 by prime factorization factor tree method

Factors of 36 by upside-down division method

Prime Factorization of 36 by Upside-Down Division Method

Now as discussed above, in the prime factorization method we show factors of 36 as a product of prime factors of 36. Follow the steps to find the prime factors of 36 by the prime factorization method.

With the help of divisibility rules, find out the smallest factor of the given number. Here, 36 is an even number. So it is clearly divisible by 2. In other words, 2 divides 36 with no remainder. Therefore, 2 is the smallest prime factor of 36.

36 ÷ 2 = 18.  Now find the prime factors of the obtained quotient. Repeat Step 1 and Step 2 till we get a prime number as the quotient. Here, 18 is the quotient.

18 ÷ 2 = 9. Here, 9 is the quotient. Now find the prime factors of the 9.

9 ÷ 3 = 3. Here 3 is the prime number. So we can stop the process.

Prime factorization of 36 using upside-down division method is 2 × 2 × 3 × 3 = 2² × 3².

Prime Factorization of 36 by Factor Tree Method

The factor tree method is another visualization method to represent factors of 36. It also helps in determining prime factors of 36. A factor tree is not unique for a given number. Instead of expressing 36 as 2 × 18, we can express 36 as 6 × 6.

Prime factorization of 36 using factor tree method is 2 × 2 × 3 × 3 = 2² × 3².

Explore factors using illustrations and interactive examples

Factors of 33: The factors of 33 are 1, 3, 11, and 33.

Factors of 34: The factors of 34 are 1, 2, 17, and 34.

Factors of 38:  The factors of 38 are 1, 2, 19, and 38.

Factors of 30: The factors of 30 are 1, 2, 3, 5, 6, 10, 15, and 30.

Factors of 360: The factors of 360 are 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, and 360.

Factors of 35: The factors of 35 are 1, 5, 7, and 35.

Factors of 37: The factors of 37 are 1 and 37.

Factors of 36 in Pairs

Factor pairs are the two numbers that, when multiplied, give the number 36. Find all of the factors of the number 36 using the steps below:

Step I: Start with 1 and the number itself.

Step II: Count up by ones to see if you can multiply two numbers together to get your target number.

Step III: Stop when you can’t get any more numbers in between.

Step IV: Connect the factor pairs.

Factor pairs of 36 are given below:

36 = 1 × 36

36 = 4 × 9

36 = 6 × 6

36 =12 × 3

36 = 18 × 2

Let us club the numbers in pairs.

The factors of 36 in pairs are (1, 36), (4, 9), (6, 6), (12, 3), and (18, 2).

There are a total of 5 pairs of factors of 36.

We can have negative factors also for a given number.  

Since the product of two negative numbers is positive [(-) × (-) = +].

The negative pair factors of 36 are (-1, -36), (-4, -9), (-6, -6), (-12, -3), and (-18, -2)

There are a total of 5 negative pairs of factors of 36.

Important Notes:

36 is a composite number as it has factors other than 1 and itself.

Factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, and 36.

Pair factors of 36 are (1, 36), (4, 9), (6, 6), (12, 3), and (18, 2).

1 is a factor of every number.

Prime factorization of 36 is 2 × 2 × 3 × 3 = 2² × 3².

Challenging Questions:

Find the factors of 3600 with the help of techniques used in finding factors of 36.

Prove that the factor of a number is always less than or equal to the number itself?

6 0
2 years ago
Other questions:
  • Complete the table dkskdsalaoakz
    9·1 answer
  • What is the midpoint between (-3,9) and (3,1)
    15·2 answers
  • Which sequence shows a pattern where each term is 1.5 times the previous term
    15·2 answers
  • Henry wants to buy a coat that has an original price of $125. During an upcoming sale, the price of the coat will be reduced by
    11·1 answer
  • Pls help me solve pls show how you got the answer
    9·2 answers
  • Karris ran eight eighteenths of a kilometer and cycled nine eighteenths kilometers in a race. How many kilometers was the race i
    8·2 answers
  • Find the rate of change
    15·1 answer
  • Y=2x+1 when x increases by 5,y increases by​
    14·1 answer
  • A car traveled 212 km in 5 hours what was the cars average speed
    6·1 answer
  • Four students were asked to write a ratio equivalent to - Their answers are
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!