Logic Design Lecture 3 PDF

Summary

This document discusses logic gates, including AND, OR, and NOT gates, and presents Boolean algebra rules. It is suitable for undergraduate studies in computer science and engineering.

Full Transcript

# 132 Logic Design ## Logic Gates 1. **And** - a and b = a x b = axb - علشان هى تعتير طعه قمعنى كدا لازم يكون الاثنين = 1 علشان لو اي واحدة فيهم بـ zero هتطلع زيرو - a | b | a and b ---|---|--- 0 | 0 | 0 0 | 1 | 0 1 | 0 | 0 1 | 1 | 1 2. **OR**...

# 132 Logic Design ## Logic Gates 1. **And** - a and b = a x b = axb - علشان هى تعتير طعه قمعنى كدا لازم يكون الاثنين = 1 علشان لو اي واحدة فيهم بـ zero هتطلع زيرو - a | b | a and b ---|---|--- 0 | 0 | 0 0 | 1 | 0 1 | 0 | 0 1 | 1 | 1 2. **OR** - a or b= a + b = atb - علشان هى تعتبر ath فمعنى كما لو ظهرها الناتج هيكون 1 - a | b | a or b ---|---|--- 0 | 0 | 0 0 | 1 | 1 1 | 0 | 1 1 | 1 | 1 3. **Not** - Not a - a | Not a ---|---|--- 0 | 1 1 | 0 - اعکس ## Boolean Algebra Rules - A and 1 = AX1 = A - A ando = Axo=0 - A and A = A and A = Ad - A and B = AXB = BXA = BAnd A = AB=BA - A and (B and C) = (A and B) and C = A.B.C = ABC

Use Quizgecko on...
Browser
Browser