Convert (123)10 to Binary
In this article, we will learn how to convert the decimal number (123)10 to its binary equivalent.
What is Binary?
Binary is a number system that uses only two digits: 0 and 1. It is the basis for all computer programming and is used to represent information in computers.
What is Decimal?
Decimal is a number system that uses 10 digits: 0 to 9. It is the most commonly used number system in everyday life.
Converting Decimal to Binary
To convert a decimal number to binary, we can use the following steps:
Step 1: Divide the decimal number by 2
Divide 123 by 2:
123 ÷ 2 = 61 with a remainder of 1
Step 2: Divide the quotient by 2
Divide 61 by 2:
61 ÷ 2 = 30 with a remainder of 1
Step 3: Divide the quotient by 2
Divide 30 by 2:
30 ÷ 2 = 15 with a remainder of 0
Step 4: Divide the quotient by 2
Divide 15 by 2:
15 ÷ 2 = 7 with a remainder of 1
Step 5: Divide the quotient by 2
Divide 7 by 2:
7 ÷ 2 = 3 with a remainder of 1
Step 6: Divide the quotient by 2
Divide 3 by 2:
3 ÷ 2 = 1 with a remainder of 1
Step 7: Divide the quotient by 2
Divide 1 by 2:
1 ÷ 2 = 0 with a remainder of 1
The Remainders in Reverse Order
Now, let's write the remainders in reverse order:
1111011
This is the binary representation of the decimal number (123)10.
Conclusion
In this article, we learned how to convert the decimal number (123)10 to its binary equivalent using the division method. The binary representation of (123)10 is 1111011.