Computer Science For First Examination In 2021 9618 · 1

Information representation

70 questions. Open a question to solve it and check the official answer.

2025 October-November · Paper 11 · Q1(a)(i)

Data representation · 1 mark

(i) Convert the binary number into hexadecimal. ...................................................................................................................................…

2025 October-November · Paper 11 · Q1(a)(ii)

Data representation · 1 mark

(ii) Convert the denary number into Binary Coded Decimal (BCD). 108 ...............................................................................................................…

2025 October-November · Paper 11 · Q1(a)(iii)

Data representation · 2 marks · official answer ready

(iii) Convert the 12-bit two’s complement binary integer into denary. Show your working. Working ..................................................................................…

2025 October-November · Paper 11 · Q7(d)(iii)

Compression · 2 marks · official answer ready

(iii) Explain how a bitmap image is compressed using run-length encoding (RLE). ...................................................................................................…

2025 October-November · Paper 12 · Q6(a)

Compression · 1 mark · official answer ready

6 (a) A sound file is compressed by reducing the sampling rate. State whether this is lossless or lossy compression. Justify your choice. Type of compression .....................…

2025 October-November · Paper 12 · Q6(d)

Multimedia – graphics and sound · 2 marks · official answer ready

(d) A bitmap image has a resolution of 1000 pixels wide by 2000 pixels high. The colour depth is 16 bits. Calculate an estimate of the file size in megabytes. Show your working. .…

2025 October-November · Paper 12 · Q7(c)(i)

Data representation · 1 mark · official answer ready

(i) Write the Binary Coded Decimal (BCD) value for the ASCII character ‘h’. .......................................................................................................…

2025 October-November · Paper 12 · Q7(c)(ii)

Data representation · 1 mark · official answer ready

(ii) Write the hexadecimal value for the ASCII character ‘h’. .....................................................................................................................…

2025 October-November · Paper 13 · Q1(c)

Data representation · 2 marks · official answer ready

(c) Give two differences between the ASCII and UNICODE character sets. 1 ..........................................................................................................…

2025 October-November · Paper 13 · Q2(a)

Data representation · 3 marks · official answer ready

2 (a) Data in a computer system is represented in binary. Put one tick (3) in each row to identify the minimum number of bits used to store each example of data. Number of bits Ex…

2025 October-November · Paper 13 · Q2(b)

Data representation · 1 mark · official answer ready

(b) Convert the denary number –108 into a 12‑bit two’s complement binary number. ..................................................................................................…

2025 October-November · Paper 13 · Q2(d)

Data representation · 1 mark · official answer ready

(d) Convert the following positive binary integer into hexadecimal. ...............................................................................................................…

2025 October-November · Paper 43 · Q2(e)

Compression · 6 marks · official answer ready

2 A program reads string data from a text file into a linear queue and then compresses the data. The queue is created using the global 1D array Queue. The queue can store up to 10…

2025 October-November · Paper 43 · Q9(e)

Compression · 26 marks

(e) The string data in the text file is compressed. The compression algorithm counts the number of times each binary digit appears consecutively, then stores the binary digit foll…

2024 October-November · Paper 11 · Q1(b)(i)

Data representation · 1 mark · official answer ready

(i) Convert the unsigned binary integer into hexadecimal. Answer ............................................................................... [1]

2024 October-November · Paper 11 · Q1(b)(ii)

Data representation · 1 mark · official answer ready

(ii) Convert the two’s complement binary number into denary. Answer ............................................................................... [1]

2024 October-November · Paper 11 · Q1(b)(iii)

Data representation · 1 mark · official answer ready

(iii) Convert the Binary Coded Decimal (BCD) into denary. Answer ............................................................................... [1]

2024 October-November · Paper 11 · Q1(c)

Data representation · 2 marks · official answer ready

(c) Subtract the denary number 23 from the two’s complement binary number 01001010 Perform this calculation using binary subtraction. Show your working. Working ..................…

2024 October-November · Paper 11 · Q4(b)(ii)

Compression · 3 marks · official answer ready

(ii) Describe one lossless method of compressing a text file. .....................................................................................................................…

2024 October-November · Paper 12 · Q7(a)(i)

Multimedia – graphics and sound · 2 marks · official answer ready

(i) Define the following bitmap terms. Colour depth ...................................................................................................................... ........…