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

Cambridge Computer Science (9608) question paper for paper 13, Oct/Nov 2021 — 9608/13/O/N/21, file 9608_w21_qp_13.pdf.

Advertisement
Loading the paper…
Text of this paper

Cambridge International AS & A Level

* 5 6 9 5 2 7 3 9 8 6 *

COMPUTER SCIENCE
Paper 1 Theory Fundamentals

9608/13
October/November 2021
1 hour 30 minutes

You must answer on the question paper.
No additional materials are needed.
INSTRUCTIONS
●
Answer all questions.
●
Use a black or dark blue pen.
●
Write your name, centre number and candidate number in the boxes at the top of the page.
●
Write your answer to each question in the space provided.
●
Do not use an erasable pen or correction fluid.
●
Do not write on any bar codes.
●
You may use an HB pencil for any diagrams, graphs or rough working.
●
Calculators must not be used in this paper.
INFORMATION
●
The total mark for this paper is 75.
●
The number of marks for each question or part question is shown in brackets [ ].
●
No marks will be awarded for using brand names of software packages or hardware.

This document has 12 pages. Any blank pages are indicated.
DC (LK/FC) 205939/2
© UCLES 2021

[Turn over

2
1

(a) Convert the following two’s complement binary integer into denary. Show your working.

11001011
Working

Answer

[2]
(b) Convert the following unsigned binary integer into hexadecimal.

10101101
[1]
(c) Convert the following denary integer to Binary Coded Decimal (BCD).

1753
[1]
(d) Give two examples of practical applications of BCD.
1

2

[2]

© UCLES 2021

9608/13/O/N/21

3
(e) An encryption routine replaces each character in a short message with a different character.
For example, the following table shows how the routine encrypts the word ‘HELLO’ by
adding 3 to the ASCII denary value of each character.
Original character

H

E

L

L

O

ASCII denary value

72

69

76

76

79

ASCII denary value
+3

75

72

79

79

82

Encrypted character

K

H

O

O

R

The ASCII value of the character A is 65.
Complete the table to show how the routine will encrypt the word ‘WANDS’.
Original character

W

A

N

D

S

ASCII denary value
ASCII denary value
+3
Encrypted character
[2]
2

Daniel is creating a sound file for a school project.
(a) Daniel records the sound using a sampling rate of 44.1 kHz and a sampling resolution of
16 bits.
(i)

State what is meant by a sampling rate of 44.1 kHz.

[1]

(ii)

State what is meant by a sampling resolution of 16 bits.

[1]

© UCLES 2021

9608/13/O/N/21

[Turn over

4
(b) Daniel needs to write a report about the sound he is using for his project. He will use a
keyboard to write this report.
Describe the basic internal operation of a keyboard.

[4]
3

(a) Describe what is meant by a Public IP address and a Private IP address.
Public IP address

Private IP address

[4]
(b) Complete the following paragraph that describes the sequence of events when a user
requests a page from a website.
The user enters the Uniform Resource Locator (URL) into the address bar of the
.
The domain name is taken from the URL and sent to a Domain Name Service (DNS). This
stores of domain names and their matching IP addresses.
If it finds the domain name, it sends the IP address to the .
If it does not find the domain name, it sends the request to .
[4]

© UCLES 2021

9608/13/O/N/21

5
4

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

A

X

B

C

[6]
5

(a) Describe how the following registers are used in the fetch-execute (F-E) cycle:
•
Current Instruction Register (CIR)
•
Program Counter (PC)
•
Memory Data Register (MDR)
•
Memory Address Register (MAR).

[5]

© UCLES 2021

9608/13/O/N/21

[Turn over

6
(b) Describe the roles carried out by the Arithmetic and Logic Unit (ALU) and the system clock.
ALU

System clock

[2]
(c) The following table shows part of the instruction set for a processor. The processor has one
general purpose register, the Accumulator (ACC), and an Index Register (IX).
Instruction
Op code

Explanation

Operand

LDM #n

Immediate addressing. Load the number n to ACC

CMP <address>

Compare the contents of ACC with the contents of
<address>

ADD <address>

Add the contents of the given address to the ACC

INC <register>

Add 1 to the contents of the register (ACC or IX)

JPE <address>

Following a compare instruction, jump to <address> if the
compare was True

STO <address>

Store the contents of ACC at the given address

END

Return control to the operating system

The instructions in the processor’s instruction set can be grouped according to their function.
Identify one instruction group for each instruction in the following table.
Instruction

Instruction group

LDM #12
ADD 21
STO 21
CMP 21
JPE 01
[5]

© UCLES 2021

9608/13/O/N/21

7
(d) Some assemblers scan the assembly language program twice; these are referred to as
two-pass assemblers.
Complete these two sentences by writing the missing terms.
In the first pass the table is generated.
In the second pass the program is converted into code.

6

[2]

Complete the table by writing the missing names and descriptions of utility software.
Utility software

Description

Disk formatter

Reduces the size of the file

Defragmenter

Making a copy of data in case of loss
[4]

7

(a) Tick (3) one box in each row to identify whether each measure is an example of data
verification or data validation.
Measure

Data verification

Data validation

Parity check
Double entry
Format check
[2]
(b) Identify one measure of data verification not given in part (a).
[1]
(c) Identify one measure of data validation not given in part (a).
[1]

© UCLES 2021

9608/13/O/N/21

[Turn over

8
8

(a) Describe how run-length encoding (RLE) can be used to compress a single video frame.

[4]
(b) Identify two other methods of compressing a single video frame.
1

2

[2]

9

A company uses a relational database.
(a) The company stores data about its customers and their bank details.
Explain the ways in which the database can be set up to only allow certain people to see the
bank details.

[2]

© UCLES 2021

9608/13/O/N/21

9
(b) The database contains the following tables that store data about suppliers and stock.
SUPPLIER(SupId, SupName, SupAddress, SupPhone, SupContactName)
STOCK(StockId, SupId, StockName, StockImage, NumberInStock)
(i)

Write Data Manipulation Language (DML) statements to return the supplier name, phone
number and contact name, and the number of items in stock for the item with the stock
ID of D930.

[4]

(ii)

The stock price needs to be included in the stock table.
$10.55 and $299.99 are two examples of stock prices.
Write Data Definition Language (DDL) statements to insert the attribute StockPrice
into the table STOCK.

[2]

© UCLES 2021

9608/13/O/N/21

[Turn over

10
(c) Three examples of items stored in the data dictionary of a relational database are:
Item

Purpose

Field name

to store the names of fields so they cannot be repeated in a table

Primary key

to uniquely identify each record in a table

Validation rule

to ensure that data entered is sensible

Identify three other examples of items stored in a data dictionary and give the purpose of
each.
Item 1
Purpose

Item 2
Purpose

Item 3
Purpose

[6]

© UCLES 2021

9608/13/O/N/21

11
(d) Draw one line from each database term to its matching description.
Database term

Description
An attribute that could be a primary key
but is not selected to be a primary key

Logical schema
An attribute in one table that is a primary
key in another table
Referential integrity
The overview of a database structure
Query processor
An attribute or set of attributes that
uniquely identifies each tuple
Primary key
Data between linked tables is consistent
Secondary key
Changing data to see what would
happen in different scenarios

The part of the DBMS that allows a user
to search for data
[5]

© UCLES 2021

9608/13/O/N/21

12
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 2021

9608/13/O/N/21

Advertisement