Question mp Answer Additional Guidance Mark
1 (a) A1 1. The only correct answer is B
A is not correct because as it is an arithmetic operator
C is not correct because as it is a relational operator
D is not correct b
...
Question mp Answer Additional Guidance Mark
1 (a) A1 1. The only correct answer is B
A is not correct because as it is an arithmetic operator
C is not correct because as it is a relational operator
D is not correct because as it is a relational operator (1)
Question mp Answer Additional Guidance Mark
1 (b) B1
B2
Award up to 2 marks for a linked description such as:
• 1D represents items as a list (1), 2D as a table (1)
• 1D is a row (1), 2D is a table (1)
• Each element in 1D is a single value (1), each element in 2D is a 1D array (1)
Ignore capitalisation
(2)
Question mp Answer Additional Guidance Mark
2 (c) Award 1 mark for each set of test data.
(3)
C1
Test data Expected results
booksSold Either of
• booksSold = 4
• profit = 4
Poor performances this week
profit
booksSold 5 Sales and profit are good this week
profit 10
booksSold 21 Sales and profit are excellent this week
profit 20
C2
C3
http://britishstudentroom.wordpress.com/Question mp Answer Additional Guidance Mark
3 (b) B1 Award up to 2 marks for a linked explanation such as:
• The number of keys are limited (1) making it easy to use brute force to decrypt (1)
• It can be easy to find commonly used letters (e.g. E) (1) and guess the key (1)
Accept alternative similar
wording.
(2)
Question mp Answer Additional Guidance Mark
3 (c) Award 1 mark each up to a maximum of 4 for:
Encrypted letter f l m k t r w h e e
Keyword letter t h i r t y t h i r
Decrypted letter m e e t a t d a w n
(4)
C1 Ciphertext mapped to keyword in row 2 (1)
C2 At least one letter decrypted correctly (1)
C3 At least one word decrypted correctly (1)
C4 Decrypted message ‘meet at dawn’ (1)
http://britishstudentroom.wordpress.com/Question mp Answer Additional Guidance Mark
3 (d)(i) D1 Award 1 mark for:
• cipherLetter / a single encrypted letter (1)
Do not accept
word/message/text
(1)
3 (d)(ii) D2 Award 1 mark for any of:
• keywordLetter
• plaintextLetter
Ignore case
(1)
3 (d)(iii) D2 Award 1 mark for any of:
• subprogram that is already defined
• subprogram that is already written
• subprogram that is already compiled
• subprogram that can be called without having to write code for it (1)
Question mp Answer Additional Guidance Mark
4 (b)(i) B1 Award up to 2 marks for a linked explanation:
• binary search can be quicker than a linear search (1) as it does
not have to examine each item in the list (1)
• binary search halves the list each time (1) so it can be faster to
find an item (1)
• binary search requires fewer comparisons than a linear search
to establish an item is not in the list (1) because the linear list
would need to compare each item before establishing this (1)
[Show More]