Boolean Algebra | OCR A-Level Computer Science (H446)
Boolean Algebra
- 85 questions
- 5 subtopics
- Component 01: Computer systems
- Component 01
Boolean Algebra is examined on component 01 of OCR Computer Science, Computer systems.
80 recall questions across 5 subtopics.
Sample questions from Boolean Algebra
Answer each one closed book first, then open the answer.
-
Logic Gates and Truth Tables
Describe the NAND gate and give its truth table.
Show the answer
The symbol is the AND gate's D shape with a small circle on its output, the circle indicating inversion. It is NOT AND, so its output is the exact opposite of AND: 1 in every case except when all inputs are 1. Truth table: 0,0 gives 1; 0,1 gives 1; 1,0 gives 1; 1,1 gives 0. -
Logic Gates and Truth Tables
What happens if you connect both inputs of a NAND gate to the same signal? Work it out from the truth table.
Show the answer
Only two rows are then reachable. With both inputs 0, NAND gives 1; with both inputs 1, NAND gives 0. That is exactly the behaviour of a NOT gate, so a NAND with its inputs tied together inverts. The same trick works with a NOR gate, whose 0,0 row gives 1 and 1,1 row gives 0. -
Defining Problems Using Boolean Logic
Write an expression, in terms of A and B only, that is true when exactly one of the two inputs is true, without using the XOR symbol.
Show the answer
Q = A.B' + A'.B - that is, A true and B false, or A false and B true. This is the sum-of-products form of exclusive OR, and it is exactly what an XOR gate does. Writing it out this way is useful when you need to build the function from AND, OR and NOT gates only. -
Boolean Algebra Rules and Simplification
Simplify NOT(A AND B) OR A.
Show the answer
Apply De Morgan's first law to the bracket: (A.B)' = A' + B'. The expression becomes A' + B' + A. Commuting and regrouping gives (A + A') + B'. Since A + A' = 1 and 1 OR anything is 1, the whole expression simplifies to 1 - it is always true, whatever A and B are, so the circuit could be replaced by a permanent logic 1. -
Boolean Algebra Rules and Simplification
What does the symbol ≡ mean in a Boolean expression?
Show the answer
It means equivalence: A ≡ B is true when A and B have the same truth value, both true or both false. -
Half Adders, Full Adders and D-type Flip Flops
Give the truth table for a half adder.
Show the answer
Inputs A and B, outputs sum S and carry C. A=0, B=0 gives S=0, C=0. A=0, B=1 gives S=1, C=0. A=1, B=0 gives S=1, C=0. A=1, B=1 gives S=0, C=1, because 1 + 1 in binary is 10, so the sum digit is 0 and 1 is carried.
The 5 subtopics
One subtopic is one session. Work down the list.
| Subtopic | What it covers | Questions |
|---|---|---|
| Logic Gates and Truth Tables | Recall questions on truth tables, the AND, OR, NOT, XOR, NAND and NOR gates with their symbols and tables, reading and drawing gate diagrams, writing expressions from circuits, and proving equivalence with a truth table. | 16 |
| Defining Problems Using Boolean Logic | Recall questions on turning English conditions into Boolean expressions, deriving sum-of-products expressions from truth tables, at least one, exactly one and all, majority voting, common mistakes, and checking an expression against its requirement. | 10 |
| Boolean Algebra Rules and Simplification | Recall questions on the notations and symbols for AND, OR, NOT, equivalence and exclusive OR, the commutative, associative and distributive laws, double negation, De Morgan's laws, basic identities, simplifying expressions and checking a simplification with a truth table. | 24 |
| Karnaugh Maps | Recall questions on Karnaugh maps for two, three and four variables, Gray code labelling, filling a map, grouping rules, reading terms from groups, wrapping edges and corners, worked simplifications, and the advantages and limits of the method. | 16 |
| Half Adders, Full Adders and D-type Flip Flops | Recall questions on half adders and full adders with their truth tables, expressions and gate arrangements, ripple carry adders and propagation delay, tracing a four-bit addition, and D-type flip flops, edge triggering, toggling and their uses. | 19 |
How the guide is worked
Answering a question from memory stores it far better than reading the answer again. The guide runs that as a fixed procedure on one subtopic at a time, about twenty minutes a session.
-
Step 1 · Closed book
Cover the answers. Work through one subtopic and write down what you can. Leave blanks where you have nothing.
-
Step 2 · Open book
Go back to the top. Read each printed answer and write it out in full, including the ones you had right.
-
Step 3 · Closed book again
Same questions, same order, from memory. The gap between pass one and pass three is the session result.
Read the full method, the return schedule and the research behind it.
Nearby topics
OCR A-Level Computer Science Active Recall Guide
Every topic, not just this one. 1,549 questions with their answers.