Menu Close

Digital IC families: UPSC Electrical Engineering Optional PYQ Solutions (1996–2024)

All 10 questions UPSC has asked on digital IC families in the Electrical Engineering Optional (Paper I, Digital Electronics) from 1996 to 2024, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Digital Electronics topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
  • ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.

Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2024 · 2a 2014 · 6b 2013 · 5a 2010 · 1b(ii) 2007 · 5b(i) 2007 · 5b(iii) 2006 · 4a(iv) 1997 · 6a 1996 · 5b 1996 · 12c

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Draw the circuit diagram, function table, logic symbol and switch model for a CMOS gate (using six transistors) with two inputs A and B and an output Z, such that Z=0 if A=1 and B=0, and Z=1 otherwise

2024 · Paper I · Q2a · 20 marks

Solution

Function. Z is 0 only for A = 1, B = 0, so Z=AB=A+B. This is a NAND of A and B. We make B with a CMOS inverter (2 transistors) and the NAND with 4 transistors: six transistors in all.

Circuit. In the NAND stage, P1 and P2 are in parallel from VDD to Z, and N1 and N2 are in series from Z to ground. A drives P1 and N1; B (from P3, N3) drives P2 and N2.

VDDP₃N₃BBP₁P₂VDDZN₁N₂AABB
Six-transistor CMOS realization of Z = (A·B′)′.

Function table.

A B B Z
0 0 1 1
0 1 0 1
1 0 1 0
1 1 0 1

Logic symbol. A two-input NAND with an inverter (bubble) on the B input:

ZAB
Logic symbol.

Switch model. Each nMOS is a switch that closes when its gate is 1; each pMOS is a switch that closes when its gate is 0. Z connects to VDD if either pMOS switch is closed, and to ground only if both series nMOS switches are closed.

A B P1 (gate A) P2 (gate B) N1 (gate A) N2 (gate B) Z connected to Z
0 0 closed open open closed VDD 1
0 1 closed closed open open VDD 1
1 0 open open closed closed ground 0
1 1 open closed closed open VDD 1

In every row exactly one network conducts, so there is no static path from VDD to ground and the output is always driven.

✓ Checked by computer We checked the function table and the switch states for all four inputs in code.

↑ Back to the question list

(i) Find 2’s complement of the following numbers: (1) 10010010 (2) 11011000 (ii) Convert the logical equation Y=(A+BC)(B+C¯A) into product-of-sums (POS) form and design circuits using (1) OR and AND gates and (2) NOR gates. (iii) Explain the function of Schottky diode connected between the collector and base of transistors of TTL gate.

2014 · Paper I · Q6b · 20 marks

Solution

(i) 2’s complements (invert all bits and add 1):

Number 1’s complement 2’s complement
10010010 01101101 01101110
11011000 00100111 00101000

(ii) Simplify, then the POS form. Y=(A+BC)(B+AC‾)=AB+AC‾+BC+ABCC‾=AB+AC‾+BC. AB is the consensus of AC‾ and BC, so Y=AC‾+BC. For the POS form, use xy+x‾z=(x+z)(x‾+y) with x=C: Y=(A+C)(B+C‾). Check: (A+C)(B+C‾)=AB+AC‾+BC, which equals AC‾+BC.

(1) With OR and AND gates.

YACBC
Y = (A + C)(B + C′) with OR and AND gates.

(2) With NOR gates only. POS maps directly onto NOR–NOR: Y=A+C+B+C‾.

YACBC
The same function with NOR gates only.

The inverter for C‾ can itself be a NOR gate with its inputs tied, so the circuit uses NOR gates only.

(iii) Schottky diode between base and collector (Schottky TTL). The Schottky diode has a forward drop of about 0.3 V, against 0.7 V for the base–collector junction. When the transistor is driven hard, the excess base current is diverted through the diode into the collector, so the collector–base junction is clamped at about 0.3 V and never becomes strongly forward biased. The transistor never enters deep saturation, so no excess charge is stored in the base. The storage time disappears and the turn-off delay drops sharply. This is why 74S and 74LS gates are much faster than standard 74-series TTL (about 3 ns against 10 ns propagation delay), at the cost of a slightly higher VOL.

✓ Checked by computer We checked the complements and both circuits against the given expression in code.

↑ Back to the question list

