Class: Senior Secondary School 2 (SS2 / SSS2)
Term: Second Term
Week: 8
Age: 16 years
Duration: 45 minutes
Subject: Computer Studies
Curriculum Theme: Digital Electronics
Previous Lesson: Logic Circuits: Truth Tables and Logic Equations.
Topic: LOGIC CIRCUITS
Subject Matter: Uses of logic gates (building blocks for hardware, electronic components), logic circuits II AL (alternative logic gates), description of alternative logic gates
Specific Objectives
By the end of the lesson, pupils should be able to:
Cognitive Domain:
- State at least three uses of logic gates in digital systems.
- Describe the function of alternative logic gates (NAND, NOR, XOR, XNOR).
Affective Domain:
- Appreciate the importance of logic gates in the functioning of computer hardware.
- Show interest in understanding how digital circuits are built.
Psychomotor Domain:
- Identify the symbols for NAND, NOR, XOR, and XNOR gates.
- Draw simple truth tables for alternative logic gates.
Social Domain:
- Collaborate in discussing real-world 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
- Comprehensive Computer Studies for Senior Secondary Schools by Williams A. Akande
- https://www.tutorialspoint.com/computer_logical_organization/logic_gates.htm
- https://www.geeksforgeeks.org/logic-gates-in-digital-electronics/
Instructional Materials
The teacher will teach this lesson with the aid of:
- Logic gate chart
- Pictures of electronic circuits
- Images of hardware components
Rationale for the Lesson
This lesson helps pupils understand how the fundamental building blocks of digital electronics, logic gates, are used in creating computer hardware. It enables them to grasp the basic principles behind the operation of various electronic devices and computer systems.
Prerequisite/Previous Knowledge
Pupils should have prior knowledge of basic logic gates such as AND, OR, and NOT gates, including their symbols and truth tables.
Lesson Content/Board Summary
LOGIC CIRCUITS
Uses of Logic Gates
Logic gates are the fundamental building blocks of all digital electronic circuits. They are used to implement Boolean algebra functions in digital systems.
The following are common uses of logic gates:
- They are used as building blocks for computer hardware and other electronic components.
- They are essential in designing and implementing digital circuits like microprocessors, memory chips, and control systems.
- They are found in various electronic devices such as calculators, mobile phones, and digital watches.
- They are used in data processing and storage within computers.
Alternative Logic Gates (Universal Gates and Exclusive Gates)
In addition to the basic gates (AND, OR, NOT), there are other important logic gates known as alternative gates. These include universal gates (NAND and NOR) and exclusive gates (XOR and XNOR).
NAND Gate
The NAND gate is a universal gate because any Boolean function can be implemented using only NAND gates. It produces an output of FALSE (0) only if all its inputs are TRUE (1); otherwise, its output is TRUE (1).
- Symbol: An AND gate followed by a NOT circle (inverter).
- Boolean Expression: Y = (A · B)’ or Y = NOT (A AND B)
- Truth Table:
- Input A=0, Input B=0, Output Y=1
- Input A=0, Input B=1, Output Y=1
- Input A=1, Input B=0, Output Y=1
- Input A=1, Input B=1, Output Y=0
NOR Gate
The NOR gate is also a universal gate. It produces an output of TRUE (1) only if all its inputs are FALSE (0); otherwise, its output is FALSE (0).
- Symbol: An OR gate followed by a NOT circle (inverter).
- Boolean Expression: Y = (A + B)’ or Y = NOT (A OR B)
- Truth Table:
- Input A=0, Input B=0, Output Y=1
- Input A=0, Input B=1, Output Y=0
- Input A=1, Input B=0, Output Y=0
- Input A=1, Input B=1, Output Y=0
XOR (Exclusive-OR) Gate
The XOR gate produces an output of TRUE (1) if an odd number of its inputs are TRUE (1); otherwise, its output is FALSE (0). It is often used in arithmetic operations like addition and in error detection.
- Symbol: An OR gate with an additional curved line before the inputs.
- Boolean Expression: Y = A ⊕ B or Y = A’B + AB’
- Truth Table:
- Input A=0, Input B=0, Output Y=0
- Input A=0, Input B=1, Output Y=1
- Input A=1, Input B=0, Output Y=1
- Input A=1, Input B=1, Output Y=0
XNOR (Exclusive-NOR) Gate
The XNOR gate is the complement of the XOR gate. It produces an output of TRUE (1) if an even number of its inputs are TRUE (1), or if all inputs are FALSE (0); otherwise, its output is FALSE (0). It is often used for equality detection.
- Symbol: An XOR gate followed by a NOT circle (inverter).
- Boolean Expression: Y = (A ⊕ B)’ or Y = AB + A’B’
- Truth Table:
- Input A=0, Input B=0, Output Y=1
- Input A=0, Input B=1, Output Y=0
- Input A=1, Input B=0, Output Y=0
- Input A=1, Input B=1, Output Y=1
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 reviews the previous lesson on basic logic gates (AND, OR, NOT) by asking pupils to state their functions.
Pupils’ Activity: Pupils recall and state the functions of basic logic gates.
Learning Point: Pupils connect prior knowledge to the new lesson.
Step 2: Uses of Logic Gates
Time: 10 minutes
Teaching Skill: Explanation/Discussion
Teacher’s Activity: The teacher explains the various uses of logic gates as fundamental building blocks in computer hardware and other electronic devices, using real-world examples.
Pupils’ Activity: Pupils listen attentively, ask questions, and contribute to the discussion on applications.
Learning Point: Pupils understand the practical relevance and applications of logic gates.
Step 3: Introduction to Alternative Logic Gates
Time: 10 minutes
Teaching Skill: Introduction/Demonstration
Teacher’s Activity: The teacher introduces the concept of alternative logic gates, specifically NAND, NOR, XOR, and XNOR gates, explaining their importance.
Pupils’ Activity: Pupils observe the gate symbols on the chart and listen to the introduction.
Learning Point: Pupils are introduced to new types of logic gates beyond the basic ones.
Step 4: Describing NAND and NOR Gates
Time: 10 minutes
Teaching Skill: Explanation/Demonstration
Teacher’s Activity: The teacher describes the NAND and NOR gates, including their symbols, Boolean expressions, and truth tables, using the logic gate chart.
Pupils’ Activity: Pupils copy the symbols, expressions, and truth tables into their notebooks and ask clarifying questions.
Learning Point: Pupils understand the function and representation of NAND and NOR gates.
Step 5: Describing XOR and XNOR Gates
Time: 5 minutes
Teaching Skill: Explanation/Demonstration
Teacher’s Activity: The teacher describes the XOR and XNOR gates, including their symbols, Boolean expressions, and truth tables.
Pupils’ Activity: Pupils copy the details for XOR and XNOR gates into their notes.
Learning Point: Pupils understand the function and representation of XOR and XNOR gates.
Step 6: Evaluation/Review
Time: 5 minutes
Teaching Skill: Questioning/Assessment
Teacher’s Activity: The teacher evaluates the learning by asking the following questions:
- Mention three uses of logic gates in computer hardware.
- Describe the function of a NAND gate and draw its symbol.
- State the Boolean expression for an XOR gate.
- What is the output of a NOR gate if both inputs are 0?
Pupils’ Activity: Pupils answer orally and in writing.
Learning Point: Pupils demonstrate understanding of the lesson.
Step 7: Conclusion
Time: 2 minutes
Teaching Skill: Summarization
Teacher’s Activity: The teacher summarizes the key points of the lesson, reiterating the uses of logic gates and the characteristics of alternative gates.
Pupils’ Activity: Pupils listen and ask any final questions.
Learning Point: Pupils recap the main concepts learned in the lesson.
Lesson Keywords
- Logic gates – Electronic circuits that perform logical operations on one or more binary inputs to produce a single binary output.
- NAND gate – A universal logic gate that produces a low output only if all its inputs are high.
- NOR gate – A universal logic gate that produces a high output only if all its inputs are low.
- XOR gate – An exclusive OR gate that produces a high output if an odd number of its inputs are high.
- XNOR gate – An exclusive NOR gate that produces a high output if an even number of its inputs are high.
- Truth table – A table showing all possible input combinations and the corresponding output of a logic gate.
Differentiation
For struggling learners, the teacher will provide simplified diagrams and focus on identifying gate symbols and basic functions. Advanced learners will be challenged to create simple truth tables for more complex input combinations or discuss how these gates are combined to form more complex circuits.
Note for teachers using this lesson plan
Ensure that pupils clearly understand the difference between basic and alternative logic gates. Use the instructional materials effectively to show the physical representation and application of these gates. Encourage pupils to draw the symbols and truth tables themselves to reinforce learning.

Community Join the conversation Open discussion +