Professional Documents
Culture Documents
BIT (b)
It is the basic unit of data or information in digital computers.
BITS, BYTES, NIBBLES, AND WORD
BYTE (B)
A group of bits (8 bits) used to represent a character.
NIBBLE
Half a byte, which is usually a grouping of 4 bits.
BITS, BYTES, NIBBLES, AND WORD
WORD
Two or more bits make a word. It is the natural unit of data used by
a particular processor design.
Base - 10
Base - 8
Base - 16
Base - 2
BASE - 10
:
BASE - 8
For example, our base-8 version of 10 now looks like and our
base-10 version of 10 now looks like .
CONVERTING BASE - 8 TO BASE - 10
PROBLEM NO. 1
John offers to give you cookies, and Jane offers to give you
cookies.
So, in total, we have four groups of eight and seven groups of one.
CONVERTING BASE - 8 TO BASE - 10
Mathematically,
=
= +
PROBLEM NO. 2
The pattern we saw before with base-10 holds true here also. We’ll
look at .
Mathematically,
= 0
=
= +
CONVERTING BASE - 8 TO BASE - 10
Visually,
TRY THIS
2. : =
= +
LET’S CHECK
3. : =
=
=
= +
CONVERTING BASE - 10 TO BASE - 8
PROBLEM NO. 3
Finally, we are left with 6, and can obviously take 6 groups of one
from this ( is 1), our final digit.
We end up with .
CONVERTING BASE - 10 TO BASE - 8
Mathematically,
=
=
=
TRY THIS
2. : =
=
LET’S CHECK
3. : =
=
=
=
=
BASE - 16
It consists of ten digits from 0 to 9 and six letter from the alphabet
from A to F.
Base 16 Digit Value
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
A 10
B 11
C 12
D 13
E 14
F 15
CONVERTING BASE - 16 TO BASE - 10
PROBLEM NO. 4
Mathematically,
=
= + (D = 13)
TRY THIS
2. : =
= (F = 15)
= +
LET’S CHECK
3. : =
=
= + (B = 11)
CONVERTING BASE - 10 TO BASE - 16
PROBLEM NO. 5
=
= (B = 11)
=
Final Answer :
TRY THIS
Final Answer :
LET’S CHECK
2. : =
= (B = 11)
Final Answer :
LET’S CHECK
3. : =
=
= (E = 14)
= (B = 11)
Final Answer :
BASE - 2
For example, the value of 10001 is 17, which is the sum of the
values of the two 1 digits (16+1).
CONVERTING BASE - 2 TO BASE - 10
PROBLEM NO. 6
=
=
=
=
=
= +
CONVERTING BASE - 10 TO BASE - 2
PROBLEM NO. 7
=
=
=
=
=
=
=
TIPS AND TRICKS
However, there’s a trick that will let you convert between binary
and hexadecimal quickly.
First, take any binary number and divide its digits into groups of
four.
CONVERTING OTHER BASES
PROBLEM NO. 8
Notice how we can just add extra zeroes to the front of the first
group to make even groups of 4.
We now find the value for each group as if it was its own separate
number, which gives us 5 and 13.
Visually,
CONVERTING OTHER BASES
PROBLEM NO. 9
B = 11 7
= =
= =
= =
= =
CONVERTING OTHER BASES
What this means is that we use similar trick for base-8, which is
also a power of 2:
CONVERTING OTHER BASES
TRY THIS
2. to
4 3
= =
= =
= =
= =
LET’S CHECK
3. to
6 1
= =
= =
= =
LET’S CHECK
2 3
= =
= =
= =
TRY THIS