Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Watch Free Classes
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Physics » Logic Gates

Logic Gates

Logic gates are a must-know concept if you're learning electronics. They are crucial digital devices and rely heavily on the boolean function.

Table of Content
  •  

Introduction

Logic gates are used to perform logical operations. These operations can be done on single or multiple binary input variables and make a single binary value. In simple relationships, logic gates are the electronic digital circuits that comprise a digital system. Many basic logic gates are used in digital systems to execute commands and operations. The most common are:

  • OR gate
  • AND gate
  • NOT Gate

 

Furthermore, these gates can be associated in groups of one or two. As a result, we get gates like NAND Gate, NOR Gate, XOR Gate, and XNOR Gate. They are the types of basic logic gates. 

What is basic Logic Gate:

A basic logic gate is an instrument that serves as a foundation for digital circuits. They carry out fundamental logical functions that are essential in digital circuits. Logic gates are found in the majority of electronic devices we use daily. Logic gates, for example, can be found in technology such as smartphones, tablet computers, and memory chips. 

What do basic Logic Gates do?

Basic logic gates in a circuit make choices based on integrating digital signals from input variables. The majority of logic gates have two inputs and one output. Boolean algebra is the foundation of logic gates. The binary output will depend upon the type of logic gate being used and the combined effect of inputs. A logic gate can be compared to a dimmer fixture in that the performance is off in one position – 0, and on in the other – 1. Logic gates are repeatedly detected in integrated circuits (IC). 

Basic logic gates 

AND, OR, XOR, NOT, NAND, NOR, and XNOR are the seven fundamental basic logic gates and are considered the types of basic logic gates. Basic logic gates are said to be used to construct digital systems. The fundamental operations are explained in great detail below using truth tables. 

AND gate:

The AND gate gets its name from the fact that if 0 is considered “false” and 1 is considered “true,” the gate functions similarly to the logical “and” operator. The logic permutations for an AND gate is included in the table below. The input connectors are on the left, and the output connectors are on the right. When both inputs are “true,” the output is “true.” If not, the output is “false.” The output of an AND gate achieves state 1 if and only if all of its inputs are in state 1. AND gate’s boolean expression is Y = A.B. 

A

B

Y

0

0

0

0

1

0

1

0

0

1

1

1

OR gate:

The OR gate derives from the fact that it acts similarly to the logical inclusive “or.” If one or both input variables are “true,” the outcome is “true.” Even when both input data are “false,” the outcome will then be “false.” For the outcome to be 1, one or both inputs must be 1. The outcome of an OR gate accomplishes state 1 if one or more of its inputs attain state 1. The OR gate’s boolean expression is Y = A + B, which can be read as Y equals A ‘OR’ B. An OR gate’s truth table is as follows:

A

B

Y

0

0

0

0

1

1

1

0

1

1

1

1

XOR (exclusive-OR) :

The XOR (exclusive-OR) gate functions similarly to the rationality “either/or.” Whether either, but just not both, of the input variables are “true,” the outcome is “true.” If both input data are “true,” the outcome is “true.” Alternatively, the outcome is “false.” A further way to understand this circuit is to recognise that when the input data are different, the outcome is 1, but if the input data are the same, the outcome is 0. In an XOR gate, the outcome of a two-input XOR gate acquires state 1 if only one input is decided to add. An XOR gate’s truth table is as follows: 

A

B

Y

0

0

0

0

1

1

1

0

1

1

1

0

NOT gate:

A logical inverter, also known as a NOT gate to distinguish from other forms of electronic inverter devices, has a single parameter. It flips the logic state. If the input is 1, the outcome will be 0. If the input is zero, the outcome is one. The outcome of a NOT gate accomplishes state 1 if and only if the input does not achieve state 1. An NOT gate’s truth table is as follows: 

A

Y

0

1

1

0

NAND gate:

The NAND gate works by first performing an AND gate and then a NOT gate. It behaves similarly to the logic function “and” accompanied by negation. If both input data are “true,” the outcome is “false.” If not, the outcome is “true.” This fundamental logic gate is a combo of the AND and NOT gates. An NAND gate’s truth table is as follows: 

