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

Number System02

Number system

Uploaded by

priyanka vs
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)
6 views

Number System02

Number system

Uploaded by

priyanka vs
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/ 28

DIGITAL LOGIC

Sangeeth N.

Kerala PSC Expert


Syllabus
● Conversion of Number System
o Decimal to Binary
o Decimal to Octal
o Decimal to hexadecimal
o Binary to Decimal
o Octal to Decimal
o Hexadecimal to Decimal
Decimal to Binary
● Convert to (152.25)10
Decimal to Binary
● Step 1. Divide the integer by 2, while noting the quotient and remainder.
● Step 2. Then, divide the quotient again by 2, and record the 3rd quotient and
remainder.
● Step 3. Like this, keep dividing each successive quotient by 2 until you get a
quotient of zero.
● Step 4. After this, just write all the remainders in reverse order to get the
binary representation of the integer.
Decimal to Binary
● Fraction part of Decimal
○ Step 1. Multiply the fraction by 2, while noting down the resulting integer
and fraction parts of the product.
○ Step 2. Keep multiplying each successive resulting fraction by 2 until you
get a resulting fraction product of zero.
○ Step 3. Now, write all the integer parts of the product in each step.
Decimal to Binary
● Convert to (229)10
Decimal to Octal
● Step 1. Divide the integer by 8, while noting the quotient and remainder.
● Step 2. Then, divide the quotient again by 8, and record the 3rd quotient and
remainder.
● Step 3. Like this, keep dividing each successive quotient by 8 until you get a
quotient of zero.
● Step 4. After this, just write all the remainders in reverse order to get the
binary representation of the integer.
Decimal to Hexadecimal
● Fraction part of Decimal
○ Step 1. Multiply the fraction by 8, while noting down the resulting integer
and fraction parts of the product.
○ Step 2. Keep multiplying each successive resulting fraction by 8 until you
get a resulting fraction product of zero.
○ Step 3. Now, write all the integer parts of the product in each step.
Decimal to Octal
● Convert to (126.24)10
Decimal to Octal
● Convert to (427)10
Decimal to Hexadecimal
● Step 1. Divide the integer by 16, while noting the quotient and remainder.
● Step 2. Then, divide the quotient again by 16, and record the 3rd quotient
and remainder.
● Step 3. Like this, keep dividing each successive quotient by 16 until you get
a quotient of zero.
● Step 4. After this, just write all the remainders in reverse order to get the
binary representation of the integer.
Decimal to Hexadecimal
● Fraction part of Decimal
○ Step 1. Multiply the fraction by 16, while noting down the resulting
integer and fraction parts of the product.
○ Step 2. Keep multiplying each successive resulting fraction by 16 until
you get a resulting fraction product of zero.
○ Step 3. Now, write all the integer parts of the product in each step.
Decimal to Hexadecimal
● Convert to (176.20)10
Decimal to Hexadecimal
● Convert to (107)10
Binary to Decimal
● The process starts from multiplying the bits of binary number with its
corresponding positional weights.
● And lastly, we add all those products.
Binary to Decimal
● Convert binary (10110.001)2 to decimal
Binary to Decimal
● Convert binary (11010110)2 to decimal
Octal to Decimal
● he process starts from multiplying the digits of octal numbers with its
corresponding positional weights.
● And lastly, we add all those products.
Octal to Decimal
● Convert ( 675.42)8 to decimal
Octal to Decimal
● Convert ( 1467)8 to decimal
Hexadecimal to Decimal
● The process starts from multiplying the digits of hexadecimal numbers with
its corresponding positional weights.
● And lastly, we add all those products.
Hexadecimal to Decimal
● Convert ( DAE.97)16 to decimal
Hexadecimal to Decimal
● Convert ( C75F)16 to decimal
Question - 1
● Find x such that (279)x = (94)10
Question - 2
Convert hexadecimal value 16 to decimal.
A. 2210
B. 1610
C. 1010
D. 2010

Ans: 2210
Question - 3
Convert the binary number 1001.00102 to decimal.
A. 90.125
B. 9.125
C. 125
D. 12.5

Ans: 9.125
Question - 4
How many binary digits are required to count to 10010?
A. 7
B. 2
C. 3
D. 100

Ans: 7
THANK YOU

You might also like