CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

How do you work out logic gates?


Open in App
Solution

Explanation:

An electric current can flow through a transistor when it is turned on or open. When it is turned off, no current flows. When you connect several of these transistors together, you produce what's known as a logic gate, which allows you to add, subtract, multiply, and split binary values in any way you can think of.

Therefore,

There are several types of logic gates, including:

  1. AND
  2. OR
  3. NOT
  4. XOR
  5. NAND
  6. NOR

The following tables illustrate the output produced by these logic gates:

AND:

Input 1

Input 2

Output

000
010
100
111

OR:

Input 1

Input 2

Output

000
011
101
111

NOT:

Input

Output

01
10

XOR:

Input 1

Input 2

Output

000
011
101
110

NAND:

Input 1

Input 2

Output

001
011
101
110

Hence, this is the way to work out logic gates.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
C.5.5 Fibre Crops
PHYSICS
Watch in App
Join BYJU'S Learning Program
CrossIcon