100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Interview

GCE OLevels Computer 2210- Logic Gates (Notes&Topical)

Rating
-
Sold
-
Pages
21
Uploaded on
30-01-2022
Written in
2021/2022

These Handouts are designed for computer science students who opted for GCE Olevels Computer code 2210 for the preparation of their exams.

Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Secondary school
School year
4

Document information

Uploaded on
January 30, 2022
Number of pages
21
Written in
2021/2022
Type
Interview
Company
Unknown
Person
Unknown

Subjects

Content preview

COMPUTER 2210 HANOUTS
GCE OLEVELS


3 Logic gates and logic circuits
3.1 Logic Gates
Electronic circuits in computers, many new memories and controlling devices are made
up of thousands of LOGIC GATES. Logic gates take binary inputs and produce a binary output.
Several logic gates combined together form a LOGIC CIRCUIT and these circuits are designed
to carry out a specific function.
3.2 Truth Tables
Truth tables are used to trace the output from a logic gate or logic circuit. The NOT gate
is the only logic gate with one input; the other five gates have two inputs.
When constructing truth tables, all possible combinations of 1s and 0s which can be
input are considered. For the NOT gate (one input) there are only 21 (2) possible binary
combinations. For all other gates (two inputs), there are 22 (4) possible binary combinations.
Number of possible binary combinations can be obtained by using the formula 2n (Where
n is the number of inputs)
3.2.1 Truth Table for 2 Inputs
For all logic gates (except NOT gate) there are two inputs. Using the formula above,
there are 22 (4) possible binary combinations.




Figure 1 Truth Table-2 Inputs
3.2.2 Truth Table for 3 Inputs
For logic circuits, the number of inputs can be more than 2; for example three inputs give
a possible 23 (8) binary combinations.




Figure 2 Truth Table - 3 Inputs

3.3 Functions of Logic Gates
3.3.1 NOT Gate
It is a unary gate, which means it can operate on a single input at a time.




Figure 3: NOT gate

,a) Description:
The output, X, is 1 if the input, A, is 0
The output, X, is 0 if the input, A, is 1
b) How to write this:
X = NOT A (logic notation)
X = ā (Boolean algebra)
c) Truth Table of NOT Gate




Figure 4 Truth Table-NOT Gate


3.3.2 AND Gate
It is a binary operator used for logical multiplication. Output of AND gate is one if and only if both
Inputs are 1, otherwise output will be 0.




Figure 5 AND Gate
a) Description:
The output, X, is 1 if both inputs, A and B, are 1
b) How to write this:
X = A AND B (logic notation)
X = a · b (Boolean algebra)
c) Truth table of AND Gate




Figure 6 Truth Table AND Gate
3.3.3 OR Gate
It is a binary gate used for logical addition. Output of OR operation will be 1 if any of the input is
1




Figure 7 OR Gate

, a) Description:
The output, X, is 1 if either input, A or B, is 1
b) How to write this:
X = A OR B (logic notation)
X = a + b (Boolean algebra)
c) Truth table of OR Gate




Figure 8 Truth Table- OR Gate

3.3.4 NAND Gate (Not of AND)




a) Description
The output (X) is true (i.e. 1 or ON) if: any of the input is 0
b) How to write this:
X = A NAND B (logic notation)

c) Truth table of NAND Gate




3.3.5 NOR Gate (Not of OR)




a) Description
The output (X) is true (i.e. 1 or ON) if: all of the inputs are 0
b) How to write this:
X = A NOR B (logic notation)
$7.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
gtauqeer1981

Get to know the seller

Seller avatar
gtauqeer1981 Pakistan
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 year
Number of followers
0
Documents
23
Last sold
-
Notebook X

My store contains exams preparation materials/ handouts of different subject for the preparation of different exams.

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions