This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 11-30 Class Notes CS 107 Wednesday, November 30, 2011 12:13 PM CS 107 Fall 2011 Page 1 So how does this relate to binary numbers? How can we use basic logic with binary numbers to make a computer work? For a small example lets implement a half-adder using simple logic gates a. We've already seen Binary Numbers Logic gates: consider behavior of AND, OR, NOT, XOR b. Steps: Think of inputs and outputs for a half-adder (adding 2 bits) a. a. How would we implement this using logic gates? CS 107 Fall 2011 Page 2 CS 107 Fall 2011 Page 3...
View Full Document
- Fall '11
- Computer Programming