How to find binary to decimal and decimal to binary number ?
Decimal to binary conversion:-
There are multiple ways of conversion decimal numbers to binary numbers, The most commonly used is the dibble-dabble method. The method is to decimal numbers to be converted is repeatedly divided by 2. The remainders 0 & 1 so obtained are then read in the reverse order to obtain the binary equivalent of the decimal number.
lets take an example:-
Example :- Convert to decimal to binary 27510 = ?
Example :- Convert to decimal to binary 27510 = ?
Steps to solve the above example:-
Step1: first take 275 Decimal number.
Step2: Then divide by the number 2.
Step3: If the given decimal number is completely divide then remainder is 0.
Step4: If the given decimal number is not complete divide then remainder is 1.
Step5: Then take remainder at the side of the remaining digit below like a 137 --> 1.
Step6: Then continue the divide at the end when digit is divided in the form of 1 or 0.
Step7: Then take and collect the number which is in the form of 0 or 1 into the upward dirction as given above in the figure as shown.
Binary to Decimal conversion:-
The decimal equivalent is obtained by multiplying each binary digit with its positional value. The right most bit has positional value 20 , the second right most bit has value 21 and so on.
Example :- convert into binary to decimal number 10101012 = ?
Steps to solve the binary to decimal conversion:
Step1: Take 1010101 and check its base is 2.
Step2: Now count the digit in the given binary number there are 7 digits in the given binary number.
Step3: Now take a first digit 1 and multiply by 2 each digits in the given binary number.
Step4: Place the power of digit 2 counting with 0 to 6 in the decrease form which are digits like 6,5,4,3,2,1,0 are the seven digits in the decrease form.
Step5: Seperate each multiplication by the (+) sign like this 1*(2)^6 + 0*2^5..... so on.
Step6: Solve and complete to get the final answer and final answer will be decimal number.
-----------------------------------------------------------------------------------------------------------------------------
My latest post is here links below about the databases technology
What are the components of data model in [DBMS] Relational Database Management System?
There are five main components of data model... 👉 click here 👈
What is stability of the distributed database management system?
In the distributed database model there are.... 👉 click here👈
Comments
Post a Comment