Specify power supply voltage range, output logic 1 level voltage and output logic 0 level voltage for standard TTL gates.

2013 · Paper I · Q5a · 10 marks

Solution

Standard TTL (74 series) levels.

Quantity Value
Supply voltage VCC 5 V ± 5 %, i.e. 4.75 V to 5.25 V (military 54 series: 4.5 V to 5.5 V)
Output logic 1, VOH at least 2.4 V (typically 3.4 V)
Output logic 0, VOL at most 0.4 V (typically 0.2 V)
Input logic 1, VIH at least 2.0 V
Input logic 0, VIL at most 0.8 V

Noise margins. These follow from the levels: NMH=VOH(min)−VIH(min)=2.4−2.0=0.4V,NML=VIL(max)−VOL(max)=0.8−0.4=0.4V.

✓ Answer checked step by step We checked the figures against the standard 74-series TTL data sheet values.

↑ Back to the question list

Draw the circuit of TTL NAND gate and explain its operation.

2010 · Paper I · Q1b(ii) · 5 marks

Solution

Circuit (standard TTL NAND with totem-pole output).

VCC = 5 V4 kΩR₁Q₁ABQ₂1.6 kΩR₂1 kΩR₃Q₃130 ΩR₄D₁YQ₄
Standard TTL NAND gate (7400).

Parts.

  • Q1 is a multi-emitter input transistor: each emitter is one input.
  • Q2 is a phase splitter: it drives Q3 and Q4 in opposite senses.
  • Q3, D1 and Q4 form the totem-pole output. R4 (130 Ω) limits the current during switching.

Any input LOW (0.2 V). The base–emitter junction of Q1 at that input conducts. The base of Q1 sits at about 0.2+0.7=0.9 V, which is too low to turn on the base–collector junction of Q1 plus Q2 and Q4 (needing about 1.4 V or more). So Q2 and Q4 are off. With Q2 off, its collector rises towards VCC through R2 and turns Q3 on. The output is pulled up through R4, Q3 and D1: Y≈5−0.7−0.7≈3.6 V (logic 1, at least 2.4 V under load).

All inputs HIGH. No emitter of Q1 conducts. Current from R1 flows through the forward-biased base–collector junction of Q1 into the base of Q2, so Q1 works in the inverse-active mode. Q2 saturates. Its emitter current develops enough voltage across R3 to saturate Q4, so Y=VCE(sat)≈0.2 V (logic 0). The base of Q1 is then at about 0.7+0.7+0.7=2.1 V. Q2’s collector is at about 0.7+0.2=0.9 V, which is not enough to turn on both Q3 and D1 (needs about 1.4 V above the 0.2 V output). So Q3 is off. D1 is there to make sure of this.

Truth table.

A B Q2, Q4 Q3 Y
0 0 off on 1
0 1 off on 1
1 0 off on 1
1 1 on (saturated) off 0

Y=AB: a NAND gate. The totem pole gives a low output resistance in both states, so the gate charges and discharges load capacitance quickly.

✓ Answer checked step by step We checked the circuit and its operation step by step.

↑ Back to the question list

The above circuit is intended for NOT operation for input levels 0 and 10 V. Calculate the minimum value of R for which this operation is possible. Assume hFE=30, VBE(sat)=0.8, VCE(sat)=0.2 in respect of above silicon transistor.

vi10 kΩi₁ →Ri₂ ↓−10 VIB →2 kΩIC ↓VCC = 10 Vvo
Figure redrawn from the question paper.

2007 · Paper I · Q5b(i) · 10 marks

Solution

The circuit. We take vi in volts, with the given hFE=30, VBE(sat)=0.8 V and VCE(sat)=0.2 V.

Input 0 V: the transistor must be off. With vi=0 the base node is pulled towards −10 V through R. The base voltage is negative (for example −10×1010+R with R in kΩ), so the transistor is cut off for any R, and vo=10 V. This state puts no limit on R.

Input 10 V: the transistor must saturate. With the base at VBE(sat)=0.8 V: i1=10−0.810k=0.92mA,i2=0.8−(−10)R=10.8R. The collector current in saturation is IC=10−0.22k=4.9mA, so the base needs at least IB(min)=IChFE=4.930=0.163mA. Since IB=i1−i2: 0.92−10.8R≥0.163⇒10.8R≤0.757mA⇒R≥14.3kΩ.

