Understanding Logic Gates: Types, Functions, and Applications


Logic gates digital electronics का एक प्रमुख हिस्सा हैं, जो Boolean algebra के आधार पर कार्य करते हैं। ये gates basic building blocks होते हैं, जो binary inputs को process करके binary outputs generate करते हैं। Logic gates का उपयोग digital circuits में किया जाता है, जैसे कि computers, smartphones, और अन्य electronic devices।

Logic Gates के प्रकार

Logic gates मुख्यतः चार प्रकार के होते हैं:

1. AND Gate (AND गेट)

AND gate एक digital logic gate है जो केवल तभी TRUE (1) output देता है जब दोनों inputs TRUE (1) हों। इसे mathematical symbol "∧" से दर्शाया जाता है।

Truth Table:

 

A          B          A ∧ B     
0 0 0
0 1 0
1 0 0
1 1 1

 

 

2. OR Gate (OR गेट)

OR gate एक digital logic gate है जो तब TRUE (1) output देता है जब कम से कम एक input TRUE (1) हो। इसे mathematical symbol "∨" से दर्शाया जाता है।

Truth Table:

 

A          B          A ∨ B        
0 0 0
0 1 1
1 0 1
1 1 1

 

 

3. NOT Gate (NOT गेट)

NOT gate एक inverter की तरह काम करता है, जो input को invert करता है। यदि input TRUE (1) है, तो output FALSE (0) होगा, और vice versa। इसे mathematical symbol "¬" से दर्शाया जाता है।

Truth Table:

 

A            ¬A         
0 1
1 0

 

 

4. NAND Gate (NAND गेट)

NAND gate एक combination है जो AND gate के output को invert करता है। यह तभी FALSE (0) output देता है जब दोनों inputs TRUE (1) हों। इसे mathematical symbol "↑" से दर्शाया जाता है।

Truth Table:

 

A          B          A ↑ B         
0 0 1
0 1 1
1 0 1
1 1 0

 

 

5. NOR Gate (NOR गेट)

NOR gate एक combination है जो OR gate के output को invert करता है। यह तभी TRUE (1) output देता है जब दोनों inputs FALSE (0) हों। इसे mathematical symbol "↓" से दर्शाया जाता है।

Truth Table:

 

A          B         A ↓ B         
0 0 1
0 1 0
1 0 0
1 1 0

 

 

6. XOR Gate (XOR गेट)

XOR gate (Exclusive OR) तब TRUE (1) output देता है जब inputs में से केवल एक TRUE (1) हो। इसे mathematical symbol "⊕" से दर्शाया जाता है।

Truth Table:

 

A          B          A ⊕ B         
0 0 0
0 1 1
1 0 1
1 1 0

 

Applications of Logic Gates

  1. Digital Circuits: Logic gates का उपयोग combinational और sequential circuits design करने में किया जाता है।
  2. Arithmetic Operations: ALU (Arithmetic Logic Unit) में arithmetic operations को perform करने के लिए logic gates का उपयोग होता है।
  3. Control Systems: Logic gates का उपयोग control systems में decision making और control functions के लिए किया जाता है।
  4. Data Processing: Computers में data processing और manipulation के लिए logic gates का प्रयोग होता है।