TASK 1 – Set up arrays
Set-up one dimensional arrays to store:
• Student names
• Student marks for Test 1, Test 2 and Test 3
o Test 1 is out of 20 marks
o Test 2 is out of 25 marks
o Test 3 is out of 35 marks
• Total score for each student
Input and store the names for 30 students. You may assume that the students’ names are unique.
Input and store the students’ marks for Test 1, Test 2 and Test 3. All the marks must be validated on entry and any invalid marks rejected
Show
two different sets of student data that you could use to check the validation used in
Task 1. Explain why you chose each data set.
Set 1 .........................................
Reason for choice ......................................
Set 2 .....................................................
Reason for choice .........................................
[2]