You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
A key skill for OCR J277 Section 2.5 is the ability to derive a Boolean expression from a truth table. This means looking at a truth table and writing the algebraic expression that describes when the output is 1. This lesson teaches you a systematic method for doing this.
The most reliable method for deriving a Boolean expression from a truth table is called the sum of products (SOP) method. Here is the step-by-step process:
Consider this truth table:
| A | B | Q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Step 1: Identify rows where Q = 1:
Step 2: Write product terms:
Step 3: Combine with OR:
This is the Boolean expression for XOR — which makes sense, as the truth table matches XOR.
OCR Exam Tip: The sum of products method always works, even for complex truth tables. It may not give the simplest expression, but it will always give a correct one.
| A | B | C | Q |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 |
Step 1: Rows where Q = 1: rows 2, 4, 7, 8.
Step 2: Product terms:
Step 3: Combine with OR:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.