M4-Number Systems Conversion in PDF
M4-Number Systems Conversion in PDF
Introduction:
This lesson contains the discussion of different number systems and
its significance. Learners will also encounter how to convert one number
system to another.
Learning Outcome:
At the end of the lesson, the learners should be able to determine the
place value of each digit in a number system and to convert one number
system to another.
Information/Content:
Examples:
a.)11101 = 1X24 + 1x23 1x22 + 0x21 +1 X 20
Self-Check No.2.1
NUMBER SYSTEMS
Direction:
1.)Convert the following decimal numbers to binary. Show your
solution/computation.
Decimal Binary
1.)1231 1.)
2.) 175.175 2.)
3.) 10000 3.)
4.) 225 4.)
5.)1998 5.)
2.) Convert the following binary numbers to decimal. Show your
solution/computation.
Binary Decimal
1.)101110 1.)
2.) 1110101.11 2.)
3.) 110110100 3.)
4.) 11.111111 4.)
5.) 111111.11 5.)
REFERENCES:
Digital Design ,2nd edition ,1991 , by M. Morris Mano
https://www.khanacademy.org>math
https://delightlylinux.wordpress.com
https://www.mathisfun.com>binary
OCTAL AND HEXADECIMAL NUMBER SYSTEMS
Introduction:
Learning Outcome:
At the end of the lesson, the learners should be able to convert binary,
octal and hexadecimal and vice versa .
Information/Content:
Example:
Steps
1.)( 231.406517)8 =
c.) Look at the table and find the octal equivalent for each group of three digits
and assign the octal number to each group
010 110 001 101 011 . 111 100 000 110
2 6 1 5 3 7 4 0 6
d.) Write the binary number and its corresponding octal equivalent together
with its binary point.
10110001101011.111100000110( in binary ) = 26153.7406( in octal)
6 7 3 . 1 2 4
110 111 011 001 010 100
Step 2. Write the Octal number with the corresponding Binary number
and binary point.
Examples:
1.)Convert a decimal number 46,687 to Hexadecimal.
46,687/16 2917 15
2917/16 182 5
182/16 11 6
11/16 0 11
(46,687)10 = (B65F)16
Converting Hexadecimal number to decimal number.
Example:
Steps:
= 45,056 + 1,536 + 80 + 15
=46,687
Therefore:
(B65F)16 = ( 46,687)10
Conversion from a binary number to hexadecimal
To convert from binary to hexadecimal, locate the binary point.
From the binary point ,form a group of 4 digits towards the left and
towards the right.
Look at the table and find the corresponding hexadecimal digit for each
group.
Write the binary number and its equivalent hexadecimal number.
NUMBER SYSTEMS
Direction:
1.)Convert the following binary numbers to octal and hexadecimal. Show your
solution/computation.
4.)
REFERENCES:
999999
012398
987601
999999
546700
453299
For Binary Numbers, r=2
1.)Radix Complement, r=2, 2’s complement
-is obtained by leaving the two least significant 0’s and the first 1
unchanged, and then replacing 1’s with 0’s and 0’s with 1’swith the other
most significant digits.
Example: Find the 2’s complement of 1101100
Answer= 0010100
Example : Find the 2’s complement of 0110111
Answer= 1001001
Y= 1000011
+ X’=0101011
SUM=1101110
Step 4: Since no end carry in the SUM, Get the 1’s
complement of SUM.
SUM’ = 0010001
Step 5: Then Y-X = - SUM’
Y-X= -0010001
NAME: DATE:
COURSE & SECTION : SCORE:
ACTIVITY