Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Binary?

También llamado: binary number

Definition 11.2 Primary & Middle School Computer Science · Capítulo 11 — Bits and Bytes: Counting in Binary

Writing a number in binary is writing it with the digits 0 and 1 only, where each place is worth twice the place on its right: 1, 2, 4, 8, 16, and so on, from the right. A number written this way is a binary number.

Ejemplos

Example 11.4 (Writing 22 and reading 10011)

For 22: 16 fits, 6 is left; 8 does not fit; 4 fits, 2 is left; 2 fits, 0 is left; 1 does not fit. So 22 is 10110 in binary. To read 10011, add the values of the places that hold a 1: 16+2+1=1916 + 2 + 1 = 19.

Leer en el capítulo →