|
|
||
| 1. Gates |
|
|
|
||
|
|
||
| 2. Computer Logic |
|
|
|
||
|
|
||
| 3. Computer Logic 2 |
|
|
|
||
|
|
||
| 4. Computer Logic 3 |
|
|
|
||
|
|
||
| 5. Mechanical realization of a switch |
|
|
|
||
|
|
||
| 6. Mechanical realization of a switch 2 |
|
|
|
||
|
|
||
| 7. Gate types |
|
|
|
||
|
|
||||||||
| 8. The NOT gate |
|
|||||||
|
||||||||
|
|
||
| 9. The NOT gate 2 |
|
|
|
||
|
|
|||||||||||||||||
| 10. The OR gate |
|
||||||||||||||||
|
|||||||||||||||||
|
|
||
| 11. The OR gate 2 |
|
|
|
||
|
|
|||||||||||||||||
| 12. The AND gate |
|
||||||||||||||||
|
|||||||||||||||||
|
|
||
| 13. The AND gate 2 |
|
|
|
||
|
|
||||||||
| 15. Logic Gate Symbols |
|
|||||||
|
||||||||
|
|
||
| 16. Ed's solution |
|
|
|
||
|
|
||
| 17. Ed's Solution 2 |
|
|
|
||
|
|
||
| 18. BOOLEAN ALGEBRA |
|
|
|
||
|
|
||
| 19. BOOLEAN ALGEBRA 2 |
|
|
|
||
|
|
||
| 20. BOOLEAN ALGEBRA 3 |
|
|
|
||
|
|
||
| 21. BOOLEAN ALGEBRA - Example |
|
|
|
||
|
|
||||||||
| 22. BOOLEAN ALGEBRA - Example 2 |
|
|||||||
|
||||||||
|
|
||
| 23. Use of parentheses |
|
|
|
||
|
|
||
| 24. Boolean Logic |
|
|
|
||
|
|
||
| 25. Typical Circuit |
|
|
|
||
|
|
||
| 26. Circuit Diagram |
|
|
|
||
|
|
||
| 27. Circuit Diagram |
|
|
|
||
|
|
||
| 28. Diagram example |
|
|
|
||
|
|
||
| 29. Example |
|
|
|
||
|
|
||
| 30. One-bit compare-for-equality circuit |
|
|
|
||
|
|
||||||||||||
| 31. ADD Circuit |
|
|||||||||||
|
||||||||||||
Gone for the CSCI 230 lecture
Meet you at Kelly's pub
When both pumps are ON, then there is no waterflow.
When you turn the lower pumps off, water is allowed to passed.
| IN | OUT |
| 0 | 1 |
| 1 | 0 |
| IN1 | IN2 | OUT |
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 1 | 1 |
| IN1 | IN2 | OUT |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
![]() | ![]() | ![]() |
| AND gate | OR gate | NOT gate |
r= TRUE if it is sunny, and
r=FALSE if it is not sunny
| ~ | ![]() |
| . | ![]() |
| + | ![]() |
5 - 3 - 1 = ?
5 - (3 - 1) = ?
Ex: ~~((p + ~p) . ~~q)

There is a direct relationship between Boolean expressions and circuit diagrams of this type. Every Boolean expression can be represented pictorially as a circuit diagram, and every output value in a diagram can be written as a Boolean expression.
c = (a OR b
d = NOT ((a OR b)) AND (NOT b))

| Inputs | Outputs | |||
|---|---|---|---|---|
| ai | bi | ci | si | ci+1 |