EDEXCEL GCSE Computing sample assessment material exam paper can be downloaded here


1A Answer
Any two from:
• Date/time of last service (1).
• Total running time since last service (1)
• Details of last service (1)
• Overall total of running time since car bought (lifetime) (1)
• Car number (1)
More help here 
• Date/time of last service (1).
• Total running time since last service (1)
• Details of last service (1)
• Overall total of running time since car bought (lifetime) (1)
• Car number (1)
More help here 
1B answer
An expression that includes:
• Calculation showing age in years (1)
• 30 min + (10 min * ageInYears) (1)
Example:
30 + (10 * (todayYear – purchaseYear))
(todayYear – purchaseYear) * 10 + 30
30 min + (10 min * (todayYear – purchaseYear))
More help here 
• Calculation showing age in years (1)
• 30 min + (10 min * ageInYears) (1)
Example:
30 + (10 * (todayYear – purchaseYear))
(todayYear – purchaseYear) * 10 + 30
30 min + (10 min * (todayYear – purchaseYear))
More help here 
2B answer
One mark for a correct statement:
• Returns the integer part of a division
More help here 
• Returns the integer part of a division
More help here 
4a answer
Any two from:
• Indentation (1)
• White space (1)
• Descriptive identifiers (1)
• Comments (1)
More help here 
• Indentation (1)
• White space (1)
• Descriptive identifiers (1)
• Comments (1)
More help here 
5a answer
An explanation that makes reference to the following point:
• This is a syntax error (1)
Plus one from:
• Because there is an error in using the grammar/rules of the programming language (1)
• Because the word SET has been spelled incorrectly as TES/TES is not a recognised command word (1)
More help here 
• This is a syntax error (1)
Plus one from:
• Because there is an error in using the grammar/rules of the programming language (1)
• Because the word SET has been spelled incorrectly as TES/TES is not a recognised command word (1)
More help here 
5B answer
An error and a correction for each line:
Line 10
• Error: The variable maximum doesn’t get reset to the maximum number of visitors/the variable maximum is initialised too high (1)
• Correction: SET maximum TO 0/SET maximum TO –n (1)
Line 13:
• Error: The for loop goes around too many times/the code goes past the end of the visitor array/offbyone error on array length (1)
• Correction: FOR index FROM 0 TO (length1) DO (1)
More help here 
Line 10
• Error: The variable maximum doesn’t get reset to the maximum number of visitors/the variable maximum is initialised too high (1)
• Correction: SET maximum TO 0/SET maximum TO –n (1)
Line 13:
• Error: The for loop goes around too many times/the code goes past the end of the visitor array/offbyone error on array length (1)
• Correction: FOR index FROM 0 TO (length1) DO (1)
More help here 
6A answer
One mark for the correct name:
• Return value/return result/result (1)
More help here 
• Return value/return result/result (1)
More help here 
6B answer
An explanation that makes reference to the following points:
• The variable, totalTime, on line 16 is a local variable, which exists only inside the function (1)
• so updating it will not change the value of totalTime on line 2, which is a global variable (1)
More help here 
• The variable, totalTime, on line 16 is a local variable, which exists only inside the function (1)
• so updating it will not change the value of totalTime on line 2, which is a global variable (1)
More help here 
6c answer
An explanation that makes reference to the following points:
• Executing the pseudocode on line 17 will have no effect on TOTALTIME (1)
• because the variable TOTALTIME has been defined on line 5 as a constant, which means its value cannot be changed during execution (1)
More help here 
• Executing the pseudocode on line 17 will have no effect on TOTALTIME (1)
• because the variable TOTALTIME has been defined on line 5 as a constant, which means its value cannot be changed during execution (1)
More help here 
8 answer
An assessment that includes:
• Using a 1dimensional array is the most appropriate choice (1)
and four from:
• 20 variables requires 20 distinct names (1)
• An array requires only one name (1)
• 20 variables may require complex selection statements (1)
• An array may require only one loop (1)
• 20 variables are always needed even if fewer cars are in the race (1)
• An array can be allocated to the exact number of cars (1)
More help here 
• Using a 1dimensional array is the most appropriate choice (1)
and four from:
• 20 variables requires 20 distinct names (1)
• An array requires only one name (1)
• 20 variables may require complex selection statements (1)
• An array may require only one loop (1)
• 20 variables are always needed even if fewer cars are in the race (1)
• An array can be allocated to the exact number of cars (1)
More help here 
9a answer
An explanation that makes reference to the following points:
• Sorting the file by postcode would make the searching more efficient (1)
• because not every record has to be looked at to find the targeted postcodes (1)
• since you can stop looking when you go past where your targeted postcode should be (1)
More help here 
• Sorting the file by postcode would make the searching more efficient (1)
• because not every record has to be looked at to find the targeted postcodes (1)
• since you can stop looking when you go past where your targeted postcode should be (1)
More help here 
9Bi answer
Identified issues that include:
• it is unethical to ask for the ethnic origin of a person who will be driving a car (1)
• Collected information can be directly tied to an identifiable individual (1)
More help here 
• it is unethical to ask for the ethnic origin of a person who will be driving a car (1)
• Collected information can be directly tied to an identifiable individual (1)
More help here 
9Bii answer
Any one from:
• Redistribution of the data without permission may be illegal (1)
• Use of data for purposes other than which it is collected for may be illegal (1)
• Organisations may have to ask permission before sharing personal data with a third party (1)
More help here 
• Redistribution of the data without permission may be illegal (1)
• Use of data for purposes other than which it is collected for may be illegal (1)
• Organisations may have to ask permission before sharing personal data with a third party (1)
More help here 
10a answer
A completed flow chart that includes:
• Correct ellipse symbol for flow chart start (1)
• Correct word ‘Start’ or ‘Begin’ in symbol (1)
• Correct diamond symbol for decision (1)
• Correct test ‘newPos < oldPos’ in symbol (1)
• Correct label ‘yes’ on bottom arrow (1)
• Correct label ‘no’ on right arrow (1)
More help here 
• Correct ellipse symbol for flow chart start (1)
• Correct word ‘Start’ or ‘Begin’ in symbol (1)
• Correct diamond symbol for decision (1)
• Correct test ‘newPos < oldPos’ in symbol (1)
• Correct label ‘yes’ on bottom arrow (1)
• Correct label ‘no’ on right arrow (1)
More help here 
11 answeR
More help here 