Code Converter Demo

← Back to Unit 3

Description

Explore different binary code conversions including Binary to Gray code, Gray to Binary, Decimal to BCD, and BCD to Excess-3. See step-by-step conversion algorithms.

Learning Objectives

Bloom Level: Apply (L3)

After using this MicroSim, students will be able to:

  • Apply code conversion algorithms
  • Convert between Binary and Gray code
  • Understand BCD and Excess-3 representations

Code Types

Code Description Use Case
Binary Standard positional notation General computing
Gray Only one bit changes between adjacent values Rotary encoders, error reduction
BCD Each decimal digit encoded in 4 bits Display systems, calculators
Excess-3 BCD + 3 Self-complementing arithmetic

How to Use

  1. Select a conversion type from the dropdown
  2. Adjust the value using the slider
  3. Observe the step-by-step conversion process
  4. Compare input and output bit patterns

References