GoConqr has a new look! Let us know what you think.

Module 12 of 18 · Media

Test result revisit

Kostas Diakogiannis

Test result revisit

A-6 Test Results revisit

Imagine that a fellow teacher has decided to split your results into two arrays of 5 length each. The one contains only scores from the ones that have passed and the other one from the ones that have not. 

You didn't want that but you don't want to say something bad to him because you are friends and colleagues more years than someone can remember.

The array that holds the good scores is [67, 82, 91, 96, 54].

The array that holds the bad scores is [46, 48, 24, 33, 30].

Find a way to unite these 2 arrays into one.  Possibly the concat function is going to be helpful at this point and you want to revisit it's documentation here.

Calculate the average of  this unified array. Add a new element score (an 11th) to the new unified  array and recalculate the average again. Compare if the average has moved up, down and by what margin? 

In the end try to find the best score in the class and print it to the console.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?