3.2.2
Logic gates and logic diagrams (3.2.2) is a Class 9 Computer Science lesson for the Punjab boards. It walks through the idea in plain steps, then sets a short check, in English, Urdu or Roman Urdu.
Your guide: Miss HiraExplains computers with chai, cricket and your phone.
Chapter 1 of every subject is free. Unlock every chapter of this class with the full course.
Unlock full courseAlready paid? Sign in with the Google account you paid with.
Logic gates are physical devices that perform Boolean operations. AND outputs 1 only when both inputs are 1; OR when at least one is 1; NOT outputs the opposite of its input.
NAND is AND followed by NOT: it outputs 1 when at least one input is 0. XOR (exclusive OR) outputs 1 only when exactly one input is 1, so 1 XOR 1 = 0.
To draw a logic diagram: find the gates the function needs, arrange them in the order of the operations, and connect inputs and outputs correctly.
Step 1 / 1
Logic gates are physical devices that perform Boolean operations. AND outputs 1 only when both inputs are 1; OR when at least one is 1; NOT outputs the opposite of its input.
NAND is AND followed by NOT: it outputs 1 when at least one input is 0. XOR (exclusive OR) outputs 1 only when exactly one input is 1, so 1 XOR 1 = 0.
To draw a logic diagram: find the gates the function needs, arrange them in the order of the operations, and connect inputs and outputs correctly.
XOR: one or the other, not both.
Found a mistake? Tell us the lesson and the line at exciting@boringeducation.com.
No ads. Tell us what to fix.