Additional Sample Assessment Material Unit 1 Principles of Computer Science Mark Scheme PDF
Additional Sample Assessment Material Unit 1 Principles of Computer Science Mark Scheme PDF
Edexcel and BTEC qualifications come from Pearson, the world’s leading learning
company. We provide a wide range of qualifications including academic, vocational,
occupational and specific programmes for employers. For further information visit our
qualifications websites at www.edexcel.com or www.btec.co.uk for our BTEC
qualifications.
Alternatively, you can get in touch with us using the details on our contact us page at
www.edexcel.com/contactus.
If you have any subject specific questions about this specification that require the help
of a subject specialist, you can speak directly to the subject team at Pearson.
Their contact details can be found on this link: www.edexcel.com/teachingservices.
You can also use our online Ask the Expert service at www.edexcel.com/ask. You will
need an Edexcel username and password to access this service.
June 2016
Publications Code xxxxxxxx*
All the material in this publication is copyright
© Pearson Education Ltd 2016
Unit 1: Principles of Computer Science –
sample marking grid
All learners must receive the same treatment. Examiners must mark the first
learner in exactly the same way as they mark the last.
Marking grids should be applied positively. Learners must be rewarded for what
they have shown they can do, rather than be penalised for omissions.
Examiners should mark according to the marking grid, not according to their
perception of where the grade boundaries may lie.
All marks on the marking grid should be used appropriately.
All the marks on the marking grid are designed to be awarded. Examiners
should always award full marks if deserved. Examiners should also be prepared
to award zero marks, if the learner’s response is not rewardable according to
the marking grid.
Where judgement is required, a marking grid will provide the principles by
which marks will be awarded.
When examiners are in doubt regarding the application of the marking grid to a
learner’s response, a senior examiner should be consulted.
The marking grids have been designed to assess learner work holistically.
Rows in the grids identify the assessment focus/outcome being targeted. When
using a marking grid, the ‘best fit’ approach should be used.
● Examiners should first make a holistic judgement on which band most
closely matches the learner’s response and place it within that band.
Learners will be placed in the band that best describes their answer.
● The mark awarded within the band will be decided based on the quality of
the answer, in response to the assessment focus/outcome and will be
modified according to how securely all bullet points are displayed at that
band.
● Marks will be awarded towards the top or bottom of that band, depending
on how they have evidenced each of the descriptor bullet points.
Question Answer Mark
Number
1(a) Award 1 mark for any of the following up to a
maximum of 2 marks.
Check the length and width are entered
Convert feet to (square) metres
Calculate the amount of square
metres/area
Multiply the price for one square metre by
the number of square metres required
Deduct the discount if more than 20
square metres are ordered (2)
Guidance:
1 mark for each of the following points:
Decision box showing correct logic for checking
that the length AND width have been entered
(e.g. length AND width >0) (1)
Yes route correctly labelled and leads to running
the function ‘calculate’ (1)
No route correctly labelled, leads to error
message and prompts user to re-enter the
measurements (1)
Appropriate conventions for a flow chart (e.g.
correct BCS symbols, correct data flow) (1) (4)
Question Answer Mark
Number
2(a) Award one mark for each correct value in the
table up to a maximum of four marks.
Indicative content:
Insertion sorts will sort the data faster as the number
of scores to be sorted is small. If the number of
scores in the array was larger than a quick sort would
be more efficient as insertion sorts could possibly
need to shift all numbers in the array upwards,
therefore taking longer to complete the sort.
Insertion sorts are easy to create the programming
code for. Although the number of scores is likely to
increase over an academic year the number of scores
in the sort is unlikely to reach an amount that will
decrease the performance of the insertion sort.
Therefore it will be more time efficient for the
programmer to create an insertion sort as quick sorts
can take a long time to create the code for. As quick
sorts would not give a better performance on the
small amount of scores within the array, it may not
be worth spending more time creating the code.
There is a small possibility that the test scores may
already be in order. This is ideal for insertion sorts as
the best case for this sort is when the list is
already/mostly sorted. However, this is actually the
worst case for quick sorts as it can be difficult to
choose a pivot that allows the data to be sorted
efficiently, which can therefore decrease performance
of the sort.
Insertion sorts are less memory intensive. It only
needs one extra storage location to temporarily score
a number before it is inserted into the correct
position. Quick sorts rely heavily on recursion and
therefore more memory is used up running more
code and carrying out more comparisons to put
numbers into the correct position, which can
decrease performance. (8)
Mark scheme (award up to 8 marks) refer to the guidance on the cover of this
document for how to apply levels-based mark schemes*.
Level Mark Descriptor
Level 0 0 No rewardable material.
Level 1 1-2 Technical vocabulary is used but it is not used appropriately to
support arguments in relation to the issues of the question.
Example Solution:
Alternative Solution:
Award one mark for each identification up to a maximum of six
marks
Identifying that 4 different searches are required.
Step 1 - Identify 1 as the lower boundary, 23 as the middle
boundary and 59 as the upper boundary.
Step 2 - Identifying 29 as the lower boundary, 41 as the
middle boundary and 59 as the upper boundary.
Step 3 - Identifying 43 as the lower boundary, 47 as the
middle boundary and 59 as the upper boundary.
Step 4 - Identifying 53 as the middle boundary and 59 as
the upper boundary.
Correctly identifying no lower boundary / the same lower
and middle boundary on step 4.
Line 6 (1)
The address would not be positioned correctly (1)
as the centre tag has been misspelled (1)
Line 9 (1)
The details heading would not be displayed (1) as
the tag has been displayed incorrectly (1)
Line 18 (1)
The email address would not appear in bold (1)
as the strong tag has been misspelled (1)
Line 22 (1)
The image would not be displayed (1) as the file
type of the image has been incorrectly identified (3)
(1)
Question Answer Mark
Number
4(c) Answers will be credited according to the
learner’s demonstration of knowledge and
understanding of the material using the indicative
content and levels descriptors below. The
indicative content that follows is not prescriptive.
Answers may cover some/all of the indicative
content but should be rewarded for other relevant
answers.
Indicative content:
HTML does not allow server-side
processing. In order for customers to view
previous animal treatments the
programming code will need to search for
their data on a central server. However,
HTML code is run on the client side (on
their browser) and so therefore does not
store or have the functionality to display
stored data.
The surgery needs to display dynamic data
that is relevant to each customer;
however, HTML is a markup language and
so therefore is only ideal for displaying
static information. Therefore HTML can
only display the same information for all
customers who view the website.
Although HTML has the ability to carry out
some conditional statements for different
web browsers, HTML is not a true
programming language and so therefore
the code would need to incorporate other
languages such as Java Script that have
increased programming functionality to
give the website increased user
(6)
interactivity.
Mark scheme (award up to 6 marks) refer to the guidance on the cover of this
document for how to apply levels-based mark schemes*.
Level Mark Descriptor
Level 0 0 No rewardable material.
Level 1 1-2 Technical vocabulary is used but it is not used appropriately to
support arguments in relation to the issues of the question.
CODE COMMENTS
There are very limited comments provided
by the original programmer.
The comments that have been provided do
not actually inform a third party what the
code does.
A third party may not understand the code
to be able to adapt it or will have to spend
time working out what the code actually
does before they can carry out
maintenance work on it.
However, an experienced programmer
would probably be able to work out what
the code does, but may have to spend
time annotating the code before they carry
out maintenance.
If the code is expanded and new code
comments continue to be limited/poor
then it could make it problematic in the
future to maintain the code.
BLOCKS
The programmer has generally structured
the code well into 4 main blocks.
This breaks the code down and makes it
easier to navigate around the main parts
of the program.
A third party can therefore clearly see the
main focus for each part of the
programming code. Block A shows lists
that have been set up, Block B shows
variables being set, Block C contains a
function that will search for appointments
and, finally, Block D allows for user input.
LOOPING
The programmer has made good use of
while and for loops to make the code very
efficient.
The number of lines in the code is
therefore significantly reduced, which will
therefore reduce the amount of code that
needs to be maintained.
If one part of the part of the programming
code is changed then it’s ‘knock on’ affect
will be smaller as there is less code that
may also need to be changed as a result.
FUNCTIONS
The programmer has created a function
which is a ‘self-contained’ block of code.
This therefore means that if the code
needs to be changed, it only needs to be
changed once within the function but can
be run many times within the code.
This function could also be reused in the
future if the program was expanded to
improve future efficiency.
INDENTATION
The programmer has made very good use
of indentation in order to separate
different statements in the program.
The indents allow a third party to clearly
see the flow of the program, which will
help the programmer to work out what the
code does and which parts of the code
relate to each other.
VARIABLE/FUNCTION NAMES
The programmer has chosen poor
variable/function names within the code.
The variable names do not accurately
reflect the data that is being stored by the
program.
This can make it difficult to keep track of
the variables throughout the program and
make it difficult to understand why that
variable is being used and how it could be
used again in the future if the code was
expanded.
The code uses a global variable approach,
which may cause problems if the code is
expanded. If more functions are developed
in the future then it’s more difficult to
maintain the integrity of the data stored in
the variable as it could be accessed and
changed by many different functions. (12)
Mark scheme (award up to 12 marks) refer to the guidance on the cover of this
document for how to apply levels-based mark schemes*.
Level Mark Descriptor
Level 0 0 No rewardable material.
Level 1 1-4 Technical vocabulary is used but it is not used appropriately to
support arguments in relation to the issues of the question.