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

Summary TheNumberSystem (2)

The document provides an overview of various number systems, including denary, binary, and hexadecimal, along with methods for converting between them. It explains binary addition rules and illustrates conversion examples for denary to binary, binary to denary, denary to hexadecimal, hexadecimal to denary, binary to hexadecimal, and hexadecimal to binary. Additionally, it includes a simple example of binary addition.

Uploaded by

Yoon Nadi
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)
2 views

Summary TheNumberSystem (2)

The document provides an overview of various number systems, including denary, binary, and hexadecimal, along with methods for converting between them. It explains binary addition rules and illustrates conversion examples for denary to binary, binary to denary, denary to hexadecimal, hexadecimal to denary, binary to hexadecimal, and hexadecimal to binary. Additionally, it includes a simple example of binary addition.

Uploaded by

Yoon Nadi
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/ 5

Summary of Number System

• Denary
• Binary
• Hexadecimal
• Binary Addition
Denary to Binary Binary to Denary
• involves the value headings
▪ successive division by 2 until it reaches 0
(…,128,64,32,16,8,4,2,1)
▪ Write the reminders from bottom to top
• Add the values of 1

Example: Example:
Consider the conversion of the denary number, 59, into binary: Convert the binary number 11101110, into a denary number

59 ÷ 2 → 29, Remainder =1

29 ÷ 2 → 14, Remainder =1
128 64 32 16 8 4 2 1
14 ÷ 2 → 7, Remainder =0 1 1 1 0 1 1 1 0

7÷2 → 3 , Remainder =1
(128+64+32+8+4+2)= 238
3÷2 → 1, Remainder =1

1÷2 → 0, Remainder =1 Answer : 238

Answer : 111011
Denary to Hexadecimal Hexadecimal to Denary
▪ involves the value headings of each
▪ successive division by 16 until it reaches 0
hexadecimal digit; that is, 4096, 256, 16 and 1.
▪ Write the reminders from bottom to top
▪ multiply each hex digit by its heading value
Example-1: Convert the denary number, 2004, ▪ Add all the resultant totals together to give
the denary number
into hexadecimal.

Example-1: 4 5 A
2004 ÷ 16 125, remainder =4

256 16 1
125 ÷ 16 7, remainder =13 (D)
4 5 A
7 ÷ 16 0, remainder = 7
(4x256) (5x16) (10x1)

1024 + 80 + 10 = 1114
Answer : 7D4
Answer : 1114
Binary to Hexadecimal Hexadecimal to Binary
▪ right to left, split the binary number into ▪ find the 4 bit code for each digit
groups of 4 bits.
▪ Put the groups together to form the binary
▪ If last group has less than 4bits, fill with 0s number
▪ Convert each 4 bit group into Hexadceimal

Example: 101111100001 Example: 4 5 A

101111100001 4 5 A

1011 1110 0001 0100 0101 1010

B E 1 010001011010

Answer : B E 1 Answer : 010001011010


Binary Addition
SIMPLE RULES
▪ Example-1: Add (00100111+01001010)
0+0=0
0+1=1
1+0=1 0 0 1 0 0 1 1 1
1 + 1 = 10 +
0 1 0 0 1 0 1 0
1 + 1 + 1 = 11 Carry
1 1 1 values

Sum
Start from right column to left 0 1 1 1 0 0 0 1 Values

Answer : 01110001 5

You might also like