Computer_science_paper_1_SL_markscheme
Computer_science_paper_1_SL_markscheme
MARKSCHEME
November 2002
COMPUTER SCIENCE
Standard Level
Paper 1
12 pages
–5– N02/650/S(1)M+
Mark Allocation
General
A markscheme often has more specific points worthy of a mark than the total allows. This is intentional.
Do not award more than the maximum marks allowed for part of a question.
When deciding upon alternative answers by candidates to those given in the markscheme, consider the
following points:
Each marking point has a separate line and the end is signified by means of a semi-colon (;)
An alternative answer or wording is indicated in the markscheme by a ‘/’; either wording can be
accepted.
The order of points does not have to be as written (unless stated otherwise).
If the candidate’s answer has the same ‘meaning’ or can be clearly interpreted as being the same
as that in the mark scheme then award the mark.
Mark positively. Give candidates credit for what they have achieved, and for what they have got
correct, rather than penalising them for what they have not achieved or what they have got
wrong.
Remember that many candidates are writing in a second language; be forgiving of minor
linguistic slips. Effective communication is more important than grammatical niceties.
Occasionally, a part of a question may require a calculation whose answer is required for
subsequent parts. If an error is made in the first part then it should be penalised. However, if
the incorrect answer is used correctly in subsequent parts then follow through marks should be
awarded. Indicate this with ‘FT’.
–6– N02/650/S(1)M+
SECTION A
1. (a) Award [1 mark] for any of the following or any similar statement:
y A syntax error is caused by the programmer typing a command incorrectly in a
program;
y A syntax error could be caused by a spelling mistake, an unknown identifier, or
a type mismatch;
y A syntax error is a command which the interpreter or compiler cannot
understand, because it has been written incorrectly;
y An error in the rules which govern the structure of language statements; [1 mark]
(b) Award [1 mark] for a correct statement about how an interpreter reacts or a
correct statement about how a compiler reacts. Award the 2nd mark if another
statement clearly identifies a different reaction by the other type of translator. Do
not award [2 marks] for two correct statements if they do not clearly identify
different reactions.
(c) 4; [1 mark]
–7– N02/650/S(1)M+
4. (a) Perform a range check, for example rejecting any input which is not between 1 and
120. [2 marks]
Award [1 mark] for stating that a range check (or “size” check) is necessary, and
[1 mark] for stating reasonable limits. Accept any reasonable limits - 5-100 or
21-65 (e.g. working adults). Award [0 marks] for “Ask the user for confirmation -
e.g. Is this correct?”
Any other method which checks the age against some other data.
5. In normal scientific notation, kilo stands for 10^3, which is a “round” number in
decimal. In computers kilo stands for 2^10, which is a “round” number in binary, very
close to 1000.
Award [1 mark] for a correct statement about binary or a correct statement about the
decimal system. Award [1 mark] for a correct statement about the other number
system, which clearly identifies the difference between the two systems.
7. Award [2 marks] for a correct advantage, together with some explanation – for example
any of the following:
y The hands are free from the keyboard and the eyes are free from the monitor, so the
user can hold a sheet of paper and read off the values;
y Many people can read a list of numbers more easily than they can type them, so they
would make fewer mistakes and probably finish faster;
y The data can be input without the need to be sitting at a computer, for example in a
scientific laboratory where the values are being read from a scientific instrument;
Award [2 marks] for a correct disadvantage, together with some explanation – for example
any of the following:
y Speech recognition systems are not 100 % reliable, so some of the numbers will probably
be corrupted;
y A fast typist can type faster than speaking the numbers, especially because many
speech recognition systems require slow, deliberate speech;
y Speech recognition is unreliable and/or unsuitable in an office situation where the
talking could disturb other employees, or where other noises would interfere with
correct recognition; [4 marks]
8.
[1] [2] [3] [4] [5] [6]
SECTION B
(b) [1 mark] for record data type. [2 marks] for correctly declared fields, ([1 mark]
for minor error).
record
NAME string
REQ,PRES,SCORE real
endrecord [3 marks]
(c) There are many points that can be made and should be credited as follows:
Award marks for any other correct answers, as long as they are not duplicates. [4 marks max]
– 11 – N02/650/S(1)M+
Accept other correct answers, as long as they are not duplicates. [4 marks]
For example:
y Page is interactive – selection of book links to details;
y Ability to retrace actions – can go back and look at previous book details; [2 marks]
For example:
y Employee could use credit card number for their own purposes;
y Information can be passed on to other companies – junk mail;
y Information gained by outside agencies (type of book bought) and misused (any
suitable example);
y Hackers could break in and steal credit card numbers; [4 marks]
– 12 – N02/650/S(1)M+
14. (a)
product ID
Scanner code central
reads code > Cash Register < >
computer
price
Product ID
>
price
>
Price
>
Receipt (printer) data
file
(d) Award [1 mark] for identifying advantage [1 mark] for brief account:
y Bar codes are machine readable, but price tags are generally not;
y It is easier to change a price, because only one change is required in the
computer, without the necessity of relabelling all the packages on the shelves;
y Many items are produced by the manufacturer with a bar code, so no labelling
is required at all;
y Price tags can be removed from one items and a lower price tags substituted
(illegal), whereas the bar codes are not removable;
y People do not have to be employed to label all the goods sold (advantage to
employer but not for employees); [2 marks]