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
    • Free courses
    • JEE Main 2024
    • JEE Main 2024 Live Paper Discussion
    • JEE Main Rank Predictor 2024
    • JEE Main College Predictor 2024
    • Stream Predictor
    • JEE Main 2024 Free Mock Test
    • Study Materials
    • Notifications
    • JEE Advanced Syllabus
    • JEE Books
    • JEE Main Question Paper
    • JEE Coaching
    • Downloads
    • JEE Notes & Lectures
    • JEE Daily Videos
    • Difference Between
    • Full Forms
    • Important Formulas
    • Exam Tips
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Physics » Types of Basic Logic Gates

Types of Basic Logic Gates

Logic gates are small electronic devices that perform logic operations. AND gate, OR gate, and NOT gate are the basic logic gates.

Share

Logic gates are the main building blocks of any digital circuit. They are provided with one or more than one input based on which they provide an output. When the logic requirements of input are satisfied, they provide outputs in 1s and 0s. There are many logical gates; each of them has distinct functions and symbols. The types of logic gates are AND gate, OR gate, NOT gate, XOR gate, NAND gate, NOR gate, and XNOR gate. Among them, AND, OR, and NOT gates are known as the basic logic gates. The rest of the gates are a combination these gates.

Binary and Decimal number system

We need to know the history of binary and decimal numbers first if we want to know about the truth tables of logic gates. The decimal numbers contain digits from 0 to 9 and have a base system of 10. On the other hand, the binary number system has only 1 and 0 and has a base system 2. Computers and logic gates use binary systems as input and output. The number 1 denotes the high signal or high voltage, and 0 represents the low signal or low voltage. Therefore, logic gates use binary signals to perform logical decisions.

Basic Logic Gates examples

The three basic logic gates are:

 

1.AND Gate

An AND gate takes two inputs and gives only one output. It performs the multiplication function on the inputs. If it is provided with two inputs, that is, 1 and 0, then the output will be 1 only when both the inputs are 1. Otherwise, the output will be 0. If A and B are the inputs and O is the output, the expression for AND gate is:

                           O = A.B

The truth table for AND Gate is given below:

               A                  B                  O

               0                  0                  0

               0                  1                  0

               1                  0                  0

               1                  1                  1

2.OR Gate

OR gate is an important gate that performs the addition function on the inputs provided to it. It can take two or more inputs and gives out only one output. The output will be 0 only if both the inputs are 0. Otherwise, the output will be 1. If A and B are the inputs provided and O is the output, the expression for OR gate is:

                           O = A + B

The truth table for OR gate is:

               A                  B                  O

                     0                  0                  0

                     0                  1                  1

                     1                  0                  1

                     1                  1                  1

 

3.NOT Gate

Among all the logic gates, the NOT gate is said to be the simplest one. It takes only one input and, hence, gives out one output. The function it performs is the inversion function. When an input is given to the NOT gate, it gives the output as the reverse of the input. If A is the input provided and O is the output, the expression for NOT gate will be:

                           O = A’

The truth table for NOT gate is:

               A                  O

               0                  1

               1                  0

Basic Logic gate uses

Full adder is an example of how the logic gates are used. It takes three inputs to give two outputs. It performs addition on the provided data. If we compare this to analogue circuits, we can say that it is very fast and the process is finished within seconds. BCD adder and half adder are other types of adder applications that digital channels use. Logic gates are combined together in a number of ways and patterns, and these combinations are further used to make advanced gadgets.

Basic logic gates are often used in circuits such as burglar alarms, push-button locks, street lights, and other electronic devices. Logic gates are often mixed with other logic gates to perform advanced operations. There is no limit on the number of these gates that can be used in a device. Still, it is limited because of the physical space within the device.

Conclusion

Logic gates are the major building blocks of a digital circuit. They perform logical operations by using the inputs given to them and giving outputs based on certain rules. Different types of logic gates are used to perform different operations such as AND gate is used to perform multiplication, OR is used to perform addition, and NOT simply reverses the input that is given to it. These logic gates are used in every digital device that we use in our daily lives whether it is a computer, a phone, an alarm, etc. These simple logic gates are used in different combinations to perform more complex operations.

faq

Frequently asked questions

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

Sketch an equipotential surface of an electric dipole.

Ans: ...Read full

Is earth an equipotential surface or not?

Ans. As the earth is a conductor, it is equipotential. Hence, the earth is an equipotential surface.

Two equipotential surfaces can not intersect each other. Explain.

Ans. An equipotential surface is normal to the electric field lines. If two e...Read full

Why work done in moving a test charge over an equipotential surface is zero?

Ans. We know that work done is defined as W=q (potential difference) = zero. Because the potential difference betwee...Read full

What is the value of the potential at an equatorial point due to an electric dipole?

Ans. The value of electric potential is zero.

Ans:

Ans. As the earth is a conductor, it is equipotential. Hence, the earth is an equipotential surface.

Ans. An equipotential surface is normal to the electric field lines. If two equipotential surfaces intersect, then at the point of intersection, there will be two directions. Hence, there will be two values of the electric field, which is not possible.

Ans. We know that work done is defined as W=q (potential difference) = zero. Because the potential difference between any two points on an equipotential surface is zero.

Ans. The value of electric potential is zero.

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
IIT JEE - Rank Predictor
IIT JEE - Ask a Doubt

Trending topics

  • JEE Notification
  • JEE Question Paper
  • JEE Exam Pattern
  • JEE Admit Card
  • JEE Main Eligibility

Related links

  • Difference Between Acid Radical and Basic Radical
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
IIT JEE free live classes
Subscribe Now
.
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