Class: Senior Secondary School 2 (SS2 / SSS2)
Term: First Term
Week: 10
Age: 16 years
Duration: 45 minutes
Subject: Computer Studies
Curriculum Theme: Digital Electronics
Previous Lesson: Alternative Logic Gates: Types, Symbols and Signals.
Topic: ALTERNATIVE LOGIC GATE II
Subject Matter: Truth table construction (NAND, NOR), equation for NAND and NOR gates, uses of logic gates (building blocks for hardware, electronic components), construction of simple comparators (using NOR, NAND, XOR gates)
Specific Objectives
By the end of the lesson, pupils should be able to:
Cognitive Domain:
- Construct the truth tables for NAND and NOR gates.
- Write the logic equations for NAND and NOR gates.
- Explain the uses of logic gates in digital electronics.
Affective Domain:
- Appreciate the importance of alternative logic gates in circuit design.
- Show interest in understanding how digital circuits are built.
Psychomotor Domain:
- Draw the symbols for NAND and NOR gates accurately.
- Identify components used in simple comparator circuits.
Social Domain:
- Collaborate with peers to discuss different applications of logic gates.
Reference Materials
The following resources were used in planning this lesson:
- Senior Secondary Schools Education Curriculum
- State Unified Scheme of Work
- M.O. Akewu, O.B. Okunola, J.O. Adedeji (2018). Comprehensive Computer Studies for Senior Secondary Schools 2. Aflon Limited.
Instructional Materials
The teacher will teach this lesson with the aid of:
- Truth table worksheet
- Alternative gate chart
- Comparator circuit diagram
Rationale for the Lesson
This lesson enables pupils to understand how NAND and NOR gates function as universal gates, which is fundamental to building complex digital circuits. It helps pupils to see the practical application of logic in designing electronic components and systems.
Prerequisite/Previous Knowledge
Pupils have prior knowledge of basic logic gates (AND, OR, NOT), their symbols, and truth tables.
Lesson Content/Board Summary
ALTERNATIVE LOGIC GATES (NAND and NOR)
1. NAND Gate
The NAND gate is a combination of an AND gate followed by a NOT gate. Its output is FALSE (0) only if all its inputs are TRUE (1); otherwise, the output is TRUE (1).
- Symbol: An AND gate symbol with a small circle (inversion bubble) at its output.
Truth Table for a 2-input NAND Gate:
| Input A | Input B | Output (A NAND B) |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Logic Equation: F = (A . B)’ or F = A NAND B
2. NOR Gate
The NOR gate is a combination of an OR gate followed by a NOT gate. Its output is TRUE (1) only if all its inputs are FALSE (0); otherwise, the output is FALSE (0).
- Symbol: An OR gate symbol with a small circle (inversion bubble) at its output.
Truth Table for a 2-input NOR Gate:
| Input A | Input B | Output (A NOR B) |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
Logic Equation: F = (A + B)’ or F = A NOR B
3. Uses of Logic Gates
Logic gates are fundamental components in digital electronics. Their uses include:
- Building blocks for various digital circuits such as adders, subtractors, and multiplexers.
- Used in microprocessors and memory chips.
- Implementing Boolean logic functions in hardware.
- Control systems in automated machinery.
- Data processing and storage in computers.
4. Construction of Simple Comparators
A comparator is a combinational logic circuit that compares two binary numbers and determines their relationship (equal, greater than, or less than). Simple comparators can be constructed using various logic gates.
- Equality Comparator: This circuit outputs a high (1) signal if the two input bits are equal, and a low (0) signal if they are different. It can be constructed using XOR gates (whose output is 0 for equal inputs) followed by an inverter, or directly using NAND/NOR gates in specific configurations.
- Gates used: NOR, NAND, and XOR gates are commonly used in the design of comparator circuits.
Teaching Methods/Instructional Techniques
Discussion, Lecture, Demonstration, Question and Answer, Visual Aids
Instructional Procedures
Step 1: Introduction
Time: 5 minutes
Teaching Skill: Set Induction
Teacher’s Activity: The teacher greets the pupils and reviews the previous lesson on basic logic gates (AND, OR, NOT). The teacher then introduces “Alternative Logic Gates” as gates that can perform the functions of all other gates.
Pupils’ Activity: Pupils respond to greetings, recall previous knowledge, and listen attentively to the introduction.
Learning Point: Pupils recall basic logic gates and are introduced to alternative gates.
Step 2: Explanation of NAND Gate
Time: 10 minutes
Teaching Skill: Explanation/Demonstration
Teacher’s Activity: The teacher defines the NAND gate, draws its symbol on the board, and guides pupils to construct its truth table and write its logic equation. The teacher uses the alternative gate chart to show the NAND gate.
Pupils’ Activity: Pupils define the NAND gate, draw its symbol, construct its truth table, and write the logic equation in their notebooks.
Learning Point: Pupils understand the definition, symbol, truth table, and logic equation of the NAND gate.
Step 3: Explanation of NOR Gate
Time: 10 minutes
Teaching Skill: Explanation/Demonstration
Teacher’s Activity: The teacher defines the NOR gate, draws its symbol, and guides pupils to construct its truth table and write its logic equation. The teacher uses the alternative gate chart to show the NOR gate.
Pupils’ Activity: Pupils define the NOR gate, draw its symbol, construct its truth table, and write the logic equation in their notebooks.
Learning Point: Pupils understand the definition, symbol, truth table, and logic equation of the NOR gate.
Step 4: Discussion on Uses of Logic Gates
Time: 5 minutes
Teaching Skill: Discussion/Questioning
Teacher’s Activity: The teacher explains various applications of logic gates, emphasizing their role as building blocks for hardware and electronic components. The teacher encourages pupils to share examples.
Pupils’ Activity: Pupils listen, contribute to the discussion, and mention real-world examples of logic gate applications.
Learning Point: Pupils understand the practical uses and importance of logic gates.
Step 5: Introduction to Comparators
Time: 5 minutes
Teaching Skill: Explanation
Teacher’s Activity: The teacher introduces the concept of a comparator, explaining its function in comparing binary numbers. The teacher mentions that comparators can be built using NOR, NAND, and XOR gates.
Pupils’ Activity: Pupils listen and understand what a comparator is and which gates are used in its construction.
Learning Point: Pupils are introduced to comparators and the gates used to build them.
Step 6: Construction of Comparators (Example)
Time: 5 minutes
Teaching Skill: Demonstration/Explanation
Teacher’s Activity: The teacher briefly explains how simple comparators, such as an equality comparator, can be formed using XOR gates or a combination of NAND/NOR gates, using the comparator circuit diagram as a visual aid.
Pupils’ Activity: Pupils observe the circuit diagram and understand the basic principle of comparator construction.
Learning Point: Pupils gain a basic understanding of how comparators are constructed using logic gates.
Step 7: Evaluation/Review
Time: 5 minutes
Teaching Skill: Questioning/Assessment
Teacher’s Activity: The teacher evaluates the learning by asking the following questions:
- Construct the truth table for a 2-input NAND gate.
- Write the logic equation for a NOR gate.
- Mention two uses of logic gates in digital electronics.
- What is a logic comparator?
Pupils’ Activity: Pupils answer orally and in writing.
Learning Point: Pupils demonstrate understanding of the lesson.
Step 8: Conclusion
Time: 5 minutes
Teaching Skill: Summarization
Teacher’s Activity: The teacher summarizes the lesson by reiterating the key concepts of NAND and NOR gates, their truth tables, equations, and their applications, including in comparators. The teacher then gives homework.
Pupils’ Activity: Pupils listen to the summary and copy the homework.
Learning Point: Pupils reinforce their understanding of the lesson content.
Lesson Keywords
- NAND Gate – A logic gate whose output is 0 only if all inputs are 1.
- NOR Gate – A logic gate whose output is 1 only if all inputs are 0.
- Truth Table – A table showing all possible input combinations and the corresponding output of a logic gate.
- Logic Equation – A mathematical expression that describes the behavior of a logic gate or circuit.
- Comparator – A digital circuit that compares two binary numbers and indicates their relationship (equal, greater than, or less than).
Differentiation
For pupils who grasp concepts quickly, the teacher can provide additional complex logic gate problems or challenge them to design a simple circuit for a specific function. For those needing more support, the teacher can provide simplified truth table templates or one-on-one guidance during activity sessions.
Note for teachers using this lesson plan
Ensure that pupils have a solid understanding of basic logic gates before introducing alternative gates. Encourage practical demonstrations using simulation software or physical kits if available, to enhance understanding of truth tables and circuit behavior. Emphasize that NAND and NOR gates are universal gates.

Community Join the conversation Open discussion +