9618 s22 QP 13 PDF
9618 s22 QP 13 PDF
9618 s22 QP 13 PDF
* 4 1 5 8 9 4 4 3 1 5 *
1 hour 30 minutes
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.
DC (PQ/CGW) 301925/5
© UCLES 2022 [Turn over
2
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
..................................................................................................................................... [2]
(ii) Identify two character sets and state one difference between them.
Difference ..........................................................................................................................
...........................................................................................................................................
[3]
(iii) Describe how lossless compression can be used to reduce the file size of a text file.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
..................................................................................................................................... [2]
(iv) Explain why lossy compression should not be used on a text file.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
..................................................................................................................................... [2]
© UCLES 2022 9618/13/M/J/22
3
Statement Answer
Working space
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Step Description
......................................................................................................
PC [PC] + 1
......................................................................................................
......................................................................................................
......................................................................................................
MDR [[MAR]]
......................................................................................................
......................................................................................................
......................................................................................................
MAR [PC]
......................................................................................................
......................................................................................................
[3]
(b) Explain how interrupts are handled during the F-E cycle.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [5]
BLANK PAGE
3 (a) The table shows part of the instruction set for a processor. The processor has one general
purpose register, the Accumulator (ACC).
Instruction
Explanation
Opcode Operand
LDM #n Immediate addressing. Load the number n to ACC
Direct addressing. Load the contents of the location at the
LDD <address>
given address to ACC
Indirect addressing. The address to be used is at the given
LDI <address>
address. Load the contents of this second address to ACC
<address> can be an absolute or symbolic address
# denotes a denary number, e.g. #123
Address
100 101
101 67
102 104
103 100
104 68
Complete the table by writing the value stored in the accumulator after the execution of each
instruction.
Instruction Accumulator
LDM #103
LDD 102
LDI 103
[3]
(b) The instructions in part (a) are examples of the data movement group.
1 ................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
2 ................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
[4]
(c) The table shows part of the instruction set for a processor. The processor has one general
purpose register, the Accumulator (ACC).
Instruction
Explanation
Opcode Operand
AND Bn Bitwise AND operation of the contents of ACC with the operand
XOR Bn Bitwise XOR operation of the contents of ACC with the operand
OR Bn Bitwise OR operation of the contents of ACC with the operand
B denotes a binary number, e.g. B01001010
Each instruction in the diagram is performed on the data in memory address 200.
Instruction Result
01111101
XOR B11110000
00111101
OR B01010101 11111111
11001101
[3]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [4]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
[4]
..................................................................................................................................... [1]
5 A company wants to store data about its employees in a computer system. The owner of the
company wants to ensure the security and integrity of the data.
...........................................................................................................................................
..................................................................................................................................... [1]
(ii) One way the data stored in a computer can be kept secure is by using back-up software.
Give two other ways the data stored in a computer can be kept secure.
1 ........................................................................................................................................
...........................................................................................................................................
2 ........................................................................................................................................
...........................................................................................................................................
[2]
(b) The data about the employees is currently stored on paper. The data needs to be transferred
into the computer system.
Data validation and verification are used to help maintain the integrity of the data.
(i) Identify and describe one method of data verification that can be used when transferring
the data from paper to the computer.
Method ..............................................................................................................................
Description ........................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
[2]
(ii) The company needs to transfer the date of birth of each employee into the computer
system.
Give one example of how each of the following data validation rules can be used to
validate the date of birth when it is entered into the system.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
[3]
© UCLES 2022 9618/13/M/J/22
11
(iii) Explain why the data in the system may not be correct even after validating and verifying
the data.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
..................................................................................................................................... [2]
6 A relational database, TECHNOLOGY, stores data about the staff in a company and the computer
devices used by the staff.
(a) Describe the relationship between the two tables. Refer to the primary and foreign keys in
your answer.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [4]
(b) The database uses a Data Definition Language (DDL) and Data Manipulation Language
(DML).
(i) Complete the SQL script to return the number of devices stored in the database for the
staff member with the first name ‘Ali’ and last name ‘Khan’.
FROM ..............................................................
(ii) The table DEVICE needs a new attribute to store whether the device has been returned
by the staff member, or not.
Write a Structured Query Language (SQL) script to insert the new attribute into the table
DEVICE.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
..................................................................................................................................... [2]
...............................................................................................
...............................................................................................
First Normal Form (1NF)
...............................................................................................
...............................................................................................
...............................................................................................
...............................................................................................
Second Normal Form (2NF)
...............................................................................................
...............................................................................................
...............................................................................................
...............................................................................................
Third Normal Form (3NF)
...............................................................................................
...............................................................................................
[3]
7 (a) Write the logic expression for the following logic circuit.
B
X
...................................................................................................................................................
............................................................................................................................................. [3]
(b) Complete the truth table for the following logic expression:
Working space
A B C X
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
[2]
...................................................................................................................................................
............................................................................................................................................. [1]
...................................................................................................................................................
...................................................................................................................................................
[2]
(c) Give two benefits and one drawback of using cloud computing.
Benefit 1 ...................................................................................................................................
...................................................................................................................................................
Benefit 2 ...................................................................................................................................
...................................................................................................................................................
Drawback ..................................................................................................................................
...................................................................................................................................................
[3]
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 Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.