A

B

Y

0

0

1

0

1

1

1

0

1

1

1

0

NOR Gate:

The NOR gate is a combo OR gate followed by an inverter. If both input data are “false,” its outcome is “true.” Otherwise, the outcome is “false.” This gate is a combo of the OR and NOT gates. An NOR gate’s truth table is as follows:

A

B

Y

0

0

1

0

1

0

1

0

0

1

1

0

The XNOR (exclusive-NOR) gate:

The XNOR (exclusive-NOR) gate is a combo of an XOR gate and an inverter. If the input data are the same, the outcome is “true,” anything else is “false.” The outcome of an XNOR gate is in state 1 if both of its input data are the same, that is, both 0 or both 1. An XNOR gate’s truth table is as follows: 

A

B

Y

0

0

1

0

1

0

1

0

0

1

1

1

Conclusion

We have read about basic logic gates and types of basic logic gates in the above notes. Also, we discussed gate’s truth for the types of basic logic gates for more clarity.

Combinations of the logic gates could be used to perform complicated tasks. In theory, the number of gates assembled together in a single device is unlimited. However, there is a physical edge to the gates number that can be loaded into a provided physical space. Digital integrated circuits comprise arrays of logic gates. As Circuit technology progresses, the physical range for each independent logic gate tends to decrease, and digital devices of the same or smaller size get to be qualified to perform increasingly complicated operations at increasing speeds.

faq

Frequently asked questions

Get answers to the most common queries related to the JEE Examination Preparation.

Are NOR and NAND gates interchangeable?

Ans: A NAND gate is the same as an OR gate with an inverted input.

What is the NOR logic gate?

Ans: The NOR gate is a digital circuit gate that enforces rational NOR; it continues to comply full...Read full

Why are NAND and NOR gates referred to as widespread gates?

Ans: The NAND and NOR gates are referred to as widespread gates because they conduct all basic logi...Read full

Ans: A NAND gate is the same as an OR gate with an inverted input.

Ans: The NOR gate is a digital circuit gate that enforces rational NOR; it continues to comply fully with the truth table

Ans: The NAND and NOR gates are referred to as widespread gates because they conduct all basic logic gates operations such as AND, OR, and NOT.

Crack IIT JEE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the JEE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Allotment of Examination Centre
JEE Advanced Eligibility Criteria
JEE Advanced Exam Dates
JEE Advanced Exam Pattern 2023
JEE Advanced Syllabus
JEE Application Fee
JEE Application Process
JEE Eligibility Criteria 2023
JEE Exam Language and Centres
JEE Exam Pattern – Check JEE Paper Pattern 2024
JEE Examination Scheme
JEE Main 2024 Admit Card (OUT) – Steps to Download Session 1 Hall Ticket
JEE Main Application Form
JEE Main Eligibility Criteria 2024
JEE Main Exam Dates
JEE Main Exam Pattern
JEE Main Highlights
JEE Main Paper Analysis
JEE Main Question Paper with Solutions and Answer Keys
JEE Main Result 2022 (Out)
JEE Main Revised Dates
JEE Marking Scheme
JEE Preparation Books 2024 – JEE Best Books (Mains and Advanced)
Online Applications for JEE (Main)-2022 Session 2
Reserved Seats
See all

Related articles

Learn more topics related to Physics
Zinc-Carbon Cell

The battery you use every day in your TV remote or torch is made up of cells and is also known as a zinc-carbon cell. Read on to know more.

ZEROTH LAW OF THERMODYNAMICS

Read about the Zeroth law of thermodynamics. Learn about the zeroth law definitions and their examples.

Zener Diode As A Voltage Regulator

Understand the concepts of Zener diodes. Also, learn about the efficiency and limitations of Zener Diode as a Voltage Regulator.

Zener diode as a voltage regulator

zener diode is a very versatile semiconductor that is used for a variety of industrial processes and allows the flow of current in both directions.It can be used as a voltage regulator.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Subscribe Now
. document.querySelector('.targetTopBtn').onClick = topFunction; function topFunction() { window.scrollTo({ top: 0, behavior: 'smooth' }) }
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY