0% found this document useful (0 votes)
12 views4 pages

Data representation exercise

The document contains exercises on data representation, including binary addition, two's complement conversion, and hexadecimal conversion. It also explores concepts like kibibytes vs kilobytes, Binary Coded Decimal (BCD), and the significance of binary storage in computers. Additionally, it includes questions on denary to binary conversions and the properties of two's complement integers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Data representation exercise

The document contains exercises on data representation, including binary addition, two's complement conversion, and hexadecimal conversion. It also explores concepts like kibibytes vs kilobytes, Binary Coded Decimal (BCD), and the significance of binary storage in computers. Additionally, it includes questions on denary to binary conversions and the properties of two's complement integers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Data representation exercise

1. (a) Draw one line from each binary value to its equivalent (same) value on the right.

(b) (i) Perform the following binary addition. Show your working.

10101010
[2]
+ 00110111

(c) Convert the signed denary value –100 into an 8-bit two’s complement binary integer.

Working.....................................................................................................................................

...................................................................................................................................................

Answer............................................................................ [1]

1
(d) Convert the denary number 251 into hexadecimal. Show your working.

Working.....................................................................................................................................

...................................................................................................................................................

................................................................................................................................................... .......

............................................................................................................................................

Answer............................................................................ [2]

(e) Subtract the following unsigned binary integers.

10010000

- 00111110 [2]

2. (a) The computer stores data in binary form.

(i) State the difference between a kibibyte and a kilobyte.

...........................................................................................................................................

..................................................................................................................................... [1]

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

.......................................................................................................................................

...................................................................................................................................
[1]

(iii) Why do computers store values in binary

.......................................................................................................................................

...................................................................................................................................
[2]

(iv) Convert the positive binary integer 11110010 into hexadecimal.

.......................................................................................................................................

2
...................................................................................................................................
[1]

(b) Evaluate 1001011 ÷ 11 [2]

3. (a) (i) Convert the denary integer – 46 to an 8-bit two’s complement form.

...........................................................................................................................................

...................................................................................................................................... [1]

(ii) Convert the denary number 4E into hexadecimal.

...........................................................................................................................................

...................................................................................................................................... [1]

(b) Binary Coded Decimal (BCD) is another way of representing numbers.

Describe how denary integers larger than 9 can be converted into BCD.
Give an example in your answer.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

3
...................................................................................................................................... [2]

4. (a) Each of the following bytes represents an integer in two’s complement form.

State the denary value.

(i) 0111 0111 Denary.................................................. [1]

(ii) 1000 1000 Denary.................................................. [1]

(iii) Express the following integer in two’s complement form.

-17

[1]

(iv) State in denary, the range of integer values that it is possible to represent in
two’s complement integers using a single byte.

Lowest value..................................................

Highest value..................................................

(b) (i) Convert the following denary integer into Binary Coded Decimal (BCD).

653

.................................................................................................................................. [1]

(ii) A 3-digit BCD representation has been incorrectly copied. It is shown as:

0 1 0 0 1 1 1 0 0 0 1 0

State how you can recognise that this is not a valid BCD representation.

.......................................................................................................................................

...................................................................................................................................
[1]

(iii) Describe a practical application where BCD is used.

.......................................................................................................................................

.................................................................................................................................. [1]

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy