9618/13/M/J/24 question 7: worked solution (May/June 2024, paper 13)

Show as plain text

Cambridge AS Level Computer Science 9618 · 6.2 Data Integrity Worked solution from the Security, privacy and data integrity Paper 1 Theory Fundamentals booklet, Part 2 of 2. Q20 9618/13/M/J/24 original Q7 Structured · 22 marks Worked solution (a) Give two sensors, each with its purpose. Any two of these: Sensor Purpose in navigation Infra-red Detects an obstacle in the way, or that the robot has reached the table Pressure Detects that a table or obstacle has been hit Sound Detects 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: Method Description Parity byte A 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 block Parity 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 Checksum A 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 IDEA Match 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 VIDEO ▶ Starts at Q7 (1:01:41) Starts at Q7 (1:01:41) · by Pseudocode Pro. Tap the picture to open it on YouTube.