Minimum R ≈ 14.3 kΩ. A smaller R steals too much of i1 and the transistor leaves saturation. In practice we pick a larger value (for example 15 kΩ) for a margin of overdrive.

✓ Checked by computer We computed the limiting value of R in code.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Draw a positive logic OR gate with two diodes and explain its operation.

2007 · Paper I · Q5b(iii) · 5 marks

Solution

Circuit. Each input drives the anode of a diode. The cathodes are joined at the output, which goes to ground through R.

AD₁BD₂Y = A + BR
Two-diode OR gate.

Operation (positive logic, 0 V = 0, +V = 1).

  • Both inputs 0 V. Neither diode is forward biased. No current flows in R, so Y=0 V (logic 0).
  • Any input high (+V). That diode conducts and the output follows it: Y=V−VD (about V−0.7 V for silicon), logic 1. The other diode, if its input is 0 V, is reverse biased and isolates that input.
  • Both inputs high. Both diodes conduct and Y=V−VD, logic 1.
A B D1 D2 Y
0 0 off off 0
0 1 off on 1
1 0 on off 1
1 1 on on 1

So Y=A+B. The output high level is one diode drop below the input, so diode gates cannot be cascaded many times without restoring the level.

✓ Answer checked step by step We checked the operation step by step.

↑ Back to the question list

Describe what happens to each of the following CMOS characteristics as VDD is increased (i) Noise margin (ii) Power dissipation (iii) Switching speed.

2006 · Paper I · Q4a(iv) · 5 marks

Solution

(i) Noise margin increases. The switching threshold of a CMOS inverter is near VDD/2, and the output swings rail to rail. So both noise margins grow roughly in proportion to VDD (about 0.3 to 0.45 VDD). For example, a 4000-series gate has about 1.5 V margin at 5 V and about 4.5 V at 15 V.

(ii) Power dissipation increases sharply. Static power is almost zero, but dynamic power is P=CLVDD2f. It rises with the square of VDD. The short-circuit current during each transition also increases with VDD.

(iii) Switching speed increases. The propagation delay is about tp≈CLVDD/ID, and the drive current grows faster than VDD, as ID∝(VDD−VT)2. So the delay falls and the maximum switching frequency rises with VDD.

Trade-off. A higher VDD gives better noise immunity and speed at the cost of much more power. This is why low-power designs lower VDD.

✓ Answer checked step by step We checked each effect against the standard CMOS relations.

↑ Back to the question list

Draw the circuit diagram of a NOR gate using MOS transistors (n-channel) and verify the NOR operation with. The description of the functioning of this gate.

1997 · Paper I · Q6a · 15 marks

Solution

Circuit (NMOS NOR with enhancement load). The two driver transistors Q1 and Q2 are in parallel between the output and ground. Q3 is the load, with its gate tied to VDD so that it is always on and acts as a resistor.

VDDQ₃ (load)YQ₁Q₂AB
NMOS NOR gate.

Operation. Logic 1 is a voltage above the threshold VT, and logic 0 is near 0 V.

  • A = B = 0. Both drivers are off and no current flows. The load pulls the output up to VDD−VT (the enhancement load stops conducting when VGS falls to VT). So Y=1.
  • A = 1 or B = 1 (or both). At least one driver is on. It forms a low-resistance path to ground, so the output falls to a low value set by the ratio of load and driver resistances (well below VT if the driver is made several times wider than the load). So Y=0.
A B Q1 Q2 Y
0 0 off off 1
0 1 off on 0
1 0 on off 0
1 1 on on 0

Y=A+B, the NOR function. Because the drivers are in parallel, adding more inputs only adds more parallel transistors, which is why NOR is the natural gate in NMOS logic.

✓ Answer checked step by step We checked the truth table step by step.

↑ Back to the question list

Show that the NMOS circuit of Fig. 5b is a NAND gate for positive logic. Write down the various combinations of inputs and output in a tabular form and clearly state the meanings of any symbols or parameters used therein.

VDDQ₃voQ₂v₂Q₁v₁
Figure redrawn from the question paper.

1996 · Paper I · Q5b · 20 marks

Solution

