Credit:Richard NewsteadMomentGetty Images

Q: A: ### Quick Answer

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 MoreIn 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.

Learn more about Computer ProgrammingSources:

- Q:
## What is "42" in binary?

A:

Full Answer >**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.Filed Under: - Q:
## How can you explain "constructor overloading" in the Java programming language?

A:

Full Answer >**The concept of constructor overloading in Java is a technique in which a single class can have a number of constructors that differ in the parameter list.**The compiler differentiates the constructors by taking into consideration the number of parameters in the list and their type.Filed Under: - Q:
## What is the Sieve of Eratostenes in Java?

A:

Full Answer >**The Sieve of Eratosthenes is an algorithm for finding prime numbers up to a set number and creating a sieve program in javascript that teaches the fundamentals of programming an algorithm.**Algorithms are procedures for problem solving that follow specific steps to achieve results.Filed Under: - Q:
## Why do computers use the binary number system?

A:

Full Answer >**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.Filed Under: