0% found this document useful (0 votes)
5 views

Worksheet number Conversion

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Worksheet number Conversion

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1 Binary systems and hexadecimal

In this chapter you will learn about:


• the binary system
• measurement of computer memories
• the hexadecimal system
• how to convert numbers between different number base systems

1.2 The binary system


We are all familiar with the denary (base 10) number system which counts in
multiples of 10. This gives us the well-known headings of units, 10s, 100s, 1000s
and so on:

The BINARY SYSTEM is based on the number 2. Thus, only the two ‘values’ 0 and 1
can be used in this system to represent each digit. Using the same method as denary,
this gives the headings of 20, 2 1, 22 , 23 and so on. The typical headings for a binary
number with eight digits would be:

A typical binary number would be:


11101110

12
1.2.1 Converting from binary to denary
It is fairly straightforward to change a binary number into a denary number. Each time
a 1 appears in a column, the column value is added to the total. For example, the
binary number above is:
128 + 64 + 32 + 8 + 4 + 2 = 238 (denary)
The 0 values are simply ignored.

Activity 1.1
Convert the following binary numbers into denary:
a 00110011
b 01111111
c 10011001
d 01110100
e 11111111
f 00001111
g 10001111
h 11110000
i 01110000
j 11101110

1.2.2 Converting from denary to binary


The reverse operation, converting from denary to binary, is slightly more complex.
There are two basic ways of doing this. The first method is ‘trial and error’ and the
second method is more methodical and involves repetitive division.

Method 1
Consider the conversion of the denary number, 107, into binary. This method
involves placing 1s in the appropriate position so that the total equates to 107:

Method 2
This method involves successive division by 2. The remainders are then read from
BOTTOM to TOP to give the binary value. Again using 107, we get:

13
Figure 1.1

Activity 1.2
Convert the following denary numbers into binary (using both methods):
a41
b67
c86
d100
e111
f127
g144
h189
i200
j255

14

You might also like