9618/11/M/J/23 question 3: worked solution (May/June 2023, paper 11)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 1.1 Data Representation Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 1 of 3. Q11 9618/11/M/J/23 original Q3 Structured · 17 marks Worked solution (a) Any four of these points: The OS installs device drivers so that the peripherals and the computer can communicate [1] It sends data to and receives data from the devices, for example to a printer and from a keyboard [1] It handles buffers so data transfers smoothly between devices of different speeds [1] It manages interrupts (signals) from the devices [1] (b) Any two of these: Memory management [1] File management (or security management, process management, error checking and recovery) [1] (c) Write these points: Defragmentation rearranges the blocks of each file on the hard disk so they are contiguous (free space is moved together) [1] Accessing each file is faster because the next block does not need to be searched for [1] There is less read / write head movement [1] (d)(i) Write: a kibibyte is 1024 bytes but a kilobyte is 1000 bytes [1] (d)(ii) Write each denary digit as 4 bits: 9 = 1001, 6 = 0110, 4 = 0100. Write: 1001 0110 0100 [1] (d)(iii) 11110010 splits into 1111 and 0010. 1111 = F and 0010 = 2. Write: F2 [1] (d)(iv) Smallest: the top bit is -128 and all other bits are 0. Largest: the top bit is 0 and all other bits are 1 (127). Smallest: 10000000 [1] Largest: 01111111 [1] (d)(v) Add column by column from the right, carrying 1 when 1 + 1. 1 0 1 1 0 0 0 0 + 0 0 0 1 1 0 1 1 carries 0 1 1 0 0 0 0 0 = 1 1 0 0 1 0 1 1 Working shown, with carries [1] Write: 11001011 [1] (d)(vi) Move every bit 3 places right, fill the left with 0s and lose the 3 bits on the right. Write: 00011001 [1] KEY IDEA Know the OS tasks, the kibi / kilo difference and the number work: BCD, hex, two's complement, addition and shifts. TOTAL 17 marks Official mark scheme VIDEO ▶ Starts at Q3 (41:08) Starts at Q3 (41:08) · by Pseudocode Pro. Tap the picture to open it on YouTube.