3.2.1.2
Boolean functions and truth tables (3.2.1.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.
A Boolean function has one or more binary inputs and one binary output, built from AND, OR and NOT. Example: F(A, B) = A·B is 1 only in the row A = 1, B = 1.
To build a truth table, list all input rows (8 for A, B, C), add a column for each part (A·B, Ā, Ā·C), then combine. For F = A·B + Ā·C the output is 1 in rows 001, 011, 110 and 111.
Computers use Boolean functions in the ALU for arithmetic, in data processing and in control logic; phones and calculators use them too.
Step 1 / 1
A Boolean function has one or more binary inputs and one binary output, built from AND, OR and NOT. Example: F(A, B) = A·B is 1 only in the row A = 1, B = 1.
To build a truth table, list all input rows (8 for A, B, C), add a column for each part (A·B, Ā, Ā·C), then combine. For F = A·B + Ā·C the output is 1 in rows 001, 011, 110 and 111.
Computers use Boolean functions in the ALU for arithmetic, in data processing and in control logic; phones and calculators use them too.
One column per sub-expression, then combine.
Found a mistake? Tell us the lesson and the line at exciting@boringeducation.com.
No ads. Tell us what to fix.