03 Data Representation

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

CT049-3-1- Operating Systems & Computer Architecture Data Representation

Data Representation

SECTION A
Exercise

This worksheet contains exercises on some of the material converted in chap2, Data
Representation. This exercise is not assessed.

1. Conversion from Binary to Decimal.


Covert the following unsigned binary numbers into decimal.
a) 110100
b) 01011011
c) 10010110

2. Conversion from Decimal to Binary


Convert the following decimal numbers into binary. How many bits are needed in
each case?
a) 14
b) 127
c) 249

3. Addition in Binary
Work out the following sums in unsigned binary. In each case, check your answer by
converting the numbers and the result into decimal.
a) 11011 + 1101
b) 11010101 + 00111110
c) 1111 + 1

4. Hexadecimal
Convert the following hexadecimal numbers into binary and decimal.
a) 3A
b) FF
c) A5

5. Convert the following decimal numbers into hexadecimal (an easy way to do this is to
convert into binary firs).
a) 254
b) 256
c) 64

6. Identify 3 differences between Analog and Digital signals.

7. State 2 reasons why computers use Digital signals.

Level 1 Asia Pacific University of Technology & Innovation Page 1 of 1

You might also like