0% found this document useful (0 votes)
45 views13 pages

Data Representation

This document consists of 11 pages containing questions about representing numbers and drink selections in binary, hexadecimal, and decimal number systems as well as 6-bit and 3-bit registers. Questions cover converting between number systems, determining drink selections from register values, identifying errors, and advantages of splitting a register. The document tests skills in data representation, number conversions, binary logic, and error detection.

Uploaded by

Hamza Niaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views13 pages

Data Representation

This document consists of 11 pages containing questions about representing numbers and drink selections in binary, hexadecimal, and decimal number systems as well as 6-bit and 3-bit registers. Questions cover converting between number systems, determining drink selections from register values, identifying errors, and advantages of splitting a register. The document tests skills in data representation, number conversions, binary logic, and error detection.

Uploaded by

Hamza Niaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

General Certificate of Education Ordinary Level

Data Representation
STUDENT NAME

BATCH #

COMPUTER SCIENCE

This document consist of 11 printed pages


1. A variety of goods stored in a warehouse. All goods are bar coded. The number of each
item in the warehouse is stored as a binary number.
(a) Change 125 into a binary number stored in an 8 bit byte. Show your working.

……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
Your Answer: ( )2 [2]
(b) Convert your answer in question 1. (a), into hexadecimal number. Show your
working.

……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
Your Answer: ( )16 [2]
(c) Convert your answer in question 1. (b) into denary (decimal) number. Show your
working.
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
……………………………………………………………………………
Your Answer: ( )10 [2]

Page 1 of 12
2.
2. A vending machine has the choices shown below

A customer uses a keypad to make their choice. Each number entered is represented in
a 6-bit binary register.
For example, key press 33 (hot chocolate with extra milk and extra sugar) is represented
by:

(a) (i) If a customer chooses coffee with milk and sugar what is the key press?

[1]
(ii) How is it represented in the 6-bit register?

[1]

(b) If the 6-bit register shows

What drink has the customer chosen?

……………………………………………………………………………
[1]

(c) A customer using the vending machine gets an error message after keying in their
selection.
What could have caused this error message?

……………………………………………………………………………
……………………………………………………………………………
[1]

Page 2 of 12
(d) It was decided to split the register so that each digit was represented by its own 3-bit
register:

(i) What drink has been chosen if the 3-bit registers contain:

……………………………………………………………………………
……………………………………………………………………… ……
[1]

(ii) How would the lemon option be shown on both types of register?

[2]

(iii) What is the advantage of using two 3-bit registers rather than one 6-bit
register?

……………………………………………………………………………
……………………………………………………………………… ……
[1]

Page 3 of 12
3.

Page 4 of 12
4.

Page 5 of 12
5.

Page 6 of 12
6.

Page 7 of 12
7.

Page 8 of 12
Page 9 of 12
8.

Page 10 of 12
Page 11 of 12
Page 12 of 12

You might also like