Logic Circuit I (Standard Single Logic Gate)

Logic Circuit I (Standard Single Logic Gate)

Logic Circuit I (Standard Single Logic Gate)

Class: SSS Two

Definitions of Logic Gate

  1. A logic gate is an elementary building block of a digital circuit.
  2. It is also defined as an electrical circuit that performs one or more logical operations on one or more input signals.
  3. Logic gates are devices that implement Boolean functions, i.e. they perform a logic operation on one or more bits of input and give a bit as an output.

Most logic gates have two inputs and one output. At any given moment, every terminal is in one of the two binary conditions low (0) or high (1), represented by different voltage levels. In most logic gates, the low state is approximately zero volts (0 V), while the high state is approximately five volts positive (+5 V).

Types of Standard Single Logic Gate

There are three types of standard single logic gates. They are:

  1. AND gate
  2. OR gate
  3. NOT gate

AND Gate

An AND gate will give a high output (1) only if all of the inputs are high (1). For example, in a simple lighting circuit with two switches in series, the lamp will light only if both switches are pressed.

Logic Symbol for AND Gate

Logic symbol for a two-input AND gate

Truth Table of the AND Gate

INPUT A INPUT B OUTPUT C
000
010
100
111

OR Gate

An OR gate is a digital logic gate that gives an output of 1 when any of its inputs are 1, otherwise 0.

Logic Symbol for OR Gate

Logic symbol for a two-input OR gate

Truth Table of the OR Gate

INPUT A INPUT B OUTPUT C
000
011
101
111

NOT Gate

A NOT gate is often called an inverter. It is slightly different because it has just one input. It will give a high output (1) if the input is low (0) and vice versa.

Logic Symbol for NOT Gate

Logic symbol for a NOT gate (inverter)

Truth Table of the NOT Gate

INPUT A OUTPUT C
01
10

Logic Equations (Boolean Algebra)

The function of a logic gate can also be represented using Boolean algebra equations.

  • AND gate Equation: $X = A \cdot B$ The expression reads “X equals A AND B”.
  • OR gate Equation: $X = A + B$ The expression reads “X equals A OR B”.
  • NOT gate Equation: $X = \bar{A}$ The expression reads “X equals NOT A”. The $\bar{A}$ (complement bar) is used to represent the NOT operation.

Test Your Knowledge

Select the correct answer for each question and click 'Submit' to see your score.

1. What is the fundamental purpose of a logic gate?

2. A logic gate that has a high output only if all of its inputs are high is a(n):

3. What is the symbol for the OR gate operation in a Boolean algebra equation?

4. According to the truth table, what is the output of an OR gate when one input is 0 and the other is 1?

5. The NOT gate is often called a(n):

Comments

Post a Comment

Popular posts from this blog

Complete Computer Studies/ICT Curriculum for JSS 1 to SSS 3

90 Objective Examination Questions in Major Subjects

JSS 3 Objective Questions and Answers in Computer studies