The function A⊕B is to be realized using only 2-input NAND gates. The minimum number of 2 input NAND gates required for such a realization is

This question was previously asked in
ESE Electronics 2011 Paper 1: Official Paper
View all UPSC IES Papers >
  1. 3
  2. 4
  3. 5
  4. 6

Answer (Detailed Solution Below)

Option 2 : 4
Free
ST 1: UPSC ESE (IES) Civil - Building Materials
6.5 K Users
20 Questions 40 Marks 24 Mins

Detailed Solution

Download Solution PDF

Concept:

  • The EX-OR gate is used extensively in digital data processing circuits and is known as Exclusive-OR-gate. 
  • The E XOR gate has a high output only when an odd number of inputs are high.
  • For the two input E XOR gates, the output will be high when the set of input is either 01 or 10.
  • The E XOR gate is used in the adder, subtractor, and controlled inverter circuit. It is also used in computers for implementing binary addition.
  • Therefore, the gate can be used as a Comparator where it gives high output if both the inputs are not equal.

F1 Tapesh Anil 20.01.21 D9

NAND Gate:

The NAND or “Not AND” function is a combination of the two separate logical functions, the AND function and the NOT function in series. The logic NAND function can be expressed by the Boolean expression of, A.B.

F1 Tapesh Anil 20.01.21 D1

Explanation:

E XOR Gate can be constructed with NAND gates in the following manner:

F2 S.B Madhu 04.04.20 D4

Y = A̅.B + A.B̅ 

Hence a minimum of 4 NAND gates is required to construct an EX-OR gate.

Latest UPSC IES Updates

Last updated on Jul 2, 2025

-> ESE Mains 2025 exam date has been released. As per the schedule, UPSC IES Mains exam 2025 will be conducted on August 10. 

-> UPSC ESE result 2025 has been released. Candidates can download the ESE prelims result PDF from here.

->  UPSC ESE admit card 2025 for the prelims exam has been released. 

-> The UPSC IES Prelims 2025 will be held on 8th June 2025.

-> The selection process includes a Prelims and a Mains Examination, followed by a Personality Test/Interview.

-> Candidates should attempt the UPSC IES mock tests to increase their efficiency. The UPSC IES previous year papers can be downloaded here.

Get Free Access Now
Hot Links: yono teen patti teen patti king teen patti noble teen patti palace