Information representation
70 questions. Open a question to solve it and check the official answer.
Data representation · 1 mark
(i) Convert the binary number into hexadecimal. ...................................................................................................................................…
Data representation · 1 mark
(ii) Convert the denary number into Binary Coded Decimal (BCD). 108 ...............................................................................................................…
Data representation · 2 marks · official answer ready
(iii) Convert the 12-bit two’s complement binary integer into denary. Show your working. Working ..................................................................................…
Compression · 2 marks · official answer ready
(iii) Explain how a bitmap image is compressed using run-length encoding (RLE). ...................................................................................................…
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 .....................…
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. .…
Data representation · 1 mark · official answer ready
(i) Write the Binary Coded Decimal (BCD) value for the ASCII character ‘h’. .......................................................................................................…
Data representation · 1 mark · official answer ready
(ii) Write the hexadecimal value for the ASCII character ‘h’. .....................................................................................................................…
Data representation · 2 marks · official answer ready
(c) Give two differences between the ASCII and UNICODE character sets. 1 ..........................................................................................................…
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…
Data representation · 1 mark · official answer ready
(b) Convert the denary number –108 into a 12‑bit two’s complement binary number. ..................................................................................................…
Data representation · 1 mark · official answer ready
(d) Convert the following positive binary integer into hexadecimal. ...............................................................................................................…
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…
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…
Data representation · 1 mark · official answer ready
(i) Convert the unsigned binary integer into hexadecimal. Answer ............................................................................... [1]
Data representation · 1 mark · official answer ready
(ii) Convert the two’s complement binary number into denary. Answer ............................................................................... [1]
Data representation · 1 mark · official answer ready
(iii) Convert the Binary Coded Decimal (BCD) into denary. Answer ............................................................................... [1]
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 ..................…
Compression · 3 marks · official answer ready
(ii) Describe one lossless method of compressing a text file. .....................................................................................................................…
Multimedia – graphics and sound · 2 marks · official answer ready
(i) Define the following bitmap terms. Colour depth ...................................................................................................................... ........…
