How to change decimal to binary

Good morning friends,
Today  we are going to learn how to change decimal numbers to binary numbers using some basic operations.

Conversion steps:

  • Divide the number by 2.
  • Get the integer quotient for the next iteration.
  • Get the remainder for the binary digit.
  • Repeat the steps until the quotient is equal to 0.
# example 1.
Q1. Convert 1510 to binary:
Division
by 2
QuotientRemainderBit #
15/2710
7/2311
3/2112
1/2013
1510 = 11112

#Example 2

Q2. Convert 17410 to binary:
Division
by 2
QuotientRemainderBit #
174/28700
87/24311
43/22112
21/21013
10/2504
5/2215
2/2106
1/2017
So 17410 = 101011102

I hope you have understood that how to change decimal to  binary.




Post a Comment

Previous Post Next Post