Computer Science (9608) · Oct/Nov 2019 · Question paper 13

Cambridge Computer Science (9608) question paper for paper 13, Oct/Nov 2019 — 9608/13/O/N/19, file 9608_w19_qp_13.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

Cambridge Assessment International Education
Cambridge International Advanced Subsidiary and Advanced Level

* 1 9 3 6 5 5 4 5 5 9 *

9608/13

COMPUTER SCIENCE
Paper 1 Theory Fundamentals

October/November 2019
1 hour 30 minutes

Candidates answer on the Question Paper.
No Additional Materials are required.
No calculators allowed.
READ THESE INSTRUCTIONS FIRST
Write your centre number, candidate number and name in the spaces at the top of this page.
Write in dark blue or black pen.
You may use an HB pencil for any diagrams, graphs or rough working.
Do not use staples, paper clips, glue or correction fluid.
DO NOT WRITE IN ANY BARCODES.
Answer all questions.
No marks will be awarded for using brand names of software packages or hardware.
At the end of the examination, fasten all your work securely together.
The number of marks is given in brackets [ ] at the end of each question or part question.
The maximum number of marks is 75.

This document consists of 14 printed pages and 2 blank pages.
DC (SC/TP) 171632/4
© UCLES 2019

[Turn over

2
1

www.dynamicpapers.com

In a supermarket, a self-checkout machine allows customers to scan the barcodes of products and
then pay for their shopping. These are an alternative to the traditional cashier-staffed checkout.

(a) The self-checkout machine has a touchscreen.
(i)

Identify two other input devices that self-checkout machines have.
1
2
[2]

(ii)

Identify two other output devices that self-checkout machines have.
1
2
[2]

© UCLES 2019

9608/13/O/N/19

www.dynamicpapers.com

3
(iii)

The touchscreen uses capacitive technology.
The sequence of steps 1 to 6 describes the internal operation of the touchscreen.
The statements A, B, C and D are used to complete the sequence.

A

Charge is drawn to the point of contact.

B

The screen has a layer that stores an electrical charge.

C

There is a change in the electrostatic field.

D

The coordinates are sent to the touchscreen driver.
Write one of the letters A to D in each appropriate row to complete the sequence.
1

2

When the user touches the screen

3

4

5

The coordinates of the point of contact can be calculated.

6

[2]

(b) The self-checkout machines have primary storage.
(i)

Give two reasons why the self-checkout machine needs primary storage.
1

2

[2]

(ii)

The self-checkout machines use Static RAM (SRAM) for their cache.
The following table has statements about SRAM or Dynamic RAM (DRAM).
Tick (✓) one box in each row to identify whether the statement is about SRAM or DRAM.
Statement

SRAM

DRAM

More expensive to make
Requires refreshing (recharging)
Made from flip-flops

© UCLES 2019

[2]
9608/13/O/N/19

[Turn over

4

www.dynamicpapers.com

(c) The self-checkout machines connect to a server that stores all the data for the supermarket.
This is a client-server network.
(i)

Describe, using an example for the supermarket, the client-server network model.

[4]

(ii)

The supermarket is concerned about the security and integrity of the data on the server.
Identify two methods that can be used to minimise the security risk to the data, and one
method to protect the integrity of the data.
Security 1

Security 2

Integrity

[3]

© UCLES 2019

9608/13/O/N/19

5
2

www.dynamicpapers.com

Leonardo’s mobile phone has an operating system (OS).
(a) Describe the following key management tasks that the mobile phone operating system carries
out.
Process management

Memory management

[6]
(b) Leonardo uses the mobile phone to record his voice.
(i)

Describe how sound sampling is used by the mobile phone to encode the sound.

[2]

© UCLES 2019

9608/13/O/N/19

[Turn over

6
(ii)

www.dynamicpapers.com

Leonardo records his voice twice. Each recording is the same length and has the same
sampling resolution.
The first recording has a sampling rate of 44 100 Hz. The second recording has a
sampling rate of 21 000 Hz.
Describe how the different sampling rates will affect the recording and the sound file.

[2]

(iii)

Leonardo transfers the recordings to his laptop computer. He uses sound editing
software to delete some sections of the recordings, and copy and paste to replicate other
sections.
Describe two other features of sound editing software Leonardo can use to edit the
recordings.
1

2

[4]

© UCLES 2019

9608/13/O/N/19

7
3

www.dynamicpapers.com

A hotel needs to record information about customers and their bookings.
(a) The hotel has two types of room: double and family. Each room has a unique room number.
The hotel stores information about the customers including their name, address and contact
details.
When a customer books a room, they give the start date and the number of nights they want
to stay. If a customer wants more than one room, each room must have a separate booking.
Each booking has an ID number.
The hotel creates a normalised, relational database to store the required information. There
are three tables:

•
•
•

CUSTOMER
ROOM
BOOKING

(i)

Complete the database design for the hotel by writing the attributes for each table.
CUSTOMER(

)
ROOM(

)
BOOKING(

)
[3]

(ii)

Identify the primary key for each table that you designed in part (a)(i).
CUSTOMER
ROOM
BOOKING
[2]

© UCLES 2019

9608/13/O/N/19

[Turn over

8
(iii)

www.dynamicpapers.com

Identify one foreign key in the tables that you designed in part (a)(i).
Table name
Foreign key
[1]

(b) The hotel wants to use a Database Management System (DBMS) to set up and manage the
database.
Describe, using examples, how the hotel can use the following DBMS tools:
Developer interface

Query processor

[5]
(c) The following table has four SQL scripts.
Tick (✓) one box in each row to identify whether the script is an example of a Data Definition
Language (DDL) statement or a Data Manipulation Language (DML) statement.
Script

DDL

DML

CREATE TABLE FILMS
SELECT FilmID FROM FILMS
ALTER TABLE FILMS ADD PRIMARY KEY (FilmID)
CREATE DATABASE MYDATA
[2]

© UCLES 2019

9608/13/O/N/19

9
4

www.dynamicpapers.com

(a) Convert the unsigned binary number 0101 1111 1100 into denary.

[1]
(b) Convert the denary number −239 into 12-bit two’s complement.

[1]
(c) Convert the two’s complement number 0110 0101 into denary.

[1]
(d) Convert the Binary Coded Decimal (BCD) value 0110 0101 into denary.

[1]
(e) Convert the denary number 222 into hexadecimal.

[1]

© UCLES 2019

9608/13/O/N/19

[Turn over

www.dynamicpapers.com

10
5

(a) Draw a logic circuit to represent the logic expression:
X = NOT (A OR C) OR (A AND NOT B)

A

B

X

C

[5]
(b) Complete the truth table for the logic expression:
X = NOT (A OR C) OR (A AND NOT B)
A

B

C

0

0

0

0

0

1

0

1

0

0

1

1

1

0

0

1

0

1

1

1

0

1

1

1

Working space

X

[4]

© UCLES 2019

9608/13/O/N/19

11

www.dynamicpapers.com

Question 6 begins on the next page.

© UCLES 2019

9608/13/O/N/19

[Turn over

12
6

www.dynamicpapers.com

Willow is creating a website.
One of the web pages includes the following JavaScript code and HTML tags.
01

<html>

03

<form>

02
04

<body>
<p id="displayQuestion"></p>

05
06

<input type="text" id="answer">

<button id="submit" onclick="checkAnswer()"> Submit </button>

07

</form>

09

<script>

08
10

</body>

val1 = Math.floor((Math.random() * 10) + 1);

11

val2 = Math.floor((Math.random() * 10) + 1);

12

document.getElementById("displayQuestion").innerHTML = "What is" +
val1.toString() + "*" + val2.toString() + "?";

13

function checkAnswer(){

15

answer = val1 * val2

14

userAnswer = document.getElementById("answer").value;

16

if (userAnswer == answer.toString()){

17

alert("Correct, well done");

18

}else{

20

}

19
21
22
23

}

alert("Sorry that's incorrect");

</script>
</html>

(a) (i)

Name three functions in the JavaScript code.
1
2
3
[3]

(ii)

Identify every line number of the JavaScript code that generates an output.

[2]

(iii)

Identify the line number of the JavaScript code that takes data the user has input and
stores it in a variable.
[1]

© UCLES 2019

9608/13/O/N/19

13
(iv)

www.dynamicpapers.com

Describe the purpose of the code on line 16.

[2]

(b) Willow used functions from a JavaScript program library in the web page.
Describe the benefits to Willow of using program libraries to create the web page.

[4]

© UCLES 2019

9608/13/O/N/19

[Turn over

14
7

www.dynamicpapers.com

The following table has descriptions of modes of addressing.
Complete the table by writing the name of the addressing mode for each description.
Addressing mode

Description
Form the address by adding the given number to a base address. Load
the contents of the calculated address to the Accumulator (ACC).
Load the contents of the address held at the given address to ACC.
Load the contents of the given address to ACC.
Form the address from the given address + the contents of the Index
Register. Load the contents of the calculated address to ACC.
Load the given value directly to ACC.
[5]

© UCLES 2019

9608/13/O/N/19

15
BLANK PAGE

© UCLES 2019

9608/13/O/N/19

www.dynamicpapers.com

16

www.dynamicpapers.com

BLANK PAGE

Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of
Cambridge Local Examinations Syndicate (UCLES), which itself is a department of the University of Cambridge.

© UCLES 2019

9608/13/O/N/19

Advertisement