0% found this document useful (0 votes)
138 views3 pages

Binary To Octal:: Clar, Steve E. Exercise 1

This document provides examples of converting between binary, octal, and hexadecimal number systems. It includes converting binary numbers to octal and hexadecimal, binary numbers to decimal, and decimal numbers to binary, octal, and hexadecimal through the repeated use of long division. The steps shown include splitting numbers into groups of bits or remainders and assigning place values to determine the final converted number.

Uploaded by

Steve Clar
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)
138 views3 pages

Binary To Octal:: Clar, Steve E. Exercise 1

This document provides examples of converting between binary, octal, and hexadecimal number systems. It includes converting binary numbers to octal and hexadecimal, binary numbers to decimal, and decimal numbers to binary, octal, and hexadecimal through the repeated use of long division. The steps shown include splitting numbers into groups of bits or remainders and assigning place values to determine the final converted number.

Uploaded by

Steve Clar
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/ 3

CLAR, STEVE E.

Exercise 1

1. Convert the following binary numbers into octal and hexadecimal numbers:
a. 1101011100101
b. 11000011100110000011
Binary Octal Hexadecimal
1101011100101 153458 1AE516
11000011100110000011 30346038 C398316

Solution:
Binary to Octal:
We can split the binary number from left to right, 3 bits per group. If the rightmost group
is not in the 3-bit format, we can add zero to fill in the lacking bits. Then we can evaluate each
group with its equivalent value from 0 to seven since we are converting binary number to
octal.
a. 1 101 011 100 101
001 101 011 100 101
1 5 3 4 5

b. 11 000 011 100 110 000 011


011 000 011 100 110 000 011
3 0 3 4 6 0 3

Binary to Hexadecimal:
We can split the binary number from left to right, 4 bits per group. Same in Octal, if the
rightmost group is not in the 4-bit format, we can add zero to fill in the lacking bits. Then we
can evaluate each group with its equivalent value from 0 to 15 (0-9, A, B, C, D, E, F) since we
are converting binary number to hexadecimal.
c. 1 1010 1110 0101
0001 1010 1110 0101
1 A E 5

d. 1100 0011 1001 1000 0011


1100 0011 1001 1000 0011
C 3 9 8 3

1|Page
CLAR, STEVE E.
Exercise 1

2. Convert the following numbers into binary:

a. 15210 = 100110002

Remainder
152/2 = 76 0
76/2 = 38 0
38/2 = 19 0 Read from bottom to top
19/2 = 9 1
9/2 = 4 1
4/2 = 2 0
2/2 = 1 0
1/2 = 0 1

b. 34310 = 1010101112

Remainder
343/2 = 76 1
171/2 = 85 1
85/2 = 42 1 Read from bottom to top
42/2 = 21 0
21/2 = 10 1
10/2 = 5 0
5/2 = 2 1
2/2 = 1 0
1/2 = 0 1

3. Convert the following numbers into octal:

a. 184310 = 34638

Remainder
1843/8 = 230 3
230/8 = 28 6
28/8 = 3 4 Read from bottom to top
3/8 = 0 3

b. 176610= 33468

Remainder
1766/8 = 220 6
220/8 = 27 4
27/8 = 3 3 Read from bottom to top
3/8 = 0 3

2|Page
CLAR, STEVE E.
Exercise 1

4. Convert the following binary numbers into octal and hexadecimal numbers:

a. 198710= 7C316

b. Remainder
1987/16 = 124 3
124/16 = 7 C Read from bottom to top
7/16 = 0 7

c. 307210= C0016

a. Remainder
3072/16 = 192 0
192/16 = 12 0 Read from bottom to top
12/16 = 0 C

3|Page

You might also like