Computer Science Paper 1 SL
Computer Science Paper 1 SL
88147014
Computer science
Standard level
Paper 1
1 hour 30 minutes
INSTRUCTIONS TO CANDIDATES
8814-7014 6 pages
© International Baccalaureate Organization 2014
–2– N14/4/COMSC/SP1/ENG/TZ0/XX
SECTION A
(b) Identify a type of network that would allow secure access from an employee’s home to
their company’s LAN. [1]
(c) Outline two benefits and two problems of employees working from home. [4]
8814-7014
–3– N14/4/COMSC/SP1/ENG/TZ0/XX
begin
K=3
P=1
No Yes
K>1
output P output K
K = K −1
P = P×K
end
Trace the algorithm and show the outputs that will be produced. [3]
SECTION B
9. A customer buys an item in a small local shop and pays with a credit card. The sales transaction
data is input to a computer at the point of sale. Prices are downloaded every morning from
a central computer at the company headquarters. The credit card is verified with the card
authorization centre and then the receipt is printed.
(a) Draw and label a system flow chart to represent this process in the shop. [5]
At the end of the day the sales transaction data is sent to the central computer at the
company headquarters.
(b) Describe the processing that should be carried out at the company headquarters. [2]
All programs and data should be protected from theft, destruction, manipulation and alteration
in this process.
(d) Describe why data loss is a more serious problem than the loss of software or hardware
for a sales company. [3]
8814-7014
–5– N14/4/COMSC/SP1/ENG/TZ0/XX
10. Three IB students are working on a programming project. They have 10 days to complete
the work. To plan the project activities and timeline they produce the following Gantt chart.
(a) State two tasks students should perform to define a problem. [2]
(b) Identify two tools or techniques that students could use to represent algorithms. [1]
(c) Discuss whether beta testing would be appropriate in this scenario. [3]
(d) Outline three criteria that could be used when deciding which programming language is
to be used for coding. [3]
(f) Explain why a Gantt chart may not be suitable for planning a large business project. [4]
NUMBERS
[0] [1] [2] [3] [4] [5]
(b) Construct the algorithm that will output the average of all values in the array NUMBERS. [4]
The method minPos() determines the index of the smallest value in an array.
The method maxPos()determines the index of the largest value in an array. For example,
NUMBERS.maxPos() is 3.
S=NUMBERS.minPos()
L=NUMBERS.maxPos()
T=NUMBERS[S]
NUMBERS[S]=NUMBERS[L]
NUMBERS[L]=T
(c) (i) Show the contents of the array NUMBERS after the algorithm is applied. [2]
8814-7014