(a).

An array DATA holds 40 numbers. Construct an algorithm to calculate the MEAN of these numbers.

[4](b).

Construct an algorithm that will use the array DIFFERENCE that for each element in DATA will calculate the difference between this value and the MEAN calculated in part a. The value stored in DIFFERENCE must alway be positive. Note you do not need to show the code that calculates the MEAN.

[5]Extended Response9 MarksShared

1 Use1 View0 Likes

Login or Create an Account to view the mark scheme, comment, and add to a test