Question 5

Edexcel Computer Science June 2023 Paper 1GCSE19 marks

On the specification

(a)
2.3 Data storage and compression
(b)
2.2 Data representation
(c)
2.1 Binary
(d)(i)
2.1 Binary
(d)(ii)
2.1 Binary
(e)(i)
2.1 Binary
(e)(ii)
2.3 Data storage and compression
(f)
2.1 Binary2.2 Data representation
Question text

5 Data (a) Describe one effect of using lossy compression to reduce the size of a file. (2) (b) Here is an original image. There is one bit available to represent each pixel. Explain one reason why the image cannot be accurately represented using one bit for each pixel. (2) (c) Shifts are performed on binary patterns. A logical shift right is performed on a pattern. An arithmetic shift right is performed on the same original pattern. Describe the reason the results will be different. (2) (d) Binary, denary and hexadecimal patterns represent numbers. (i) Convert the binary pattern 0100 0010 to denary. (1) (ii) Convert the binary pattern 0101 1011 to hexadecimal. (2) (e) Data storage is measured in bits and bytes. (i) State the number of unique values that can be represented with 6 bits. (1) (ii) A file format uses a 100 × 600 table of 32‑bit integers. The file uses 1 kibibyte of additional data. Construct an expression to show the number of bytes of storage needed to store the file. (3) (f ) An analogue sound is represented in digital form. The sound is one second long and is sampled at 10Hz. The digital representation has a bit depth of 5 and is stored in two’s complement. Sound data: 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 Draw a graph to represent the data sampled. You must include: • labels for the x and y axes • values for the x and y axes • each sample plotted as an × • samples joined up to show the digital form. (6) (Total for Question 5 = 19 marks)