Number System
(Digital Electronic)
Important to CCC, O-LEVEL, ADCA &
ALL Competitor Exam.
Hello
www.youtube.com\upciss
Number System
Number system used to represent the computer data & Information.
Four Types of Number System.
Number System Used Digits Base (Radix) Number
Binary Number 0 - 1 2 (11001010)2
Decimal Number 0 - 9 10 (58470)10
Octal Number 0 - 7 8 (46201)8
Hexadecimal Number 0 - F (15) 16 (8FA01)16
Valid Number (100110)2 (1001011)8 (8745)10 (B320)16
Invalid number (100400)2 (87010)8 (45AH0)16 (450E0)10
Number System Conversion
Q.1 Binary to Decimal ? Number Table Growth
(100101)2 = ? 1 2 1
2 4 2
1 0 0 1 0 1 3 6 4
32 16 8 4 2 1 4 8 8
5 10 16
32 + 4 + 1 = 37 Ans. (37)10 6 12 32
7 14 64
8 16 128
9 18 256
Q.2 Decimal to Binary ? Growth
(25)10 = ? (54)10 = ? 2
4
1 1 0 0 1 1 1 0 1 1 0
8
16 8 4 2 1 32 16 8 4 2 1 16
32
Ans. (11001)2 Ans. (110110)2
64
128
256
512
1024
2048
Q.3 Binary to Octal ?
Decimal Binary
(10110011)2 = ? 0 0
010 110 011 1 1
2 10
2 6 3 3 11
Ans. (263)8 4 100
5 101
(110010100101)2 = ? 6 110
110 010 100 101 7 111
6 2 4 5
Ans. (6245)8
Q.4 Octal to Binary ?
Decimal Binary
(326)8 = ? 0 0
011 010 110 1 1
2 10
Ans. (11010110)2 3 11
4 100
5 101
(2531)8 = ?
6 110
010 101 011 001 7 111
Ans. (10101011001)2
Q.5 Binary to Hexadecimal ? Decimal
0
Binary
0
(10111010110)2 = ?
1 1
2 10
3 11
0101 1101 0110 4 100
5 13 6 5 101
6 110
Ans. (5D6)16 7 111
8 1000
(11101100101010)2 = ? 9 1001
A—10 1010
0011 1011 0010 1010 B—11 1011
C—12 1100
3 11 2 10 D—13 1101
Ans. (3B2A)16 E—14 1110
F—15 1111
Q.6 Hexadecimal to Binary ? Decimal
0
Binary
0
(3F6)16 = ?
1 1
2 10
3 11
0011 1111 0110 4 100
Ans. (1111110110)2 5 101
6 110
7 111
8 1000
(A120)16 = ? 9 1001
A—10 1010
1010 0001 0010 0000 B—11 1011
C—12 1100
Ans. (1010000100100000)2 D—13 1101
E—14 1110
F—15 1111
Q.7 Decimal to Octal ?
Decimal Binary Octal
(43)10 = ? (210)10 = ?
1 1 0 1 0 0 1 0
1 0 1 0 1 1
128 64 32 16 8 4 2 1
32 16 8 4 2 1
011 010 010
101 011 3 2 2 Ans. (322)8
5 3
Ans. (53)8
Q.8 Octal to Decimal ?
Octal Binary Decimal
(63)8 = ?
110 011
1 1 0 0 1 1
32 16 8 4 2 1
32 + 16 + 2 + 1 = 51
Ans. (51)10
Q.9 Decimal to Hexadecimal ?
Decimal Binary Hexadecimal
(43)10 = ? (210)10 = ?
1 1 0 1 0 0 1 0
1 0 1 0 1 1
128 64 32 16 8 4 2 1
32 16 8 4 2 1
1101 0010
0010 1011 13 2 Ans. (D2)16
2 11
Ans. (2B)16
Q.10 Hexadecimal to Decimal ?
Hexadecimal Binary Decimal
(6A3)16 = ?
0110 1010 0011
0 1 1 0 1 0 1 0 0 0 1 1
2048 1024 512 256 128 64 32 16 8 4 2 1
1024 + 512 + 128 + 32 + 2 + 1 = 1699 Ans. (1699)10
Q.11 Octal to Hexadecimal ?
Octal Binary Hexadecimal
(63)8 = ? (542)8 = ?
110 011 101 100 010
110011 101100010
0011 0011 0001 0110 0010
3 3 1 6 2
Ans. (33)16 Ans. (162)16
Q.12 Hexadecimal to Octal ?
Hexadecimal Binary Octal
(A50)16 = ?
1010 0101 0000
101001010000
101 001 010 000
5 1 2 0
Ans. (5120)8
Binary Arithmetic
Binary Addition
Binary Multiplication
Binary Subtraction
Binary Division
Binary Addition
A B C Sum
1 1 0 + 0 0 1 1
1 0 1 1 0 + 1 1 1 1 1 1
+ 0 1 1 0 1 + 0 1 1 1 1 0 1
10 0 0 1 1 + 1 10 0 1 1 0 0
1 1 1 + 1 + 1 11 1 0 1 1 1
1 0 0 1 + 0 1 0 1 1
1 1 0 0 100 1 0 1 1
+ 0 1 0 1
11 0 1 0
Binary Multiplication
1 0 1 1 0 1
X 1 1 0
0 0 0 0 0 0
1 0 1 1 0 1
1 0 1 1 0 1
10 0 0 0 1 1 1 0
Visit Now
www.youtube.com\upci
ss
Thank You For Watching
[email protected]
m
UPCI COMPUTER EDUCATION
PREM NAGAR-SITAPUR (U.P)