Ir al contenido de la herramienta
Mis herramientas

Problemas matemáticos y razonamiento · Computer Science Principles (Binary & Bases)

Visualizador de base binaria y balanza de pesas

Visualizador del sistema binario y balanza de dosificación: potencias de 2 (1, 2, 4, 8, 16g)

  • Cálculo en cliente
  • Sin registro
  • Derivación en vivo
  • Modo proyector
  • Hoja de trabajo A4
Cálculo local · Privado
Recurso educativo y de investigación Diseñado para docentes y experimentación en el aula. Todos los cálculos se realizan localmente en el navegador y nunca se suben al servidor.
Ventana de demostración matemática● 60 FPS
Preajustes y errores frecuentes:

Variables de control del experimento

g
base

Derivaciones y métricas en tiempo real

Cadena binaria
--
Pesas colocadas
--
Representación hexadecimal
--
Bits necesarios
--
Derivación de fórmulas en tiempo real
Fórmula básica: --
Sustitución de valores: --
Conclusión: --

Ejemplos clásicos y análisis de errores en exámenes

Worked Problem

Problema: Scale with weights 1, 2, 4, 8, 16g on right pan only. 1) How many distinct weights can be measured? 2) How to weigh 25g?
Derivación paso a paso:
  1. 1) 2⁵ - 1 = 31 distinct weights from 1g to 31g. 2) 25 in binary is 11001_2 = 16 + 8 + 1, so use 16g, 8g, and 1g weights.

Worked Problem

Problema: Convert decimal 45 into binary and hexadecimal.
Derivación paso a paso:
  1. Divide by 2 successively: remainders bottom-up yield (101101)₂. Split into 4-bit nibbles: 0010 1101 = 0x2D.

Hoja de indagación en clase y tareas

Q1. Variant 1: 1000 bottles of wine, 1 poisoned (24h onset). Minimum mice to identify the poisoned bottle in 24 hours?
Q2. Variant 2: Weights 1, 3, 9, 27g can be placed on EITHER pan. Max weighable weight? How to balance 11g?
Q3. Variant 3: Why do digital computers use binary (0 and 1) instead of familiar decimal?

Preguntas frecuentes y errores conceptuales

What does "1 Byte = 8 bits" mean? Why is 1KB = 1024 Bytes rather than 1000?
1 bit is a 0/1 binary digit. 8 bits form 1 Byte. In base-2 systems, 2¹⁰ = 1024 is the natural metric multiplier closest to 1000.
Why are binary weight sums strictly unique without redundant combinations?
The Binary Representation Uniqueness Theorem proves every natural number has a strictly unique expansion into powers of 2.
Why is hexadecimal ubiquitous in computing (e.g. 0xFF)?
Hex is shorthand for binary! Exactly 4 bits condense into 1 hex digit (1111 = F). 0xFF compactly denotes 11111111 (decimal 255).
If 4 weights can balance any integer from 1 to 40g using both pans, what are their masses?
Powers of 3: 1g, 3g, 9g, 27g! Bachet's weighing puzzle proves balanced ternary (-1, 0, +1) maximizes encoding efficiency.