Information representation
37 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 ..................................................................................…
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 ..................…
Data representation · 2 marks · official answer ready
(a) A character set is used to represent characters in a computer. Identify and describe one character set. Character set .........................................................…
Data representation · 3 marks · official answer ready
(b) Explain how to convert the two’s complement integer 10011111 into denary. Give the denary value after conversion. Explanation .................................................…
Multimedia – graphics and sound · 3 marks · official answer ready
(i) Describe how the data for a bitmapped image is encoded. .......................................................................................................................…
Data representation · 2 marks · official answer ready
(c) Convert the hexadecimal number C0F into denary. Show your working. Working ....................................................................................................…
Data representation · 1 mark · official answer ready
(i) Complete the table by identifying the number of bits each of the character sets allocates to each character. Character set Number of bits ASCII extended ASCII Unicode [1]
