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 » Logic gates (OR, AND, NOT, NAND and NOR)

Logic gates (OR, AND, NOT, NAND and NOR)

A logic gate is a device that serves as a basic building block of digital circuits. They can perform logical functions as the foundation of digital circuits.

Table of Content
  •  

The logic gate can be described as a device that functions as a building element to digital circuits. They carry out logical tasks, which are the foundation of digital circuits. Most electronic devices are equipped with at least one logic gate within their circuits. For instance, logic gates can be employed in technology like tablets, smartphones or inside memory devices.

In the system, logic gates decide the function by analysing a mix of digital signals that come through its outputs. Most of these logic gates come with two inputs and one output. 

Logic gates are built-in Boolean algebra. At any time, each terminal is one of two binary states, true or false. False indicates 0, and true is 1. The binary output can vary depending on the type of logic gate utilised and the number of inputs used. The logic gate could be considered an electrical switch where the output is on, that is  1, while at another position, the output is off, which is at 0. Logic gates are typically used as integrated circuits (IC).

In this Logic gates (OR, AND, NOT, NAND and NOR) study material, we will learn about the basic logic gates. 

Basic logic gates

There are seven logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR. Look at study material notes on Logic gates (OR, AND, NOT, NAND and NOR).

AND

The AND gate has got its name because if 0 is referred to as “false” while 1 is described as “true,” the gate operates in the same manner as the logic “and” operator. The following table and illustration have the circuit symbol and the logic configurations for and gate. 

Truth table

Input

Output

A

B

Y

1

1

1

1

0

0

0

1

0

0

0

0

The input terminals appear on the left in the diagram, while an output terminal can be found on the right. This output will be “true” when both inputs match “true.” If not, the output will be “false.” This means that the output is only 1 when inputs one and two are both 1.

OR

The OR gate is named because it performs similarly to the logic operator “or.” Its output will be “true” when either or both inputs match “true.” When both inputs read “false,” the output is “false.” For the output to be one at a minimum, input one or two must be 1.

Truth table

Input

Output

A

B

Y

0

0

0

0

1

1

1

0

1

1

1

1

XOR

The XOR (exclusive-OR) gate functions the same way as the logic “either/or.” This output can be described as “true” when one (but not both) of the inputs are “true.” It is “false” when the inputs of both are “false” or when the inputs of both are “true.” Another approach to the circuit is that the output will be 1 when the inputs differ. However, it is 0 if both inputs are identical.

Truth table

Input

Output

A

B

Y

0

0

0

0

1

1

1

0

1

1

1

0

NOT

A logical inverter is sometimes called a NOT gate to distinguish it from other electronic inverter devices. It has one input. The logic is reversed. If the input is one, the output is 0. If the input value is 0, the output will be 1.

Truth table

Input

Output

A

Y 

0

1

1

0

NAND

NAND gate is a universal gate. The NAND gate functions like an AND gate that is followed by a NOT gate. It works in the same way as the logic operation “and” and is followed by negation. Its output will be “false” when the inputs are both “true.” In other cases, the output will be “true.”

Truth table

Input

Output

A

B

Y

0

0

1

0

1

1

1

0

1

1

1

0

NOR

A NOR gate, a universal gate, can be described as a combination of an OR gate that is followed by an inverter. The output of the gate is “true” when each input is “false.” If not, the output will be “false.”

Truth table

Input

Output

A

B

Y

0

0

1

0

1

0

1

0

0

1

1

0

XNOR

The XNOR (exclusive-NOR) gate is an XOR gate with an inverter at the end. The output of the gate is “true” when both inputs are identical and “false” when the inputs differ.

Truth table

Input

Output

A

B

Y

0

0

1

0

1

0

1

0

0

1

1

1

Complex operations can be carried out with the help of these gates. In theory, there is no limit on the number of gates that could be combined within a single device. In reality, however, the limit is set on the number of gates that could be packed into one physical space. Digital ICs can have a range of logic gates. You will find digital devices that are of the best speed and can involve more complicated operations as the technology of IC advances.

Composition of Logic Gates

In these study material notes on Logic gates (OR. AND. NOT. NAND and NOR), we will now learn the basic composition of logic gates.

Various voltage levels express high or low binary conditions. The state of the logic of the terminal may be and usually does frequently change while the circuit is processing data. In most logic gates, there is a low-state at around zero voltage (0 V), and the state of high is around five Volts positive (+5 V).

Logic gates are made out of resistors and transistors, or diodes. Resistors are typically used as pull-up and pull-down resistors. Pull-up and pull-down resistors can be employed when unused logic gate inputs are connected to the logic level 1 or 0. This will prevent any incorrect change of the gate. Pull-up resistors are connected Vcc (+5V), and pull-down resistors connect to the ground (0 V).

Logic gates that are commonly used include the TTL as well as CMO. Transistor-Transistor Logic or TTL, ICs will use Bipolar junction transistors – PNP and NPN type. Complementary Metal Oxide Silicon ICs (CMOS) are made of JFET kind of Field-Effect Transistors and MOSFET. TTL IC’s are typically identified with the name 7400 series. On the other hand, CMOS ICs can be identified with the 4000 series.

Application Of Logic Gates 

Logic gates come with a wide range of potential applications. However, they are mostly based on their operations method as well as their truth table. The most basic logic gates can be used in circuits like burglar alarms with light activation, automated watering system, push-button locks, safety thermostats, and other electronic equipment.

One of the main advantages is that the logic gates are utilised in various combinations when the processes are advanced. Within electronic integrated circuits (ICs), we can see a range of logic gate area units.

Conclusion

Logic gates are a crucial concept to consider when studying electronics. These are significant digital devices that are constructed around the Boolean function. Logic gates perform logical operations on the binary input of single or multiple sources and provide a single binary output. In simple terms, logic gates comprise the electronic circuits that are part of the digital system, and they come in 7 types – AND, OR, XOR, NOT, NAND, NOR and XNOR.

faq

Frequently Asked Questions

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

Which logic circuit is equivalent to the given logic gate?

  OR ...Read full

Which logic gate has only one input and one output?

Ans. NOT Gate

The binary system has the base of

16 2...Read full

Which are the universal gates?

Ans. NAND and NOR gates

 

  1. OR
  2. AND
  3. NOR
  4. NAND

Ans. (A) OR

Ans. NOT Gate

  1. 16
  2. 2
  3. 8
  4. 10

Ans. 2

Ans. NAND and NOR gates

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