3.2.1
Boolean operations: AND, OR, NOT (3.2.1) 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.
Boolean algebra works with two values, True (1) and False (0). AND, written A·B, gives 1 only when both inputs are 1. OR, written A + B, gives 0 only when both inputs are 0.
NOT, written Ā, takes one input and gives the opposite. A truth table lists the output for every input combination: 2 inputs give 4 rows, 3 inputs give 8 rows.
Step 1 / 1
Boolean algebra works with two values, True (1) and False (0). AND, written A·B, gives 1 only when both inputs are 1. OR, written A + B, gives 0 only when both inputs are 0.
NOT, written Ā, takes one input and gives the opposite. A truth table lists the output for every input combination: 2 inputs give 4 rows, 3 inputs give 8 rows.
In logic, 1 + 1 = 1 (OR), not 2.
Found a mistake? Tell us the lesson and the line at exciting@boringeducation.com.
No ads. Tell us what to fix.