Q2 Week 5 LogicGates
Q2 Week 5 LogicGates
Electronics
Quarter II – Module 3, Lesson 2:
Digital Electronic Circuits
Electronics– Grade 10
Self-Learning Module
First Edition, 2020
Republic Act 8293, section 176 states that: No copyright shall subsist in any work of
the Government of the Philippines. However, prior approval of the government agency or office
wherein the work is created shall be necessary for exploitation of such work for profit. Such
agency or office may, among other things, impose as a condition the payment of royalties.
Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names,
trademarks, etc.) included in this module are owned by their respective copyright holders.
Every effort has been exerted to locate and seek permission to use these materials from their
respective copyright owners. The publisher and authors do not represent nor claim ownership
over them.
Each SLM is composed of different parts. Each part shall guide you step-by-
step as you discover and understand the lesson prepared for you.
At the end of each module, you need to answer the test to self-check your
learning. Answer keys are provided for each activity and test. We trust that you will
be honest in using these.
In addition to the material in the main text, Notes to the Teacher are also
provided to our facilitators and parents for strategies and reminders on how they can
best help you on your home-based learning.
Please use this module with care. Do not put unnecessary marks on any part
of this SLM. Use a separate sheet of paper in answering the exercises and tests. And
read the instructions carefully before performing each task.
If you have any questions in using this SLM or any difficulty in answering the
tasks in this module, do not hesitate to consult your teacher or facilitator.
Thank you.
The hand is one of the most symbolized part of the human body. It is often used to
depict skill, action, and purpose. Through our hands we may learn, create, and
accomplish. Hence, the hand in this learning resource signifies that you as a learner
is capable and empowered to successfully achieve the relevant competencies and
skills at your own pace and time. Your academic success lies in your own hands!
This module was designed to provide you with fun and meaningful opportunities for
guided and independent learning at your own pace and time. You will be enabled to
process the contents of the learning resource while being an active learner.
1. Use the module with care. Do not put unnecessary mark/s on any part of the
module. Use a separate sheet of paper in answering the exercises.
2. Read the instruction carefully before doing each task.
3. Observe honesty and integrity in doing the tasks and checking your answers.
4. Finish the task at hand before proceeding to the next.
5. Return this module to your teacher/facilitator once you are through with it.
If you encounter any difficulty in answering the tasks in this module, do not
hesitate to consult your teacher or facilitator. Always bear in mind that you are
not alone.
We hope that through this material, you will experience meaningful learning and
gain deep understanding of the relevant competencies. You can do it!
Explore
Introduction:
Digital electronic is a field of electronics involving the study of digital
signal and the engineering of devices that use or produce them. The digital
Learn
Review:
Direction: Identify the decimal conversion of the following binary numbers
1. 10001 = ______________
2. 00101 = ______________
3. 10100 = ______________
Activity:
Direction: Answer logically the figures below and write the letter of your choice.
a. b.
1.
c. d
?
a c
2.
? b d
3. a c
? b b
d
4. a c
?
b b
d b
TRUTH TABLES
• Truth tables help understand the behaviour of logic gates.
• They show how the input(s) of a logic gate relate to its output(s).
• The gate input(s) are shown in the left column(s) of the table with all the
different possible input combinations. This is normally done by making the
inputs count up in binary.
• The gate output(s) are shown in the right hand side column.
Logic gates
Digital systems are said to be constructed by using logic gates. These gates
are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates. The basic operations
are described below with the aid of truth tables.
AND gate
The AND gate gives a high output (1) only of all its inputs are high. A dot (.) is used
to show the AND operation, it may also be omitted.
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
A ● B = Y or AB = Y
OR gate
The AND gate gives a high output (1) if one or more of its inputs are high. A plus (+)
is used to show the OR operation.
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
A+B=Y
A=A
NAND Gate
This is a NOT-AND gate which is equal to an AND gate followed by a NOT
gate. The outputs of all NAND gates are high if any of the inputs are low. The symbol
is an AND gate with a small circle on the output. The small circle represents
inversion.
NOR Gate
This is a NOT-OR gate which is equal to an OR gate followed by a NOT
gate. The outputs of all NOR gates are low if any of the inputs are high. The symbol
is an OR gate with a small circle on the output. The small circle represents inversion.
The 'Exclusive-OR' gate is a circuit which will give a high output if either,
but not both, of its two inputs are high. An encircled plus sign is used to show
the EOR operation.
EXNOR Gate
The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will give
a low output if either, but not both, of its two inputs are high. The symbol is an
EXOR gate with a small circle on the output. The small circle represents inversion.
Example:
Below is an example of 2 input combined logic gates, now let us find the output
function for this circuit.
A B st Q
1 AND
0 0
0 1 OR
1st NOT
1 0
2ndAND
1 1
2nd NOT
A B Q
st
1 AND
0 0 1
0 1 0
OR
1 0 0
1 1 2ndAND1
Every digital circuit uses logic gates such us computers, cellphone or a tablet. The
main processor are interconnected logic gates.
Practical application of logic gate, a three-way light switch. The light can be turned
ON upon entering the house or it can also be at the end of the hallway. Either of the
two gives you more than one choice is essentially an OR gate.
Now that we know how the logic gates work, identify the missing value of each logic
gates and find the output function for item number 5 using truth table.
1
1.) ?
0
0
?
2.) 1
1
3.) 1
?
4.) 0
?
1
Apply
You have a clear concept on the logic gates. You also know that when the value is
zero (0) it means off, false or low while one (1) is on, true or high. Let us figure out
the following situation and what logic gate should we use:
Situation # 1:
Due to this pandemic when we go to buy grocery we need to bring with us Quarantine
Pass (QP) and QR code in order for us to enter the grocery. Express this situation
using logic gates.
Situation # 2:
Liza’s mother would like to purchase her a cellphone for online class. When she
inquired about it, the first one was expensive but got good reviews, the second have
fewer features, but within their budget. Express this situation using logic gates.
Multiple Choice. Choose the letter of the best answer. Write the chosen letter on a
separate sheet of paper.
1. The output of an AND gate with three inputs, A, B and C, is HIGH when
__________________
a. A = 0, B = 0, C = 0
b. A = 1, B = 1, C = 0
c. A = 1, B = 0, C = 1
d. A = 1, B = 1, C = 1
3. The output will be LOW for any case when one or more inputs are zero for:
a. NOT gate
b. AND gate
c. OR gate
d. Inverter
5. If a three-input AND gate has eight input possibilities, how many of those
possibilities will result in a HIGH output?
a. 8
b. 7
c. 6
d. 1
C
A
B Y
D
8. A = 0, B = 1 & D = 1?
a. Y = 0
b. Y = 1
9. A = 1, B = 1 & D = 1?
a. Y = 0
b. Y = 1
10. A = 0, B = 0& D = 1?
a. Y = 0
b. Y = 1
Do you think that logic gates are the foundation knowledge about computers?
References
Jaeger, Richard C., 1997. “Microelectronic Circuit Design”, McGraw Hill 1997, ISBN
0-07-032482-4. Pp. 226-233
Tinder, Richard F, 2000, “Engineering digital design”: Revised Second edition pp.
317-319, ISBN 0-12-691295-5