Practice Paper Set 2 Algorithms Programming Mark Scheme
Practice Paper Set 2 Algorithms Programming Mark Scheme
FINAL
MARKING INSTRUCTIONS
SCORIS
1. Make sure that you have accessed and completed the relevant training packages for on-screen marking: scoris assessor Online Training; OCR
Essential Guide to Marking.
2. Make sure that you have read and understood the mark scheme and the question paper for this unit. These are posted on the RM Cambridge
Assessment Support Portal http://www.rm.com/support/ca
3. Log-in to scoris and mark the required number of practice responses (“scripts”) and the required number of standardisation responses.
YOU MUST MARK 10 PRACTICE AND 10 STANDARDISATION RESPONSES BEFORE YOU CAN BE APPROVED TO MARK LIVE SCRIPTS.
TRADITIONAL
Before the Standardisation meeting you must mark at least 10 scripts from several centres. For this preliminary marking you should use pencil and
follow the mark scheme. Bring these marked scripts to the meeting.
MARKING
3. The schedule of dates is very important. It is essential that you meet the scoris 50% and 100% (traditional 50% Batch 1 and 100% Batch 2)
deadlines. If you experience problems, you must contact your Team Leader (Supervisor) without delay.
4. If you are in any doubt about applying the mark scheme, consult your Team Leader by telephone, email or via the scoris messaging system.
2
H446/02 Mark Scheme Practice Paper 2
6. Always check the pages (and additional objects if present) at the end of the response in case any answers have been continued there. If the
candidate has continued an answer there then add a tick to confirm that the work has been seen.
8. The scoris comments box is used by your Team Leader to explain the marking of the practice responses. Please refer to these comments when
checking your practice responses. Do not use the comments box for any other reason.
If you have any questions or comments for your Team Leader, use telephone, email or the scoris messaging system.
9. Assistant Examiners will send a brief report on the performance of candidates to their Team Leader (Supervisor) via email by the end of the
marking period. The report should contain notes on particular strengths displayed as well as common errors or weaknesses. Constructive criticism
of the question paper/mark scheme is also appreciated.
3
H446/02 Mark Scheme Practice paper 2
11. Annotations
Annotation Meaning
Omission mark
Incorrect point
Expansion of a point
Follow through
Repeat
Correct point
Too vague
Zero (big)
4
H446/02 Mark Scheme Practice Paper 2
Blank Page – this annotation must be used on all blank pages within an answer booklet (structured or unstructured) and on
each page of an additional object where there is no candidate response.
Level 1
Level 2
Level 3
5
H446/02 Mark Scheme Practice paper 2
INTRODUCTION
Your first task as an Examiner is to become thoroughly familiar with the material on which the examination depends. This material includes:
• the specification, especially the assessment objectives
• the question paper and its rubrics
• the mark scheme.
You should ensure also that you are familiar with the administrative procedures related to the marking process. These are set out in the OCR
booklet Instructions for Examiners. If you are examining for the first time, please read carefully Appendix 5 Introduction to Script Marking:
Notes for New Examiners.
Please ask for help or guidance whenever you need it. Your first point of contact is your Team Leader.
6
H446/02 Mark Scheme Practice Paper 2
Please study this Mark Scheme carefully. The Mark Scheme is an integral part of the process that begins with the setting of the question paper and
ends with the awarding of grades. Question papers and Mark Schemes are developed in association with each other so that issues of
differentiation and positive achievement can be addressed from the very start.
This Mark Scheme is a working document; it is not exhaustive; it does not provide ‘correct’ answers. The Mark Scheme can only provide ‘best
guesses’ about how the question will work out, and it is subject to revision after we have looked at a wide range of scripts.
The Examiners’ Standardisation Meeting will ensure that the Mark Scheme covers the range of candidates’ responses to the questions, and that all
Examiners understand and apply the Mark Scheme in the same way. The Mark Scheme will be discussed and amended at the meeting, and
administrative procedures will be confirmed. Co-ordination scripts will be issued at the meeting to exemplify aspects of candidates’ responses and
achievements; the co-ordination scripts then become part of this Mark Scheme.
Before the Standardisation Meeting, you should read and mark in pencil a number of scripts, in order to gain an impression of the range of
responses and achievement that may be expected.
In your marking, you will encounter valid responses which are not covered by the Mark Scheme: these responses must be credited. You will
encounter answers which fall outside the ‘target range’ of Bands for the paper which you are marking. Please mark these answers according to the
marking criteria.
Please read carefully all the scripts in your allocation and make every effort to look positively for achievement throughout the ability range. Always
be prepared to use the full range of marks.
7
H446/02 Mark Scheme Practice paper 2
The indicative content indicates the expected parameters for candidates’ answers, but be prepared to recognise and credit unexpected approaches
where they show relevance.
Using ‘best-fit’, decide first which set of BAND DESCRIPTORS best describes the overall quality of the answer. Once the band is located, adjust
the mark concentrating on features of the answer which make it stronger or weaker following the guidelines for refinement.
• Highest mark: If clear evidence of all the qualities in the band descriptors is shown, the HIGHEST Mark should be awarded.
• Lowest mark: If the answer shows the candidate to be borderline (i.e. they have achieved all the qualities of the bands below and show
limited evidence of meeting the criteria of the band in question) the LOWEST mark should be awarded.
• Middle mark: This mark should be used for candidates who are secure in the band. They are not ‘borderline’ but they have only achieved
some of the qualities in the band descriptors.
Be prepared to use the full range of marks. Do not reserve (e.g.) high Band 3 marks ‘in case’ something turns up of a quality you have not yet seen.
If an answer gives clear evidence of the qualities described in the band descriptors, reward appropriately.
8
H446/02 Mark Scheme Practice Paper 2
9
H446/02 Mark Scheme Practice paper 2
Assessment Objective
AO1 Demonstrate knowledge and understanding of the principles and concepts of computer science, including abstraction, logic, algorithms and data
representation.
AO1.1 Demonstrate knowledge of the principles and concepts of abstraction, logic, algorithms, data representation or other as appropriate.
AO1.2 Demonstrate understanding of the principles and concepts of abstraction, logic, algorithms, data representation or other as appropriate.
AO2 Apply knowledge and understanding of the principles and concepts of computer science including to analyse problems in computational terms.
AO2.1 Apply knowledge and understanding of the principles and concepts of computer science.
AO3 Design, program and evaluate computer systems that solve problems, making reasoned judgements about these and presenting conclusions.
AO3.3 Evaluate computer systems that solve problems, making reasoned judgements about these and presenting conclusions.
10
H446/02 Mark Scheme Practice Paper 2
11
H446/02 Mark Scheme Practice paper 2
12
H446/02 Mark Scheme Practice Paper 2
13
H446/02 Mark Scheme Practice paper 2
14
H446/02 Mark Scheme Practice Paper 2
2 b iii 1 mark per bullet, max 7 for calculations/explanation, max 1 for correct final path 8
AO1.2
• Visiting H with correct heuristic (4)
• Visiting G and N from H AO2.1
o Calculating correct distance+heuristic for G and N (4)
• Identifying G as the smallest value
• Visiting L and M from G
o Calculating distance+heuristic for L and M
• Identifying L as the smallest value
• Visiting E
o Calculating distance+heuristic for E
e.g.
Node Distance Heuristic distance+heuristic previous
travelled node
H 0 80 80 -
G 25 70 95 H
N 210 90 300 H
L 51+25=76 50 126 G
M 176+25=201 20 221 G
233+210=443 463 N
E 307+76=383 0 383 L
2 b iv 1 mark for decision, 2 marks for effect 3
e.g. AO2.1
Decision: (3)
• Choosing which node to take next
• The shortest distance+heuristic is taken
Effect:
• All adjoining nodes from this new node are taken
• Other nodes are compared again in future checks
• Assumed that this node is a shorter distance
15
H446/02 Mark Scheme Practice paper 2
16
H446/02 Mark Scheme Practice Paper 2
knowledge and understanding to the context provided (searching algorithms). AO3: Evaluation
The candidate provides a limited discussion which is narrow in focus. Candidates will need to evaluate the
Judgements if made are weak and unsubstantiated. benefits and drawbacks of concurrent
The information is basic and comunicated in an unstructured way. The processing in searching
information is supported by limited evidence and the relationship to the e.g.
evidence may not be clear. • Possibly find solution faster
• Takes up more memory
0 marks • Increase program throughput
No attempt to answer the question or response is not worthy of credit. • May waste time investigating
inefficient solutions
• More difficult to program especially
to cooperate
• More memory intensive
• Linear search scales very with
additional processors
• Binary search can perform better on
large data sets with one processor
than linear search with many
processors
17
H446/02 Mark Scheme Practice paper 2
AO3: Evaluation
Mark Band 1 – Low Level e.g.
(1-3 marks) • Increase speed of production
The candidate demonstrates a basic knowledge of decomposition and • Assign areas to specialities
abstraction with limited understanding shown; the material is basic and • Allows use of pre-existing modules
contains some inaccuracies. The candidates makes a limited attempt to apply • Allows re-use of new modules
acquired knowledge and understanding to the context provided. • Need to ensure subprograms can
The candidate provides a limited discussion which is narrow in focus. interact correctly
Judgements if made are weak and unsubstantiated. • Can introduce errors
The information is basic and comunicated in an unstructured way. The • Reduces processing/memory
information is supported by limited evidence and the relationship to the requirements
evidence may not be clear. • Increases response speeds of
programs
0 marks
No attempt to answer the question or response is not worthy of credit.
3 c 2 marks for definition, max 2 for application 4 Allow any reasonable example
Caching: AO1.1 A well-developed example can gain two
• Data that has been used is stored in cache/ram in case it is needed (2) marks
again AO2.1
• Allows faster access for future use (2)
18
H446/02 Mark Scheme Practice Paper 2
Application:
e.g.
• Store patients’ details/conditions/appearance
• Design of people in the simulation
• Design of specific rooms
3 d i 1 mark per bullet 3
• How the times scales as data size increases AO1.1
• O(n) = linear complexity (1)
• Increases at the same rate as the number of data items increases AO2.1
(2)
19
H446/02 Mark Scheme Practice paper 2
3 d ii 1 mark each 2
A = exponential AO1.1
B = logarithmic (2)
3 d iii 1 mark for recommendation, max 3 for explanation 4
• Recommend: Solution B AO1.2
Justification (2)
• A’s space does not scale well when increased in number of items AO2.1
• B’s space scales well / does not increase significantly with number of (2)
items
• As n increases at some point a will require significantly more space
than B
• Both have same time complexity so need to look at space
Stepping
• Can set the program to run line by line
• Slow down/watch execution
• Find the point where an error occurs
4 a 1 mark for each correct swap identified/described 6
AO1.2
sheep rabbit dog fox cow horse cat deer (3)
sheep rabbit fox dog cow horse cat deer AO2.1
sheep rabbit fox dog horse cow cat deer (3)
sheep rabbit fox dog horse cow deer cat
sheep rabbit fox horse dog cow deer cat
sheep rabbit fox horse dog deer cow cat
sheep rabbit horse fox dog deer cow cat
4 b 1 mark per bullet to max 7 7 Allow reversed true and false
• Correct function declaration, taking string1 and string2 as parameters AO2.1
• Use of a flag (1)
AO2.2
20
H446/02 Mark Scheme Practice Paper 2
e.g.
function contains(string1, string2)
wordInside = false
for i = 0 to (string2.length – string1.length)
if string2.substring(i, string1.length) ==
string1 then
wordInside=true
endif
next i
return wordInside
endfunction
21
H446/02 Mark Scheme Practice paper 2
e.g.
22
H446/02 Mark Scheme Practice Paper 2
23
H446/02 Mark Scheme Practice paper 2
provides a thorough discussion which is well balanced. Evaluative comments (3) • The actual value is not
are consistently relevant and well considered sent/received
There is a well-developed line of reasoning which is clear and logically • If changed the original is also
structured. The information presented is relevant and substantiated. changed when the subroutine
ends
Mark Band 2 – Mid level
(4-6 marks) AO2: Application
The candidate demonstrates reasonable knoledge and understanding of • Send by value
passing values by reference and by value; the material is generally accurate • The currentPlayer value is
but at times underdeveloped. not /does not need to be
The candidate is able to apply their knowledge and understanding directly to changed in the subprogram
the context provided although one or two opportunities are missed. • Send by reference
Evidence/examples are for the most part implicitly relevant to the explanation.
• The currentPlayer value is
The candidate provides a reasonable discussion, the majority of which is
updated
focused. Evaluative comments are, for the most part appropriate, although
one or two opportunities for development are missed.
AO3: Evaluation
There is a line of reasoning presented with some structure. The information
presented is in the most part relevant and supported by some evidence • ByValue creates new memory
space…
• ByReference means existing
Mark Band 1 – Low Level memory space is used
(1-3 marks) • Depends if original variable is
The candidate demonstrates a basic knowledge of passing values by local/global
reference and by value with limited understanding shown; the material is basic • If local and just referenced, send
and contains some inaccuracies. The candidates makes a limited attempt to by value
apply acquired knowledge and understanding to the context provided. • If original value needs editing
The candidate provides a limited discussion which is narrow in focus. send by reference
Judgements if made are weak and unsubstantiated. • If passing by reference then
The information is basic and comunicated in an unstructured way. The instead of returning position
information is supported by limited evidence and the relationship to the the code could just amend
evidence may not be clear. currentPlayer.position
• If passing by value there could
0 marks be inconsistencies when
No attempt to answer the question or response is not worthy of credit. currentPlayer is passed to
other methods, for example
pickDeck
24
H446/02 Mark Scheme Practice Paper 2
procedure pickDeck(currentPlayer)
output(deck[headPointer].getTextToDisplay())
amount = deck[headPointer].getMoney()
currentPlayer.setMoney(currentPlayer.getMoney() +
amount)
headPointer = headPointer + 1
if headPointer == 40 then
headPointer = 0
endif
endprocedure
5 d • Declaring the procedure with correct parameters 10 Allow follow through for incorrect
• Check if the space/animal is free AO2.2(5) accessing of methods
o If free, outputting name and cost AO3.2(5)
o Checking if they want to buy
Calling purchase with current player and animal
• If they own the animal, checking if they can upgrade
If they can, asking if they want to upgrade outputting the
cost
If they want to, calling the upgrade method
• If they don’t own the animal
o Calling chargeStay with the amount to charge and the current
player
25
H446/02 Mark Scheme Practice paper 2
e.g.
procedure checkAnimal(currentPlayer)
if board[currentPlayer.getPosition()].owned == “free”
answer = input(“Would you like to purchase “,
board[position].getName(), “? It costs “,
board[position].getCost()
if board[currentPlayer.getPosition()].getCurrentLevel()
!= “L3”
answer = input(“Upgrade? It costs “,
board[position].getCost())
endif
else
amount = board[position].getAmountToCharge()
chargeStay(amount, currentPlayer)
endif
endprocedure
26
H446/02 Mark Scheme Practice Paper 2
* = extended response
m = mathematical content
27