Q:

# Which number is written 1010 in binary?

A:

The binary number 1010 represents the decimal number 10. The binary, or base two, system is used in computer programming, and it is quite straightforward once the rules are understood.

Know More

In the decimal system, there are places for 1s, 10s, 100s, 1000s and so on. Each place goes up by 10 times the value of the place before it. With the binary system, the places are 1s, 2s, 4s, 8s, 16s, 32s, 64s, 128s and so on. Each place goes up by double the value of the place before it. The binary number 1010 has no 1s, one 2, no 4s and one 8. Adding the 2 and 8 together makes the number equal to 10 in decimal.

## Related Questions

• A:

Computers use the binary number system, or base 2, because they have two electrical circuits. On and off are the two electrical circuits used in the operation of a computer system.

• A:

The Fibonacci sequence in Java is a set of codes in the programming language that generates numbers starting with 0, 1 and 1, such that any subsequent number is the sum of the previous two. The fourth number in the sequence is 2, the sum of 1 and 1.