In computing, binary numbers are used to represent all types of data using only two digits: 0 and 1. These binary digits (bits) are the foundation of digital systems and are used by all computers to perform operations.
To convert the...
Read More
In computing, binary numbers are used to represent all types of data using only two digits: 0 and 1. These binary digits (bits) are the foundation of digital systems and are used by all computers to perform operations.
To convert the decimal number 10 to binary, we divide the number by 2 repeatedly and write down the remainders:
10 ÷ 2 = 5 → remainder 0
5 ÷ 2 = 2 → remainder 1
2 ÷ 2 = 1 → remainder 0
1 ÷ 2 = 0 → remainder 1
Now, if we write the remainders in reverse order (from last to first), we get: 1 0 1 0
So, the binary representation of 10 is 1010.
Discussion
Leave a Comment