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
Draw the circuit diagram, function table, logic symbol and switch model for a CMOS gate (using six transistors) with two inputs and and an output , such that
Solution
Function. Z is 0 only for A = 1, B = 0, so This is a NAND of A and . We make with a CMOS inverter (2 transistors) and the NAND with 4 transistors: six transistors in all.
Circuit. In the NAND stage, and are in parallel from to Z, and and are in series from Z to ground. A drives and ; (from , ) drives and .
Function table.
| A | 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:
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 if either pMOS switch is closed, and to ground only if both series nMOS switches are closed.
| A | B | (gate A) | (gate ) | (gate A) | (gate ) | Z connected to | Z |
|---|---|---|---|---|---|---|---|
| 0 | 0 | closed | open | open | closed | 1 | |
| 0 | 1 | closed | closed | open | open | 1 | |
| 1 | 0 | open | open | closed | closed | ground | 0 |
| 1 | 1 | open | closed | closed | open | 1 |
In every row exactly one network conducts, so there is no static path from 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.
(i) Find 2’s complement of the following numbers: (1) 10010010 (2) 11011000 (ii) Convert the logical equation 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.
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. is the consensus of and , so For the POS form, use with : Check: , which equals .
(1) With OR and AND gates.
(2) With NOR gates only. POS maps directly onto NOR–NOR:
The inverter for 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 .
✓ Checked by computer We checked the complements and both circuits against the given expression in code.
Specify power supply voltage range, output logic 1 level voltage and output logic 0 level voltage for standard TTL gates.
Solution
Standard TTL (74 series) levels.
| Quantity | Value |
|---|---|
| Supply voltage | 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, | at least 2.4 V (typically 3.4 V) |
| Output logic 0, | at most 0.4 V (typically 0.2 V) |
| Input logic 1, | at least 2.0 V |
| Input logic 0, | at most 0.8 V |
Noise margins. These follow from the levels:
✓ Answer checked step by step We checked the figures against the standard 74-series TTL data sheet values.
Draw the circuit of TTL NAND gate and explain its operation.
Solution
Circuit (standard TTL NAND with totem-pole output).
Parts.
- is a multi-emitter input transistor: each emitter is one input.
- is a phase splitter: it drives and in opposite senses.
- , and form the totem-pole output. (130 Ω) limits the current during switching.
Any input LOW (0.2 V). The base–emitter junction of at that input conducts. The base of sits at about V, which is too low to turn on the base–collector junction of plus and (needing about 1.4 V or more). So and are off. With off, its collector rises towards through and turns on. The output is pulled up through , and : V (logic 1, at least 2.4 V under load).
All inputs HIGH. No emitter of conducts. Current from flows through the forward-biased base–collector junction of into the base of , so works in the inverse-active mode. saturates. Its emitter current develops enough voltage across to saturate , so V (logic 0). The base of is then at about V. ’s collector is at about V, which is not enough to turn on both and (needs about 1.4 V above the 0.2 V output). So is off. is there to make sure of this.
Truth table.
| A | B | , | Y | |
|---|---|---|---|---|
| 0 | 0 | off | on | 1 |
| 0 | 1 | off | on | 1 |
| 1 | 0 | off | on | 1 |
| 1 | 1 | on (saturated) | off | 0 |
: 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.
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 , , in respect of above silicon transistor.
Solution
The circuit. We take in volts, with the given , V and V.
Input 0 V: the transistor must be off. With the base node is pulled towards −10 V through R. The base voltage is negative (for example with R in kΩ), so the transistor is cut off for any R, and V. This state puts no limit on R.
Input 10 V: the transistor must saturate. With the base at V: The collector current in saturation is so the base needs at least Since :
Minimum R ≈ 14.3 kΩ. A smaller R steals too much of 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.
Draw a positive logic OR gate with two diodes and explain its operation.
Solution
Circuit. Each input drives the anode of a diode. The cathodes are joined at the output, which goes to ground through R.
Operation (positive logic, 0 V = 0, +V = 1).
- Both inputs 0 V. Neither diode is forward biased. No current flows in R, so V (logic 0).
- Any input high (+V). That diode conducts and the output follows it: (about 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 , logic 1.
| A | B | Y | ||
|---|---|---|---|---|
| 0 | 0 | off | off | 0 |
| 0 | 1 | off | on | 1 |
| 1 | 0 | on | off | 1 |
| 1 | 1 | on | on | 1 |
So . 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.
Describe what happens to each of the following CMOS characteristics as is increased (i) Noise margin (ii) Power dissipation (iii) Switching speed.
Solution
(i) Noise margin increases. The switching threshold of a CMOS inverter is near , and the output swings rail to rail. So both noise margins grow roughly in proportion to (about 0.3 to 0.45 ). 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 It rises with the square of . The short-circuit current during each transition also increases with .
(iii) Switching speed increases. The propagation delay is about , and the drive current grows faster than , as . So the delay falls and the maximum switching frequency rises with .
Trade-off. A higher gives better noise immunity and speed at the cost of much more power. This is why low-power designs lower .
✓ Answer checked step by step We checked each effect against the standard CMOS relations.
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.
Solution
Circuit (NMOS NOR with enhancement load). The two driver transistors and are in parallel between the output and ground. is the load, with its gate tied to so that it is always on and acts as a resistor.
Operation. Logic 1 is a voltage above the threshold , 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 (the enhancement load stops conducting when falls to ). So .
- 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 if the driver is made several times wider than the load). So .
| A | B | Y | ||
|---|---|---|---|---|
| 0 | 0 | off | off | 1 |
| 0 | 1 | off | on | 0 |
| 1 | 0 | on | off | 0 |
| 1 | 1 | on | on | 0 |
, 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.
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.
Solution
Symbols.
- , : n-channel enhancement MOSFETs (the drivers), in series.
- : the load MOSFET, gate tied to its drain at . It is always in saturation and acts as a nonlinear pull-up resistor.
- , : input voltages; : output voltage.
- : threshold voltage of the transistors.
- Positive logic: logic 0 is a voltage near 0 V (below ), logic 1 is a voltage near (above ).
Operation. The output can be pulled low only if there is a conducting path from the output to ground. With and in series, this needs both to be on.
- If or (or both) is at logic 0, that transistor is off. No current flows and the load pulls up to (logic 1).
- If both and are at logic 1, both drivers conduct. The output falls to a low value set by the ratio of the load and the two series drivers (logic 0).
| 0 | 0 | off | off | (1) |
| 0 | 1 | off | on | (1) |
| 1 | 0 | on | off | (1) |
| 1 | 1 | on | on | (0) |
So : 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 .
✓ Answer checked step by step We checked the truth table step by step.
Explain what you understand by: (i) MMIC (ii) MOSFET (iii) NMOS Growth (iv) CMOS Development (v) RAM Device (vi) SRAM Cell (vii) DRAM Cell.
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 when the word line WL is high. This is the six-transistor (6T) 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 , reached through one access transistor whose gate is the word line. This is the one-transistor (1T1C) 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.
More on Digital Electronics
- All Electrical Engineering PYQ solutions, topic by topic
- Digital Electronics topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper I, 1996–2024. Solutions: Optional Province. Found an error? Tell us.

