![Computer Logical Organization Tutorial](/computer_logical_organization/images/computer-oragnization-mini-logo.jpg)
- Computer Organization Tutorial
- CO - Home
- CO - Overview
- CO - Digital Number System
- CO - Number System Conversion
- CO - Binary Codes
- CO - Codes Conversion
- CO - Complement Arithmetic
- CO - Binary Arithmetic
- CO - Octal Arithmetic
- CO - Hexadecimal Arithmetic
- CO - Boolean Algebra
- CO - Logic Gates
- CO - Combinational Circuits
- CO - Sequential Circuits
- CO - Digital Registers
- CO - Digital Counters
- CO - Memory Devices
- CO - CPU Architecture
- Computer Organization Resources
- CO - Quick Guide
- CO - Useful Resources
- CO - Discussion
Logic Gates
Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between the input and the output is based on a certain logic. Based on this, logic gates are named as AND gate, OR gate, NOT gate etc.
AND Gate
A circuit which performs an AND operation is shown in figure. It has n input (n >= 2) and one output.
![AND gate](/computer_logical_organization/images/and1.jpg)
Logic diagram
![AND Logical Diagram](/computer_logical_organization/images/and_logic.jpg)
Truth Table
![AND Truth Table](/computer_logical_organization/images/and_truthtable.jpg)
OR Gate
A circuit which performs an OR operation is shown in figure. It has n input (n >= 2) and one output.
![OR gate](/computer_logical_organization/images/or1.jpg)
Logic diagram
![OR Logical Diagram](/computer_logical_organization/images/or_logic.jpg)
Truth Table
![OR Truth Table](/computer_logical_organization/images/or_truthtable.jpg)
NOT Gate
NOT gate is also known as Inverter. It has one input A and one output Y.
![NOT gate](/computer_logical_organization/images/not1.jpg)
Logic diagram
![NOT Logical Diagram](/computer_logical_organization/images/not_logic.jpg)
Truth Table
![NOT Truth Table](/computer_logical_organization/images/not_truthtable.jpg)
NAND Gate
A NOT-AND operation is known as NAND operation. It has n input (n >= 2) and one output.
![NAND gate](/computer_logical_organization/images/nand.jpg)
Logic diagram
![NAND Logical Diagram](/computer_logical_organization/images/nand_logic.jpg)
Truth Table
![NAND Truth Table](/computer_logical_organization/images/nand_truthtable.jpg)
NOR Gate
A NOT-OR operation is known as NOR operation. It has n input (n >= 2) and one output.
![NOR gate](/computer_logical_organization/images/nor.jpg)
Logic diagram
![NOR Logical Diagram](/computer_logical_organization/images/nor_logic.jpg)
Truth Table
![NOR Truth Table](/computer_logical_organization/images/nor_truthtable.jpg)
XOR Gate
XOR or Ex-OR gate is a special type of gate. It can be used in the half adder, full adder and subtractor. The exclusive-OR gate is abbreviated as EX-OR gate or sometime as X-OR gate. It has n input (n >= 2) and one output.
![XOR gate](/computer_logical_organization/images/xor.jpg)
Logic diagram
![XOR Logical Diagram](/computer_logical_organization/images/xor_logic.jpg)
Truth Table
![XOR Truth Table](/computer_logical_organization/images/xor_truthtable.jpg)
XNOR Gate
XNOR gate is a special type of gate. It can be used in the half adder, full adder and subtractor. The exclusive-NOR gate is abbreviated as EX-NOR gate or sometime as X-NOR gate. It has n input (n >= 2) and one output.
![XNOR gate](/computer_logical_organization/images/xnor.jpg)
Logic diagram
![XNOR Logical Diagram](/computer_logical_organization/images/xnor_logic.jpg)
Truth Table
![XNOR Truth Table](/computer_logical_organization/images/xnor_truthtable.jpg)
To Continue Learning Please Login