Lesson Notes By Weeks and Term v4 - SHS 2

DIGITAL ELECTRONICS

Download the Lessonotes Mobile Ghana app for faster lesson access on Android and iPhone.

Subject: Physics

Class: SHS 2

Term: 2nd Term

Week: 14

Grade code: 2.3.3.LI.4

Strand code: 3

Sub-strand code: 3

Content standard code: 2.3.3.CS.2

Indicator code: 2.3.3.LI.4

Theme: ELECTRIC FIELD, MAGNETIC FIELD AND ELECTRONICS

Subtheme: DIGITAL ELECTRONICS

Lesson Video

This page supports the lesson note with a companion video and a short classroom-ready summary.

For class groups and homework, share this lesson page so learners also get the summary, objectives, and full lesson context.

Performance objectives

Lesson summary

Welcome, students! Look around you. Your mobile phone, the digital clock, the traffic lights in Accra or Kumasi, and even the smart TVs we use all run on a hidden language. This language is not spoken with words but with simple 'ON' and 'OFF' signals. Today, we are going to learn the basic grammar of this language: Logic Gates. These are the tiny decision-makers at the heart of all digital devices. Understanding them helps us understand how the modern world works, from the phone in your pocket to the computers that manage our mobile money transactions.

Lesson notes

a. Analog vs. Digital Signals Before we talk about logic gates, we must understand the type of information they use. Analog Signal: An analog signal is a continuous wave that can have any value within a range. Think of the volume knob on an old radio – you can turn it to any position, not just a few specific spots. Human speech and light intensity are naturally analog. Digital Signal: A digital signal is not continuous. It can only have specific, discrete values. In electronics, we simplify this to just two values: HIGH (also called '1', 'ON', 'True') LOW (also called '0', 'OFF', 'False')

This two-state system is called binary. All modern digital devices, from your calculator to a laptop, use binary to process information. b. What is a Logic Gate? A logic gate is a basic building block of a digital circuit. It is an electronic device with one or more inputs and only one output. The output's state (HIGH or LOW) is determined by the state of the inputs according to a specific logical rule. They are the "decision-makers" of the digital world. c. The Fundamental Logic Gates

Let's explore the main types of logic gates. For each gate, we will look at its symbol, its function, its Boolean expression (a mathematical way to represent the logic), and its truth table (a table showing all possible input combinations and their resulting output). NOT Gate (The Inverter) The NOT gate is the simplest gate. It has only one input and one output. Function: It inverts the input. If the input is HIGH, the output is LOW. If the input is LOW, the output is HIGH. Symbol: Boolean Expression: `Q = NOT A` or `Q = Ā` (The bar above 'A' means NOT). Truth Table: | Input (A) | Output (Q) | | :---: | :---: | | 0 | 1 | | 1 | 0 | Analogy: Think of it as a "perverse student." If you say "yes" (1), they say "no" (0). AND Gate (The "All or Nothing" Gate) The AND gate has two or more inputs and one output. Function: The output is HIGH only if all inputs are HIGH. If any input is LOW, the output will be LOW. Symbol: Boolean Expression: `Q = A AND B` or `Q = A . B` Truth Table (for 2 inputs): | Input A | Input B | Output (Q) | | :---: | :---: | :---: | | 0 | 0 | 0 | | 0 | 1 | 0 | | 1 | 0 | 0 | | 1 | 1 | 1 | Analogy: To start a special generator, you need the main switch ON (A=1) AND the key turned (B=1). If either is OFF, the generator won't start (Q=0). OR Gate (The "Any will do" Gate) The OR gate has two or more inputs and one output. Function: The output is HIGH if at least one of the inputs is HIGH. It is only LOW when all inputs are LOW. Symbol: Boolean Expression: `Q = A OR B` or `Q = A + B` Truth Table (for 2 inputs): | Input A | Input B | Output (Q) | | :---: | :---: | :---: | | 0 | 0 | 0 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 1 | Analogy: A house light can be turned on by a switch near the door (A) OR a switch near the bed (B). As long as one is ON, the light is ON. NAND Gate (The "Not-AND" Gate) The NAND gate is simply an AND gate followed by a NOT gate. Function: The output is LOW only when all inputs are HIGH. Otherwise, the output is HIGH. It is the exact opposite of an AND gate. Symbol: (It's an AND gate symbol with a small circle at the output) Boolean Expression: `Q = NOT (A AND B)` or `Q = A . B` Truth Table (for 2 inputs): | Input A | Input B | Output (Q) | | :---: | :---: | :---: | | 0 | 0 | 1 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 0 | Analogy: An alarm (Q) is quiet (0) only when the system is armed (A=1) AND motion is detected (B=1). Otherwise, the alarm is in its 'safe' or 'ready' state (1). NOR Gate (The "Not-OR" Gate) The NOR gate is an OR gate followed by a NOT gate. Function: The output is HIGH only when all inputs are LOW. Otherwise, the output is LOW. It is the exact opposite of an OR gate. Symbol: (It's an OR gate symbol with a small circle at the output) Boolean Expression: `Q = NOT (A OR B)` or `Q = A + B` Truth Table (for 2 inputs): | Input A | Input B | Output (Q) | | :---: | :---: | :---: | | 0 | 0 | 1 | | 0 | 1 | 0 | | 1 | 0 | 0 | | 1 | 1 | 0 | Analogy: The emergency light (Q) in a building comes ON (1) only if the main power (A) is OFF and the backup generator (B) is also OFF. XOR Gate (The "Exclusive OR" Gate) This gate is a special type of OR gate. Function: The output is HIGH only if the inputs are different. If the inputs are the same (both 0 or both 1), the output is LOW. Symbol: Boolean Expression: `Q = A XOR B` or `Q = A ⊕ B` Truth Table (for 2 inputs): | Input A | Input B | Output (Q) | | :---: | :---: | :---: | | 0 | 0 | 0 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 0 | Analogy: A two-way staircase light. If both switches (upstairs and downstairs) are in the same position (both up or both down), the light is OFF. If they are in different positions, the light is ON.

Guided Practice (With Solutions)

Evaluation guide