Symbols.

  • Q1, Q2: n-channel enhancement MOSFETs (the drivers), in series.
  • Q3: the load MOSFET, gate tied to its drain at VDD. It is always in saturation and acts as a nonlinear pull-up resistor.
  • v1, v2: input voltages; vo: output voltage.
  • VT: threshold voltage of the transistors.
  • Positive logic: logic 0 is a voltage near 0 V (below VT), logic 1 is a voltage near VDD−VT (above VT).

Operation. The output can be pulled low only if there is a conducting path from the output to ground. With Q1 and Q2 in series, this needs both to be on.

  • If v1 or v2 (or both) is at logic 0, that transistor is off. No current flows and the load pulls vo up to VDD−VT (logic 1).
  • If both v1 and v2 are at logic 1, both drivers conduct. The output falls to a low value VOL set by the ratio of the load and the two series drivers (logic 0).
v1 v2 Q1 Q2 vo
0 0 off off VDD−VT (1)
0 1 off on VDD−VT (1)
1 0 on off VDD−VT (1)
1 1 on on VOL (0)

So vo=v1v2: the circuit is a NAND gate for positive logic. Since two drivers are in series, each must be made about twice as wide as a single NOR driver to give the same VOL.

✓ Answer checked step by step We checked the truth table step by step.

↑ Back to the question list

Explain what you understand by: (i) MMIC (ii) MOSFET (iii) NMOS Growth (iv) CMOS Development (v) RAM Device (vi) SRAM Cell (vii) DRAM Cell.

1996 · Paper I · Q12c · 20 marks

Solution

(i) MMIC (monolithic microwave integrated circuit). An IC that works at microwave frequencies (about 300 MHz to 300 GHz) with all active and passive parts made on one substrate, usually GaAs, GaN or SiGe. It is used for mixers, low-noise amplifiers, power amplifiers and oscillators. Transmission lines are part of the chip, and the inputs and outputs are matched to 50 Ω.

(ii) MOSFET (metal–oxide–semiconductor field-effect transistor). A transistor in which a gate voltage, applied across a thin oxide, controls the conductivity of a channel between source and drain. The gate draws almost no current. It comes as n-channel or p-channel, and as enhancement type (normally off) or depletion type (normally on). It is the basic device of digital ICs.

(iii) Growth of NMOS. Early MOS ICs (1960s) used p-channel devices (PMOS), which were slow. When ion implantation and better process control arrived in the early 1970s, n-channel MOS (NMOS) took over. Electrons have about 2–3 times the mobility of holes, so NMOS is faster and denser. Depletion-mode loads improved speed and noise margin further. NMOS was the technology of the first microprocessors (such as the 8080 and Z80) and the first large DRAMs. Its drawback is static power when the output is low.

(iv) Development of CMOS. CMOS (complementary MOS, invented in 1963) pairs a pMOS pull-up with an nMOS pull-down. Only one conducts in a steady state, so static power is nearly zero. It was first used in low-power products (watches, calculators; RCA 4000 series). As chips grew, NMOS static power became a limit, and from the mid-1980s CMOS became the dominant technology for logic, microprocessors and memory. Scaling has carried it through to today’s sub-10 nm nodes.

(v) RAM device. Random-access memory: a read/write memory where any location can be accessed in the same time by giving its address. It is volatile (data is lost when power is removed). The two kinds are static RAM (SRAM) and dynamic RAM (DRAM).

(vi) SRAM cell. Each bit is stored in a latch of two cross-coupled inverters (four transistors). Two access transistors connect the latch to the bit lines BL and BL when the word line WL is high. This is the six-transistor (6T) cell.

QQBLBLWL
Six-transistor SRAM cell.

The data stays as long as power is applied, with no refresh needed. SRAM is fast but takes more area per bit, so it is used for caches and registers.

(vii) DRAM cell. Each bit is stored as charge on a small capacitor CS, reached through one access transistor whose gate is the word line. This is the one-transistor (1T1C) cell.

Bit lineWord lineCS
One-transistor DRAM cell.

Reading shares the charge with the bit line, where a sense amplifier detects the small voltage change. The read destroys the data, so it is written back. The charge also leaks away, so every cell must be refreshed every few milliseconds. DRAM is dense and cheap per bit, so it is used for main memory.

✓ Answer checked step by step We checked each definition step by step.

↑ Back to the question list

More on Digital Electronics

Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper I, 1996–2024. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted