Computer Science Paper 1 SL Markscheme
Computer Science Paper 1 SL Markscheme
Computer Science Paper 1 SL Markscheme
Markscheme
November 2017
Computer science
Standard level
Paper 1
12 pages
–2– N17/4/COMSC/SP1/ENG/TZ0/XX/M
Section A
1. Award up to [2 max].
Fixed vocabulary;
Unambiguous meaning;
Consistent grammar;
Consistent syntax;
Provide a way to define basic data types and operations on those types (ability to write
functions/procedures);
Provide ability of Input and output handling;
Provide some kind of loop that can be stopped / conditional statement / branching
(conditional and unconditional branching);
It should have variables that reference computer memory, syntax for basic arithmetic
and logical;
Operations on those memory locations;
It has to run on/be able to be processed by a computer (ie it must have a
compiler/interpreter)
Remark: Beware of repetitions with the wording in the question paper, or repetitions
between the two given examples. Marks should not be awarded twice in those cases.
For example,
Search/look up, or comparable wording, are synonyms of the given Retrieve;
Insert/put, or comparable wording, are synonyms of the given Add;
Lists of repeated arithmetic operations that fall under examples of calculations (subtract,
divide, multiply, square) are all examples of calculations, and hence processing. [2]
Note: the term client is to be understood only from the computing perspective, ie
this is not a human. [1]
(b) A program/host computer that awaits and fulfills requests from client programs (in
the same or other computers) /
The role of a server is to fulfill requests from client programs (which can reside in
the same or in other computers)
Note: the term server is to be understood only from the computing perspective,
ie this is not a human. [1]
–4– N17/4/COMSC/SP1/ENG/TZ0/XX/M
4. Award up to [1 max].
Text-to-speech;
Voice recognition;
Braille keyboards;
Touch screen;
Input from scanner; [1]
5. Award [1] for all correct input values, [1] for a correct A NOR B column and [1] for a
correct (A NOR B) OR A column.
A B A NOR B (A NOR B) OR A
FALSE FALSE TRUE TRUE
FALSE TRUE FALSE FALSE
TRUE FALSE FALSE TRUE
TRUE TRUE FALSE TRUE
[3]
[3]
7. (a) N2 [1]
(b) N; [1]
Example answer
K = 1
loop while K <= N
output K
K = K + 1
end loop
Example 1
Buses are used as physical connections to carry information to the CPU;
The data bus transports data from/to CPU, whereas the address bus the memory
address where the data is supposed to go/be.
Example 2
Data bus is a physical connection to transport data from-to CPU to be
processed;
Address bus is a physical connection to transport an address of memory storage where data
(transported in the data bus) should be read/written;
Note: Award [1] mark, for responses that show some understanding of use of
buses in CPU, for address location and data transport without using specialist
terminology [2]
–6– N17/4/COMSC/SP1/ENG/TZ0/XX/M
9. Binary digit;
(Minimal) unit of storage that can be set to 0 or 1; [1]
Section B
11. (a) Each word in the text file is compared with words in a dictionary (held in
memory/online);
If the word is found in the dictionary it is correctly spelt / if the word is not found in
the dictionary, spellchecker will recognize that it is incorrectly spelt; [2]
NOTE: accept responses that express evidence of just a partial loss of the file. [1]
(d) Award [1] for stating an application software package and [1] for stating its use in
the office, up to [2 max].
Example answers
Spreadsheet;
For graphically presenting various data;
Database software;
For holding employees/customers data;
Prevent physical damage to the computers / Keep equipment in safe and dust-
free places / Protect equipment from static electricity that can erase data or
damage components / Protection during lightning and electrical storms;
Note: Accept any reasonable examples, but there should be more than one.
The focus of the question is on data loss, and not in relation to
security/hacking. [2]
(f) Award [1] for stating a problem and [1] for an elaboration, up to [2 max].
Users/employees might be afraid of these changes (for various reasons);
And not willing to help in this change;
(g) Award [1] for outlining what is meant by direct changeover, [1] for outlining what
is meant by phased conversion, and then [1] for an advantage or disadvantage
of each, up to [2].
Example answer:
Direct changeover, the old software and hardware is completely replaced, in one
move, by the new software and hardware;
Phased conversion involves selecting one section in the office for the direct
changeover and other sections will be switched when the first section selected is
running satisfactorily. Eventually the whole office has been changed;
A phased conversion is less risky than a direct changeover as any problems that
might arise will be isolated in only one section in the office;
Direct changeover means everyone in the organization has same
software/hardware and so there are no compatibility issues; [4]
(b) Award [1] for identifying a disadvantage and [1] for an expansion, for two
disadvantages up to [4 max].
Note: the focus of the question is on confidential data (firewalls not accepted) [3]
–9– N17/4/COMSC/SP1/ENG/TZ0/XX/M
Award up to [3 max] for added detail that references the contents of the given
data packet in the answer.
Data is organized in specially formatted units (data packets) which are routed
from source to destination using network switches and routers;
Network switches and routers determine how best to transfer the packet between
a number of intermediate devices (routers and switches) on the path to its
destination (rather than flowing directly over a single wire on the path to its
destination);
(b) Award [1] for each correct column, other than column K.
Note: The symbol " appearing in cells above means that the value in that cell is
the same as the one in the cell just above it; unfilled cells means that no value
must be present.
Remark: Accept drawings of tables where the values of the column CL are
shifted downwards of one cell only, therefore showing the first value 2 when
K = 10. Do not propagate by FT to the other columns, they are independent from
the way CL has been filled.) [4]
IND = 0
loop for K from N to len(UPCASELETTERS)-1
// accept ‘K from 0 to 25’
SUBSTITUTE[IND] = UPCASELETTERS[K]
IND = IND+1
end loop
loop for K from 0 to N-1
SUBSTITUTE[IND] = UPCASELETTERS[K]
IND = IND+1
end loop
– 11 – N17/4/COMSC/SP1/ENG/TZ0/XX/M
Example answer 2
loop for K from 0 to 25
SUBSTITUTE[K] = UPCASELETTERS[K]
end loop
// accept SUBSTITUTE = UPCASELETTERS
loop for K from 1 to N
TEMP = SUBSTITUTE[0]
IND = 0
loop while IND <= 25
SUBSTITUTE[IND] = SUBSTITUTE[IND + 1]
IND = IND + 1
end loop
SUBSTITUTE[25] = TEMP
end loop
Remark: no marks for calculations of indexes that can become negative. [5]