Please enable JavaScript to use CodeHS

IB Computer Science SL Resources

Logic Gates

Students work with the seven logic gates, move between truth tables, Boolean expressions, and logic diagrams, and simplify circuits using Boolean algebra and Karnaugh maps.

Lessons

13.1 Logic Gates and Boolean Operators

  • Why Logic Gates
  • Gates in Code
  • The Seven Gates
  • Build the Seven Gates
  • Logic Gates and Boolean Operators Quiz

13.2 Truth Tables and Boolean Expressions

  • Truth Tables
  • Print Any Truth Table
  • From Description to Truth Tables
  • Truth Table Generator
  • Design the Alarm
  • +1 more

13.3 Logic Diagrams and Combinational Circuits

  • Reading a Logic Diagram
  • A Half Adder in Code
  • Combining a Gate
  • Build a Full Adder
  • Trace and Draw
  • +1 more

13.4 Simplifying Logic: Boolean Algebra and Karnaugh Maps

  • Boolean Algebra Rules
  • Karnaugh Maps
  • Prove It's Equivalent
  • Simplify, Verify, Redraw
  • Boolean Algebra and Karnaugh Maps Quiz

Courses that include this module