9618/11/O/N/21 question 1: worked solution (October/November 2021, 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. Q3 9618/11/O/N/21 original Q1 Structured · 9 marks Worked solution (a) Match each binary value (powers of 1024) or decimal value (powers of 1000): 8 bits → 1 byte [1] 8000 bits = 1000 bytes → 1 kilobyte [1] 1000 kilobytes → 1 megabyte [1] 1024 mebibytes → 1 gibibyte [1] 8192 bits = 1024 bytes → 1 kibibyte [1] (b)(i) Add column by column from the right, carrying 1 when needed: 1 0 1 0 1 0 1 0 + 0 0 1 1 0 1 1 1 = 1 1 1 0 0 0 0 1 Working with carries shown [1] Answer: 11100001 [1] (b)(ii) An overflow happens when the result is larger than can be stored in the given number of bits (for 8 bits, greater than 255). [1] (c) F0 = 15 × 16 + 0 = 240 [1] KEY IDEA Kilo, mega and giga use 1000; kibi, mebi and gibi use 1024; 8 bits make 1 byte. TOTAL 9 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.