Home / Computer / Definition, Types & Truth Tables (Complete)

Definition, Types & Truth Tables (Complete)

Hearing the term logic gate certainly refers to things that are technical or rather the field of electronics. Of the many components used in the work of logic, component this one is the most widely discussed.

Even at other vocational schools such as Electricity or Information also touches a little about this logic gate. Arguably the logic gate is the basis of electronics and it must be known by the wider community, at least in the way it works.

In this article the author will review further about the understanding of logic gates, the types of logic gates and truth tables to facilitate understand the working principle of this one component. Immediately, a full review can be listened below:

Definition of Logic Gate

Logic gate or English terminology is Logic Gates is a basic component in the formation of digital electronic systems that function to convert one or several inputs into an output signal (output) and is Logic. As the name implies, this component is the place of entry and exclusion into logic.

 Definition of Logic Gate is

Logic gates operate using binary numbers and use Boolean Algebra theory. Binary numbers are numbers that only have 1 and 0 as the symbol code. The use of Simbo 1 and 0 can also be interpreted as other logic such as High (high) and Low (low), True (true) and False (false), and On (on) and Off (off). This is adapted to the logic gate users.

Logic gates are also widely applied to electronic components such as Relay, Integrated Circuit (IC) Diodes, Transistors, as well as mechanical elements and many more. Because of their complex functions, it is not surprising that many components involve logic gates in their respective ways of working.

Types of Logic Gates + Truth Tables

In logic gates are divided into 7 basic types and are distinguished by the number of inputs (inputs) ) as well as the logic that is run. To make it easier we also give examples of Truth Tables in each type.

This Truth Table is a table that provides a description or possible logic that is issued based on the value of the input (input). Immediately, a full explanation can be listened below:

1. The AND Gate

The first is the AND gate. This AND gate requires 2 or more inputs and only 1 output appears. Output value 1 will be obtained if all input values ​​are 1 while output value 0 will be obtained all or one of the input values ​​is 0. To symbolize the AND gate operation, the dot symbol (".") Is used or does not use any symbol at all. [19659002]  AND gate

The Truth Table AND
X Y 0 [1965901919] 0 0 0
0 1 ] 0 [1965901917] 0 ] 1 0 0
1 1 1

2. OR gate

Similar to AND, OR gate also requires 2 or more inputs and produces only 1 output. At the OR gate the output value will be 1 if one or all of the inputs are 1 and if you want to produce output 0 then the input value must be all 0. Sign that symbolizes OR gate operation is a plus ("+").

 Definition of Logic Gate and Its Types

Truth Table OR
X Y Z
0 0 [19659017] 0 0
0 1 1
1 0 1
1 1 1 1 1. NOT gate

Unlike the others, NOT gate only requires 1 input and 1 output. Also commonly referred to as an inverter (inverting) because the resulting output value is the inverse of the input value. Means that if you want the output value 1 then the input value must be 0 while for the output value 0 then the input must be value 1. This NOT gate is symbolized by a minus sign ("-").

 gate NOT

Truth Table NOT [19659054] X Y
1 0
0 1

4. NAND gate

NAND gate is an abbreviation of NOT AND, but in general it is often called NAND. This is because the NAND gate is an amalgamation of AND and NOT gates. Output value 1 can be obtained if all or there is 0 input while output 0 can be obtained precisely when the input is all 1 (opposite the AND gate).

 NAND gate

NAND Truth Table
X Y Z
0 0 1
1 1 1
1 0 1 1 1 1 1 1 1 1 ] 1 ] 1 1 ] 1 ] 1 ] 1 ] 1 ] 1 ] 1 ] 0

5. NOR Gate

Similar to NAND, this NOR gate is also a combination. The difference is that the NOR gate is a combination of NOT and OR so that the output produced is the opposite of the OR gate. At the NOR gate the output value will be 1 if the input values ​​are all 0 while the output value becomes 0 if there is one or all of the output values ​​1.

 Definition of the Logic Gate and its Symbols

NOR Truth Tables
X [19659017] Y Z
0 0 1
1 1 0
1 0
1 ] 1 ] 0
1 ] 0
] 1 ] 1 ] 1 ] 0
] 1 ] 1 ] 0 ] 0 ] 0 1 0

6. X-OR gates (Exclusive OR)

X-OR logic gates are short for Exclusive OR and consist of 2 inputs and 1 output. Gate X-OR will produce a value of 1 if each input has a different value but if the values ​​are the same it will produce output 0.

 gate X-OR

Truth Table X-OR
X [19659103] Y Z
0 0 0
0 1 1
1 0 1 1 1 1 1 1 1 0

7. The X-NOR gate (Exlusive NOR)

Finally is the X-NOR gate which is Exclusive NOR and is a combination of X-OR and NOT. This gate is the opposite of the X-OR gate because of NOT here so that the output value will be 1 if the input produces the value. And when input produces different values, it will produce a value of 0.

 X-NOR gate

Truth Table X-NOR
X Y Z
0 0 1
0 1 0
] 1 0 0
1 1 1

That is an explanation of the understanding of logic gates and types of logic gates and their truth tables. Hope it is useful and easy to understand!

Loading...

Check Also

Download the Latest ProtonVPN 2019 (Free Download)

Developer: ProtonVPN OS: Windows License: Freeware Size: 12MB In general, the purpose is to use …