Expected response Additional guidance Task Marks available 2 Software design and development 2a Award 1 mark each for any two of the following: there are 973 beaches in file the file data (names and rating) is assumed to be accurate (2) no input validation required for file data 2 rating entered by user will only be an integer from 1 to 5 Analysis the user can only enter one beach to display (as the program only runs once) 2b (i) Procedure with use of parameter passing (beach data record structure) created to read file 1 data file Read data from file from 1 Store beach names and ratings in Input a record structure 1 Function with use of parameter passing (beach data record (12) structure) created to return 1 average rating Count occurrences algorithm. Award 1 mark for three bullets rating Award 2 marks for: Implementation Award 0 marks for fixed loop for each record fewer than three average 2 bullets selection (not 5) running total of ratings incrementing counter Calculate Average rating calculated correctly 1
Task Expected response Additional guidance Marks available 2 Software design and development 2a Award 1 mark each for any two of the following: there are 973 beaches in file the file data (names and rating) is assumed to be accurate no input validation required for file data rating entered by user will only be an integer from 1 to 5 the user can only enter one beach to display (as the program only runs once) 2 Analysis (2) 2b (i) Input from file Procedure with use of parameter passing (beach data record structure) created to read file data 1 Implementation (12) Read data from file 1 Store beach names and ratings in a record structure 1 Calculate average rating Function with use of parameter passing (beach data record structure) created to return average rating 1 Count occurrences algorithm. Award 2 marks for: fixed loop for each record selection (not 5) running total of ratings incrementing counter Award 1 mark for three bullets Award 0 marks for fewer than three bullets 2 Average rating calculated correctly 1
HigherCATComputingScience.docx