jueves, 4 de diciembre de 2014

THE BINARY NUMBERING SYSTEM

Computers use binary code. This is based on the binary numbering system that uses the digits 0 and 1 to represent any character or number. The value of these digits depends on their position in the group. In the binary code the value is determined by a base-2 system.

To convert a binary number into a decimal number:

1. Find the successive powers of 2, starting with 2^0, followed by 2^1, 2^2, etc.
2. Multiply by either the 1 or 0  the relation to that position.

To convert a decimal number into a binary number:

1. Divide the decimal number by 2 successively until the quotient is 1.
2. Put the remainders of the quotient in order from right to left.

No hay comentarios:

Publicar un comentario

Nota: solo los miembros de este blog pueden publicar comentarios.