Codiode
All tracks
Circuit Lab · Beginner

Digital Foundations

Build your number system intuition. Master binary, hex, BCD, Gray code and Boolean algebra before touching a single gate.

What you will learn

Every digital system is built on number systems and Boolean algebra. This track covers:

  • Binary, octal, hexadecimal, BCD and Gray code
  • Base conversions in all directions
  • Signed representations: two's complement, sign-magnitude, excess-3
  • Boolean algebra laws, De Morgan's theorem
  • Canonical forms: SOP, POS, minterm, maxterm
58 problems in 6 sections
58 problems in 6 sections
Section 1

Positional Number Systems and Base Conversions

9
01Hex Nibble to BinaryAnalyze10 GE02Binary to HexAnalyze10 GE03Decimal to Binary Using Repeated DivisionAnalyze10 GE04Binary Fraction to DecimalAnalyze10 GE05Decimal Fraction to BinaryAnalyze15 GE06Decimal to OctalAnalyze10 GE07Octal to Binary via GroupingAnalyze10 GE08Hex to Octal via BinaryAnalyze15 GE09Memory Address Space from Bus WidthAnalyze15 GE
Section 2

BCD and Gray Code

8
10BCD vs Binary: Identify the Valid CodeAnalyze10 GE11Decimal to BCD EncodingAnalyze10 GE12BCD Addition with Carry CorrectionAnalyze15 GE13Why the BCD Correction Factor Is 6Analyze15 GE14Binary to Gray Code ConversionAnalyze10 GE15Gray to Binary Conversion (The Hard Direction)Analyze15 GE16Why Gray Code Is Used in Shaft EncodersAnalyze10 GE17Gray Code Complete Sequence: Write All 4-Bit ValuesAnalyze10 GE
Section 3

Signed Number Representation

13
18Sign-Magnitude RepresentationAnalyze10 GE19The Two Zeros Problem in Sign-MagnitudeAnalyze10 GE20Two's Complement: Encode a Negative DecimalAnalyze10 GE21Two's Complement: Decode a Negative Bit PatternAnalyze10 GE22Positional Weight Reasoning: Why the MSB of Two's Complement Is NegativeAnalyze15 GE23Two's Complement Range AsymmetryAnalyze15 GE24Negating the Most Negative Two's Complement NumberAnalyze15 GE25Two's Complement Subtraction via AdditionAnalyze15 GE26Two's Complement Shortcut: Rightmost-1 RuleAnalyze15 GE27Sign ExtensionAnalyze15 GE28Excess-3 EncodingAnalyze10 GE29Excess-3 Self-Complementing PropertyAnalyze15 GE30BCD Subtraction via Ten's ComplementAnalyze25 GE
Section 4

Binary and Hex Arithmetic

5
31Binary Addition with Multi-Bit Carry ChainAnalyze10 GE32Unsigned Overflow Detection in Binary AdditionAnalyze15 GE33Signed Overflow Detection in Two's Complement AdditionAnalyze15 GE34Overflow in Two's Complement: The Carry-In vs Carry-Out RuleAnalyze25 GE35Hex Addition Without Decimal ConversionAnalyze15 GE
Section 5

Boolean Algebra

14
36Absorption Law: Both FormsAnalyze10 GE37Idempotent, Complement and Identity Laws Applied TogetherAnalyze10 GE38Distributive Law: Both DirectionsAnalyze10 GE39Dual of a Boolean ExpressionAnalyze15 GE40De Morgan's Theorem: Single-Variable NANDAnalyze10 GE41De Morgan's Theorem: NOR FormAnalyze10 GE42De Morgan's Applied to a Multi-Variable ExpressionAnalyze15 GE43Complement of a FunctionAnalyze15 GE44Simplification Using Multiple Laws: A 3-Variable ExpressionAnalyze15 GE45Recognize XOR from a Boolean ExpressionAnalyze15 GE46Consensus Theorem: Removing a Redundant TermAnalyze25 GE47Prove Equivalence Without a Truth TableAnalyze25 GE48Boolean Expression Simplification: 4-Variable ExpressionAnalyze25 GE49Convert SOP to Minimal POS Using Algebraic FactoringAnalyze25 GE
Section 6

Canonical Forms

9
50Truth Table to Canonical SOPAnalyze10 GE51Truth Table to Canonical POSAnalyze10 GE52SOP to POS via Complementary IndexingAnalyze15 GE53Sigma and Pi NotationAnalyze10 GE54Expand Non-Canonical SOP to Canonical FormAnalyze15 GE55From Expression to Minterm List Without a Truth TableAnalyze15 GE56Don't-Care Conditions in Canonical SOPAnalyze15 GE57F' Minterms from F's Minterms: The Complementary RelationshipAnalyze15 GE58Minterm and Maxterm Are Complements of Each OtherAnalyze15 GE