Code Camp – Day 8

On the eighth day of our code camp, we’ll focus on advanced topics in digital systems and programming. You’ll develop the ability to recognize binary numbers from 1 through 16, a skill that’s foundational in understanding data representation in computers.

Additionally, you’ll become adept at determining the output of essential logic gates, including AND, OR, NOT, and XOR. Understanding how these gates function is crucial in digital circuit design and programming.

Hands-on experience awaits as you work with a simulator, LogicBuilder4.1, to construct a half adder. This practical exercise will deepen your understanding of digital logic and its real-world applications.

Programming skills will also be honed as you learn to declare and effectively utilize arrays and the “random()” function, essential tools for managing data and introducing variability in your code.

Lastly, we’ll delve into more complex digital arithmetic with a paper version of a full adder, enabling you to add four bits manually. These objectives aim to provide you with a well-rounded skill set in both digital systems and programming, equipping you for diverse challenges in the world of coding and technology.


  • Be able to recognize binary numbers 1 through 16.
  • Be able to determine output of logic gates
  • AND
  • OR
  • NOT
  • XOR
  • Be able to build a half adder using a simulator (LogicBuilder4.1).
  • Be able to declare and use arrays and random().
  • Be able to use a paper version of a full adder to add four bits.


  • Get colors randomly from an array
  • Be able to change the whole array using variables
    • Columns
    • Rows
    • Spacing in the X axis
    • Spacing in the Y axis
    • Width
    • Length
  • Can do this as variables, an array or an object (See: Day 3 slides)