What Is "42" in Binary?

What Is "42" in Binary?

The number 42 in binary is "00110100 00110010." The binary system only uses two numeric values to represent numbers and letters, 1 and 0. The binary system is used internally by almost all modern computers, mobile phones, tablets, video game consoles and other computer-based devices.

To convert between base-10 numbers such as 42 and binary, each numeral has to go through a special process. This process involves dividing the number by two, with the remainder becoming the right-most digit in the binary code. The result is divided again, and the remainder becomes the next right-most digit. This is repeated until the quotient is zero.