Cambridge AS Level Computer Science 9618 · 6.2 Data Integrity

Q20 · 9618/13/M/J/24 Q7

Worked solution from the Security, privacy and data integrity Paper 1 Theory Fundamentals booklet, Part 2 of 2.

Q209618/13/M/J/24original Q7Structured · 22 marks
Question 7 from 9618/13/M/J/24

Worked solution

(a)

Give two sensors, each with its purpose. Any two of these:

SensorPurpose in navigation
Infra-redDetects an obstacle in the way, or that the robot has reached the table
PressureDetects that a table or obstacle has been hit
SoundDetects someone speaking so the robot may stop

First sensor with matching purpose [1]

Second sensor with matching purpose [1]

(b)

Any three of these:

Speech recognition identifies that someone is speaking, and the sound is recorded and analysed [1]

The recording is compared with a database of words to find the word with the highest probability [1]

Natural language processing combines the words and compares them with known sentences [1]

The programmed action for the matching sentence is carried out, for example taking the order

(c)

Feedback means the output affects the next input [1]

This lets the system adjust automatically and stay within set limits [1]

(d)

Give the working of one type. Any four points:

Resistive: the two conductive layers touch where pressed and complete a circuit [1]

Capacitive: the electrical charge (field) changes where the user touches [1]

The point of contact is identified from the change [1]

The software or microprocessor calculates the coordinates [1]

(e)(i)

Write: a program library is pre-written code, functions or routines that can be imported or called in another program. [1]

(e)(ii)

Any four of these:

The programmer does not need to do maintenance [1]

... because the DLL is separate from the program [1]

The program does not need recompiling when the DLL changes [1]

... because the DLL can be updated independently [1]

Updates apply to all programs that use the DLL.

(f)(i)

Give two methods, each with a description. Any two of these:

MethodDescription
Parity byteA bit is added to each byte so the number of 1s is odd or even to match the parity. A byte with the wrong parity shows an error
Parity blockParity is worked out across rows and down columns. A parity byte is sent with the data, and the position of a wrong bit can be found
ChecksumA calculation is made from the data and sent with it. The receiver repeats the calculation and compares. If different, there is an error

First method named [1]

Matching description [1]

Second, different method named [1]

Matching description [1]

(f)(ii)

Encryption scrambles the data so if it is intercepted it cannot be understood [1]

A key (or algorithm) is needed to decode it [1]

KEY IDEAMatch each device or method to its job and say why, such as feedback adjusting output, or encryption making intercepted data useless.
TOTAL 22 marks

Official mark scheme

Mark scheme for 9618/13/M/J/24 question 7
VIDEO
▶ Starts at Q7 (1:01:41)

Starts at Q7 (1:01:41) · by Pseudocode Pro. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.