This page gives the complete solution of the RGPV B.Tech 3rd semester Digital Systems (CS-304) question paper of December 2025. The same paper is also set as CI-304 Digital Circuits & System for the CS, CT, CO, CI, CY and CSIT branches. Every question is solved step by step in exam-ready language, with truth tables, K-maps, circuit diagrams, timing diagrams and waveforms, so you can revise the full paper and practise for the RGPV end-semester exam.
Question paper details
| University | Rajiv Gandhi Proudyogiki Vishwavidyalaya (RGPV), Bhopal |
| Course | B.Tech, III Semester (Grading System) |
| Subject | Digital Systems / Digital Circuits & System |
| Paper code | CS/CY/CSIT(CI)-304 |
| Examination | December 2025 |
| Time / Marks | 3 hours · Maximum marks 70 |
| Pattern | 8 questions of 14 marks each; attempt any 5 |
December 2025 paper at a glance: questions, units and topics
| Q. No. | Question | Unit | Topic | Marks |
|---|---|---|---|---|
| Q.1 (a) | Seven conversions (XS-3, Gray) | Unit 1 | Number systems & codes | 7 |
| Q.1 (b) | 3-variable K-map | Unit 1 | Boolean simplification | 7 |
| Q.2 (a) | NAND-only implementation | Unit 1 | Logic gates & universal gates | 7 |
| Q.2 (b) | Full adder | Unit 2 | Adders & subtractors | 7 |
| Q.3 (a) | Function using 4:1 MUX | Unit 2 | Multiplexers | 7 |
| Q.3 (b) | Decimal-to-BCD encoder | Unit 2 | Decoders & encoders | 7 |
| Q.4 (a) | Master–slave JK with timing | Unit 3 | Flip-flops | 7 |
| Q.4 (b) | Asynchronous vs synchronous counters | Unit 3 | Counters | 7 |
| Q.5 (a) | PLA implementation | Unit 3 | Memories & PLA | 7 |
| Q.5 (b) | Sample-and-hold circuit | Unit 4 | ADC, DAC & sample-hold | 7 |
| Q.6 (a) | IC 555 block diagram & applications | Unit 4 | Schmitt trigger & IC 555 | 7 |
| Q.6 (b) | TTL–MOS / TTL–CMOS interfacing | Unit 4 | Logic families & interfacing | 7 |
| Q.7 (a) | TDM; synchronous vs asynchronous | Unit 5 | Sampling, PCM & TDM | 7 |
| Q.7 (b) | Quantization error in PCM | Unit 5 | Sampling, PCM & TDM | 7 |
| Q.8 (a) | Note: logic gates | Unit 1 | Logic gates & universal gates | 3.5 |
| Q.8 (b) | Note: look-ahead carry generator | Unit 2 | Adders & subtractors | 3.5 |
| Q.8 (c) | Note: S-R flip-flop | Unit 3 | Flip-flops | 3.5 |
| Q.8 (d) | Note: Shannon’s theorem | Unit 5 | Information theory (Shannon) | 3.5 |
Unit-wise marks in this paper (out of 112 printed marks): Unit 1: 24.5, Unit 2: 24.5, Unit 3: 24.5, Unit 4: 21, Unit 5: 17.5. Short-note parts of Q.8 are counted at 3.5 marks each. Unit 1 (Number Systems, Boolean Algebra & Logic Simplification) carried the most marks.
RGPV CS-304 Digital Systems December 2025: question-wise solutions
Q.1 (a) Seven conversions incl. Excess-3 and Gray code
Convert: (i) (753)8 to decimal (ii) (4A3)16 to binary (iii) (101101.101)2 to decimal (iv) (45.625)10 to binary (v) (110101101)2 to hexadecimal (vi) (74)10 to Excess-3 code (vii) (11011101)2 to Gray code
| # | Working | Answer |
|---|---|---|
| (i) | 7×64 + 5×8 + 3×1 = 448 + 40 + 3 | (491)10 |
| (ii) | 4 = 0100, A = 1010, 3 = 0011 | (10010100011)2 |
| (iii) | 32 + 8 + 4 + 1 + 0.5 + 0.125 | (45.625)10 |
| (iv) | 45 → 101101; 0.625×2 = 1.25 (1), 0.25×2 = 0.5 (0), 0.5×2 = 1.0 (1) | (101101.101)2 |
| (v) | group 4 bits from right: 0001 1010 1101 | (1AD)16 |
| (vi) | add 3 to each digit: 7+3 = 10 → 1010, 4+3 = 7 → 0111 | 1010 0111 |
| (vii) | G7 = B7; Gi = Bi+1 ⊕ Bi | 10110011 |
Binary → Gray working for (vii)
| Binary bit | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 |
|---|---|---|---|---|---|---|---|---|
| XOR with left bit | 1 (copy MSB) | 1⊕1=0 | 1⊕0=1 | 0⊕1=1 | 1⊕1=0 | 1⊕1=0 | 1⊕0=1 | 0⊕1=1 |
Q.1 (b) 3-variable K-map: F = Σm(1, 2, 3, 5, 7)
Simplify the following function using a 3-variable K-map: F(A, B, C) = Σm(1, 2, 3, 5, 7). Also draw the simplified logic diagram.
Grouping
- Quad m1, m3, m5, m7 (the C = 1 columns, both rows) → C
- Pair m2, m3 (row A = 0, columns 11 and 10) → A′B
Both groups are essential prime implicants, so the result is minimal and unique.
Gates used: one NOT, one 2-input AND and one 2-input OR. As NAND-only: F = (C′·(A′B)′)′.
Q.2 (a) Implement F = AB + A'C using only NAND gates
Implement the Boolean function using only NAND gates: F(A, B, C) = AB + A'C
An SOP expression maps directly onto two-level NAND–NAND logic. Complement F twice and apply De Morgan’s theorem:
- Gate 1: NAND(A, A) = A′ (NAND used as an inverter).
- Gate 2: NAND(A, B) = (AB)′.
- Gate 3: NAND(A′, C) = (A′C)′.
- Gate 4: NAND[(AB)′, (A′C)′] = AB + A′C = F.
| A | B | C | AB | A'C | F |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 0 | 1 |
Total: 4 NAND gates (one 7400 IC). F is actually a 2:1 multiplexer with A as the select input.
Q.2 (b) Full adder: working, truth table, logic diagram and need
Explain the working of a Full Adder with truth table and logic diagram. Why is it required in arithmetic circuits?
A full adder adds three bits: A, B and the carry-in Cin from the previous lower stage. It produces a sum S and a carry-out Cout.
| A | B | Cin | S | Cout |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
Working: the first half adder adds A and B and gives P = A ⊕ B and AB. The second half adder adds P and Cin and gives the final sum S = P ⊕ Cin and the term P·Cin. The OR gate combines both carries: Cout = AB + P·Cin.
Why a full adder is required in arithmetic circuits
- Real numbers have many bits. Every bit position except the LSB must add three bits (Ai, Bi and the carry from position i−1). Only a full adder can do this.
- Cascading n full adders gives an n-bit parallel (ripple-carry) adder, e.g. IC 7483 / 74283 (4-bit).
- With XOR gates on the B inputs and Cin = 1, the same adder performs 2’s-complement subtraction, giving an adder–subtractor.
- It is the core of the ALU, multipliers (arrays of full adders), address calculation, counters, BCD adders and carry-save adders.
Q.3 (a) Implement F(A,B,C) = Σm(1,3,6,7) using a 4:1 MUX
Implement the Boolean function F(A, B, C) = Σm(1, 3, 6, 7) using a 4:1 multiplexer.
Use A and B as the select lines (S1 = A, S0 = B). The remaining variable C (or 0 or 1) is applied to the data inputs.
Implementation table
| I0 (AB=00) | I1 (AB=01) | I2 (AB=10) | I3 (AB=11) | |
|---|---|---|---|---|
| C' row | 0 | 2 | 4 | 6 |
| C row | 1 | 3 | 5 | 7 |
| Input | C | C | 0 | 1 |
Rule: in a column, only the C row circled → C; only the C′ row → C′; both → 1; none → 0.
Check: Y = A′B′C + A′BC + AB·1 = A′C + AB → minterms 1, 3, 6, 7 ✓
Q.3 (b) Decimal-to-BCD encoder
Design a decimal-to-BCD encoder and explain its working.
A decimal-to-BCD encoder has 10 inputs D0–D9 (one per decimal key) and 4 outputs A3A2A1A0, the BCD code of the active input. Only one input is assumed active at a time.
| Input | A3 | A2 | A1 | A0 |
|---|---|---|---|---|
| D0 | 0 | 0 | 0 | 0 |
| D1 | 0 | 0 | 0 | 1 |
| D2 | 0 | 0 | 1 | 0 |
| D3 | 0 | 0 | 1 | 1 |
| D4 | 0 | 1 | 0 | 0 |
| D5 | 0 | 1 | 0 | 1 |
| D6 | 0 | 1 | 1 | 0 |
| D7 | 0 | 1 | 1 | 1 |
| D8 | 1 | 0 | 0 | 0 |
| D9 | 1 | 0 | 0 | 1 |
Each output is 1 for the inputs whose BCD code has a 1 in that position:
A2 = D4 + D5 + D6 + D7
A1 = D2 + D3 + D6 + D7
A0 = D1 + D3 + D5 + D7 + D9
D0 needs no connection: when it is active, all outputs stay 0 (0000).
Working: pressing key 6 makes D6 = 1. Only the A2 and A1 OR gates receive a 1, so the output is 0110.
Q.4 (a) Master–slave JK flip-flop and race-around condition (with timing diagram)
Explain the working of a master–slave J-K flip-flop with timing diagram.
Repeated question: also asked in Dec 2023 (Q.3(a)), Dec 2024 (Q.4(b)).
JK flip-flop: quick recap
The JK flip-flop is an S-R flip-flop with feedback: Q′ is fed to the J gate and Q to the K gate. The state J = K = 1, invalid in S-R, now toggles the output. Characteristic equation: Qn+1 = JQ′n + K′Qn.
| J | K | Qn+1 | Action |
|---|---|---|---|
| 0 | 0 | Qn | Hold |
| 0 | 1 | 0 | Reset |
| 1 | 0 | 1 | Set |
| 1 | 1 | Q′n | Toggle |
Race-around condition
In a level-triggered JK flip-flop with J = K = 1, the output toggles once after one propagation delay Δt while CLK is still 1. The new Q and Q′ return through the feedback paths to the input gates, which are still enabled, so the output toggles again, and again. Q oscillates between 0 and 1 for the whole clock pulse. The final state when CLK goes low is uncertain. This is the race-around condition. It occurs whenever the clock pulse width tp > propagation delay Δt of the flip-flop.
Remedies: (1) keep tp < Δt < T, which is hard in practice; (2) use edge triggering; (3) use the master–slave configuration.
Master–slave JK flip-flop: construction
Two clocked latches are connected in cascade. The master (NAND gates 1–4) is a clocked JK latch enabled when CLK = 1. The slave (gates 5–8) is a clocked S-R latch driven by the master outputs and enabled when CLK = 0 (it receives CLK′ through an inverter). The feedback to the J and K gates is taken from the slave outputs Q and Q′.
Working
- CLK = 1 (master active, slave inactive): the master responds to J and K and sets Qm according to the JK table. The slave is disabled (CLK′ = 0), so Q does not change and the feedback to the master stays constant. The master can change only once, so there is no race.
- CLK goes 1 → 0 (master frozen, slave active): the master is disabled and holds Qm. The slave is enabled and copies the master: Q = Qm. Q changes now, but the master is locked, so the change cannot travel back around the loop.
- So the output changes only once per clock pulse, at the negative edge. The flip-flop behaves as negative-edge (pulse) triggered, and the race-around condition is eliminated.
Practical IC: 7476 (dual master–slave JK). Applications: counters, shift registers, frequency dividers (toggle mode divides by 2).
Q.4 (b) Asynchronous vs synchronous counters: speed and hardware complexity
Explain asynchronous counters and synchronous counters. Compare them with respect to speed and hardware complexity.
Asynchronous (ripple) counter
Only the first flip-flop receives the external clock. Each following flip-flop is clocked by the output of the previous one. With J = K = 1 every flip-flop toggles, and each stage divides the frequency by 2. Because the clock “ripples” through the chain, the delays add up: the final output settles after n·tpd.
Synchronous counter
All flip-flops share the same clock, so they change together. Extra logic decides which flip-flops toggle. For a 3-bit up counter: J0 = K0 = 1, J1 = K1 = Q0, J2 = K2 = Q0Q1. A flip-flop toggles only when all lower bits are 1.
| Feature | Asynchronous (ripple) | Synchronous |
|---|---|---|
| Clock | Only the first FF; the others are clocked by the previous Q | Common clock to all FFs |
| Delay to settle | n × tpd(FF) (grows with n) | tpd(FF) + tpd(gate) (independent of n) |
| Speed | Slower: fmax = 1 / (n·tpd) | Faster: fmax = 1 / (tpd + tgate) |
| Hardware | Simple: no extra gates | More complex: AND gates / logic for each stage |
| Design | Easy (just cascade) | Needs a state table, excitation table and K-maps |
| Glitches | Temporary false states while decoding | No ripple glitches |
| Arbitrary sequences | Difficult | Easy (any sequence can be designed) |
| Examples | 7490, 7493 | 74160–74163, 74190/74193 |
Numerical feel: with tpd = 10 ns, a 4-bit ripple counter works up to 1/(4 × 10 ns) = 25 MHz. A synchronous counter with a 10 ns gate delay works up to 1/(10 + 10 ns) = 50 MHz.
Q.5 (a) PLA: short note and implementation of F₁ = A′B + AC, F₂ = AB + BC′
Implement the Boolean functions using PLA: F1 = A'B + AC, F2 = AB + BC'. Draw the PLA programming table.
Repeated question: also asked in Dec 2024 (Q.6(b)).
PLA: concept
A Programmable Logic Array (PLA) is a PLD that implements several Boolean functions in sum-of-products form. Its parts are: input buffers with true and complement outputs; a programmable AND array that forms the product terms; and a programmable OR array that sums selected products for each output, with optional XOR gates to complement an output. A PLA is specified as n × k × m (inputs × product terms × outputs). Because both arrays are programmable, product terms can be shared, which is its advantage over a PAL (fixed OR array) and over a ROM (fixed AND array that generates all minterms).
Implementation of F1 and F2
Product terms needed: P1 = A′B, P2 = AC, P3 = AB, P4 = BC′. Then F1 = P1 + P2 and F2 = P3 + P4. That needs 4 product terms, so a 3 × 4 × 2 PLA.
PLA programming table
| Product term | A | B | C | F1 | F2 |
|---|---|---|---|---|---|
| 1: A'B | 0 | 1 | – | 1 | – |
| 2: AC | 1 | – | 1 | 1 | – |
| 3: AB | 1 | 1 | – | – | 1 |
| 4: BC' | – | 1 | 0 | – | 1 |
| T/C → | T | T |
Input columns: 1 = true variable connected, 0 = complemented variable connected, – = not connected. Output columns: 1 = product term connected to that OR gate. T/C = true or complemented output.
| Device | AND array | OR array | Remark |
|---|---|---|---|
| PROM | Fixed (all minterms) | Programmable | Wasteful for few terms |
| PAL | Programmable | Fixed | Fast, cheap; no term sharing |
| PLA | Programmable | Programmable | Most flexible; term sharing |
Q.5 (b) Sample-and-hold circuit: working and need in ADC systems
Explain the working of a Sample and Hold circuit with neat diagram. Why is it required in ADC systems?
A sample-and-hold (S/H) circuit takes the instantaneous value of an analog signal at the sampling instant and holds it constant for a specified time, usually the ADC’s conversion time.
Construction and working
- A1 is an input buffer (voltage follower). It has high input impedance and low output impedance, so it can charge the capacitor quickly.
- An analog switch (MOSFET), driven by the S/H control signal, connects A1 to the hold capacitor Ch.
- A2 is an output buffer with very high input impedance, so Ch does not discharge through the load.
- Sample (track) mode, control HIGH: the switch is ON, Ch charges to Vin and Vo follows the input.
- Hold mode, control LOW: the switch is OFF. Ch keeps its charge, so Vo stays constant at the value it had when the switch opened.
Important parameters: acquisition time (time to charge Ch to Vin), aperture time, droop rate (dV/dt = Ileak/Ch) and feed-through. A larger Ch gives less droop but slower acquisition. Low-leakage polystyrene or Teflon capacitors are used. IC: LF398.
Why it is required in ADC systems
- An ADC needs a finite conversion time tc: n clock cycles for a SAR ADC, milliseconds for a dual-slope ADC. If the input changes during this time, the output code becomes wrong, or the SAR logic can even give missing codes.
- To keep the error below ±½ LSB without an S/H, the input frequency must satisfy f ≤ 1/(2π·2n·tc). For an 8-bit ADC with tc = 10 µs, this is only about 62 Hz. With an S/H, signals up to the Nyquist limit can be converted.
- It also provides the sampling operation required by the sampling theorem in PCM and data-acquisition systems.
Q.6 (a) IC 555 timer: block diagram, astable frequency derivation, applications
Explain the internal block diagram and working of IC 555 Timer. Discuss any two applications of IC 555.
Repeated question: also asked in Dec 2023 (Q.7(a)).
The IC 555 is an 8-pin timer that gives accurate time delays or oscillation. Pins: 1 GND, 2 Trigger, 3 Output, 4 Reset, 5 Control voltage, 6 Threshold, 7 Discharge, 8 +VCC (5–18 V).
Internal blocks and working
- Voltage divider: three equal 5 kΩ resistors set the reference voltages ⅔VCC (for comparator 1) and ⅓VCC (for comparator 2). Pin 5 can change these levels.
- Comparator 1 (threshold): its output goes HIGH when V6 > ⅔VCC, which resets the flip-flop.
- Comparator 2 (trigger): its output goes HIGH when V2 < ⅓VCC, which sets the flip-flop.
- S-R flip-flop: its Q′ output drives the output stage and the discharge transistor. Set: Q′ = 0, so the output (pin 3) is HIGH and the transistor is OFF. Reset: Q′ = 1, so the output is LOW and the transistor is ON, shorting pin 7 to ground to discharge the timing capacitor.
- Reset (pin 4): a LOW here forces the output LOW whatever the other inputs. Output stage: an inverting buffer that can source or sink about 200 mA.
Astable multivibrator and its frequency
Pins 2 and 6 are joined, so the capacitor voltage vC swings between ⅓VCC and ⅔VCC. Charging happens through RA + RB while the output is HIGH. Discharging happens through RB into pin 7 while the output is LOW.
Example: RA = 1 kΩ, RB = 10 kΩ, C = 0.1 µF gives f = 1.44 / (21 kΩ × 0.1 µF) ≈ 686 Hz and D ≈ 52.4 %.
Applications (any two)
- Monostable (one-shot) timer: a trigger pulse on pin 2 gives a single output pulse of width T = 1.1 RAC. Used in timers, missing-pulse detectors, switch debouncing and frequency dividers.
- Astable multivibrator: a free-running square-wave oscillator (as above). Used for clock generation, LED/lamp flashers, tone generators, and PWM/PPM by modulating pin 5.
- Others: Schmitt trigger (bistable mode), ramp generator, FSK generator, burglar alarms.
Q.6 (b) Interfacing between TTL and MOS (CMOS): need and techniques
Explain the need for interfacing between TTL and MOS logic. Discuss TTL-to-CMOS interfacing techniques.
Repeated question: also asked in Nov 2022 (Q.7(a)).
Need for interfacing
TTL and MOS/CMOS gates use different voltage levels and current requirements. When one family drives the other directly, the receiving gate may not recognise a HIGH, or the driving gate may not supply or sink enough current.
| Parameter | TTL (74/74LS) | CMOS 4000B (VDD = 5 V) | Problem |
|---|---|---|---|
| VOH(min) | 2.4 V / 2.7 V | 4.95 V | — |
| VIH(min) | 2.0 V | 3.5 V | TTL HIGH (2.4 V) < 3.5 V → not a valid CMOS HIGH |
| VOL(max) | 0.4 V / 0.5 V | 0.05 V | — |
| VIL(max) | 0.8 V | 1.5 V | OK |
| Input current IIL | 1.6 mA / 0.4 mA | ≈ 1 µA | CMOS cannot sink much TTL input current |
| Supply | 5 V only | 3–15 V | Level shifting needed if VDD ≠ 5 V |
TTL → CMOS techniques
- Pull-up resistor (same 5 V supply): connect Rp (about 1–10 kΩ, e.g. 3.3 kΩ) from the TTL output to +5 V. When the TTL output is HIGH, Rp pulls it up to nearly 5 V, above VIH = 3.5 V. A LOW output is unaffected.
- Open-collector TTL for higher VDD (10–15 V): use a TTL gate with open-collector output (e.g. 7406/7407) and a pull-up to the CMOS VDD. The output swings from 0 to VDD, so it also acts as a level shifter.
- TTL-compatible CMOS (74HCT / 74ACT): these have TTL-level inputs (VIH = 2 V) and can be driven directly.
- Level-shifter IC such as CD40109 when the supplies differ.
CMOS → TTL techniques
- At VDD = 5 V the voltage levels are compatible, but a 4000B output can sink only about 0.4–0.5 mA. That drives just one 74LS load, so use a CMOS buffer such as CD4049/CD4050 (it can drive two standard TTL loads) or a 74HC device, which can drive about 10 LS loads.
- If the CMOS runs at VDD > 5 V, power the CD4050 buffer from 5 V. It accepts input voltages above its own supply, so it steps the levels down for TTL.
Example: a 74LS00 NAND output driving a CD4011 CMOS gate uses a 3.3 kΩ pull-up to +5 V. A CD4011 output driving several 74LS gates goes through a CD4050 buffer.
Q.7 (a) Time Division Multiplexing; synchronous vs asynchronous TDM
Explain Time Division Multiplexing (TDM) with block diagram. Differentiate between synchronous and asynchronous TDM.
TDM lets several signals share one channel by giving each signal a different time slot. Each message is sampled (by the sampling theorem) and the samples of all channels are interleaved in time.
- Each input passes through an LPF (anti-aliasing) to the commutator, a rotating electronic switch that takes one sample from each channel in turn.
- One rotation gives a frame containing one sample from each of the N channels. The frame duration is Ts = 1/fs and each slot is Ts/N.
- At the receiver the decommutator, rotating in exact synchronism, sends each sample to its own output, where an LPF reconstructs the message. Framing or sync bits keep the two switches aligned.
- Signalling rate = N·fs; minimum bandwidth ≈ N·fs/2 (= N·fm at the Nyquist rate).
- Example (T1 system): 24 voice channels × 8 bits + 1 framing bit = 193 bits per frame, × 8000 frames/s = 1.544 Mbps.
| Basis | Synchronous TDM | Asynchronous (statistical) TDM |
|---|---|---|
| Slot allocation | Fixed: every input gets a slot in every frame | Dynamic: slots only to inputs that have data |
| Empty slots | Sent even if the source is idle (wasted) | Not sent |
| Addressing | Not needed (position identifies the channel) | Each slot carries an address/header |
| Link capacity | Equal to the sum of all input rates | Can be less than the sum of input rates |
| Efficiency | Low for bursty traffic | High |
| Buffering / complexity | Simple, no buffers | Needs buffers and more complex control |
| Delay | Constant, predictable | Variable |
| Examples | T1/E1 telephone systems, SONET/SDH | Packet networks, ATM, data concentrators |
Q.7 (b) PCM: block diagram, quantization process, quantization error and its reduction
Explain quantization process and quantization error in PCM. How can quantization noise be reduced?
Repeated question: also asked in Dec 2024 (Q.8(a)).
Pulse Code Modulation (PCM) converts an analog message into a stream of binary code words. The signal is sampled, each sample is quantized to the nearest allowed level, and the level number is encoded as an n-bit binary word.
- LPF band-limits the message to fm (anti-aliasing). The sampler takes samples at fs ≥ 2fm.
- The quantizer rounds each sample to one of L = 2n levels. The encoder converts the level into an n-bit code, so the bit rate is Rb = n·fs and the minimum bandwidth is about n·fs/2.
- Regenerative repeaters along the channel reshape the pulses, so noise does not accumulate. The receiver regenerates the pulses, decodes them into levels, and smooths the result with a reconstruction LPF.
- Advantages: high noise immunity, regeneration, easy encryption, multiplexing (TDM) and digital processing. Disadvantages: larger bandwidth, quantization noise, need for synchronisation.
- Example: telephone PCM uses 8 kHz × 8 bits = 64 kbps per channel.
Quantization process
Quantization approximates each continuous sample amplitude by the nearest discrete level. For a range −Vmax to +Vmax with L = 2n levels, the step size is Δ = 2Vmax/L. Quantizers are uniform (equal steps, mid-tread or mid-rise) or non-uniform (small steps for small amplitudes).
Quantization error (noise)
The error q = m − mq lies between −Δ/2 and +Δ/2. Assuming it is uniformly distributed over this range:
How to reduce quantization noise
- Increase the number of bits n (smaller Δ). Each extra bit improves SQNR by about 6 dB, at the cost of more bandwidth.
- Non-uniform quantization / companding: compress the signal before uniform quantization (μ-law, μ = 255 in USA/Japan; A-law, A = 87.6 in India/Europe) and expand it at the receiver. Small signals then get finer steps, giving nearly constant SQNR.
- Oversampling with noise shaping (sigma-delta) and dithering.
- Adaptive quantization (step size follows signal level, as in ADPCM), and matching the signal level to the full quantizer range.
Q.8 (a) Short note: Logic gates
Write a short note on Logic Gates.
A logic gate is an electronic circuit that performs a basic logical (Boolean) operation on one or more binary inputs and gives a single binary output. Gates are the building blocks of every digital system. They are grouped as basic gates (AND, OR, NOT), universal gates (NAND, NOR) and exclusive gates (XOR, XNOR).
| Gate | Symbol | Expression | Output for AB = 00, 01, 10, 11 | Remark |
|---|---|---|---|---|
| AND | Y = A·B | 0, 0, 0, 1 | 1 only if all inputs are 1 (IC 7408) | |
| OR | Y = A + B | 0, 1, 1, 1 | 1 if any input is 1 (IC 7432) | |
| NOT | Y = A' | A = 0 → 1, A = 1 → 0 | Inverter (IC 7404) | |
| NAND | Y = (A·B)' | 1, 1, 1, 0 | Universal gate (IC 7400) | |
| NOR | Y = (A + B)' | 1, 0, 0, 0 | Universal gate (IC 7402) | |
| XOR | Y = A'B + AB' = A ⊕ B | 0, 1, 1, 0 | 1 for odd number of 1s; adders, parity (IC 7486) | |
| XNOR | Y = AB + A'B' = A ⊙ B | 1, 0, 0, 1 | Equality detector / comparator |
Key points
- Universal gates: NAND and NOR can each realise AND, OR and NOT, so any Boolean function can be built from only NAND or only NOR gates.
- De Morgan’s theorems link the gates: (A·B)' = A' + B' and (A + B)' = A'·B'. So a NAND equals an OR with inverted inputs (“bubbled OR”), and a NOR equals a “bubbled AND”.
- Gates are made in logic families such as TTL (74xx) and CMOS (40xx / 74HCxx). Their main parameters are propagation delay, fan-in, fan-out, noise margin and power dissipation.
Q.8 (b) Parallel adders: carry-save adder and carry look-ahead adder / generator
Short note: look-ahead carry generator.
Repeated question: also asked in Dec 2023 (Q.6(b)).
Types of parallel adders
- Ripple-carry adder: n full adders in cascade. Simple, but each carry must ripple through every stage, so the delay is about 2n gate delays.
- Carry look-ahead adder (CLA): all carries are generated in parallel. Fast.
- Carry-save adder (CSA): adds three or more operands without propagating carries. Used in multipliers.
- Carry-select and carry-skip (bypass) adders: block-based speed-ups.
- BCD adder: a parallel adder plus correction logic for decimal digits.
Carry look-ahead adder and look-ahead carry generator
For each bit, define Generate Gi = AiBi (a carry is produced) and Propagate Pi = Ai ⊕ Bi (an incoming carry is passed on). Then Ci+1 = Gi + PiCi and Si = Pi ⊕ Ci. Substituting each carry into the next removes the ripple:
C2 = G1 + P1G0 + P1P0C0
C3 = G2 + P2G1 + P2P1G0 + P2P1P0C0
C4 = G3 + P3G2 + P3P2G1 + P3P2P1G0 + P3P2P1P0C0
- Each carry is a two-level AND–OR function of P, G and C0, so all carries appear at the same time. Total delay ≈ 4 gate delays (P/G, AND, OR, sum XOR), independent of the number of bits.
- Drawback: fan-in and gate count grow with n, so CLAs are built in 4-bit groups and cascaded with a second look-ahead level. ICs: 74182 (look-ahead carry generator), 74283 (4-bit adder with fast carry).
Carry-save adder (CSA)
A CSA adds three numbers X, Y and Z. A row of independent full adders (one per bit, with no carry chain) produces a partial-sum vector S and a carry vector C. C is shifted one place left and added to S by a single carry-propagate adder at the end. The delay of the CSA stage is just one full-adder delay, whatever the word length.
Example: X = 0101 (5), Y = 0011 (3), Z = 0110 (6). Bitwise: S = 0000 and C = 0111, which becomes 01110 after the left shift. S + C = 01110 = 14 = 5 + 3 + 6 ✓. Applications: array and Wallace-tree multipliers, multi-operand addition, DSP MAC units.
Q.8 (c) Short note: S-R flip-flop
Write a short note on S-R Flip-Flop.
A flip-flop is a 1-bit memory element with two stable states (bistable). The S-R (Set–Reset) flip-flop is the simplest one. S = 1 sets Q to 1, R = 1 resets Q to 0, and S = R = 0 holds the previous state.
| CLK | S | R | Qn+1 | State |
|---|---|---|---|---|
| 0 | x | x | Qn | No change |
| 1 | 0 | 0 | Qn | Hold |
| 1 | 0 | 1 | 0 | Reset |
| 1 | 1 | 0 | 1 | Set |
| 1 | 1 | 1 | ? | Invalid (forbidden) |
- Characteristic equation: Qn+1 = S + R′Qn, with the constraint SR = 0.
- Clocked operation: the input NAND gates pass S and R only while CLK = 1. When CLK = 0 the latch holds its state.
- Invalid state: with S = R = 1, both Q and Q′ are forced to the same level (both 1 in the NAND version, both 0 in the NOR latch). When the inputs return to 0 the final state is unpredictable (a race).
- Excitation table (Qn→Qn+1 : S R): 0→0 : 0 x; 0→1 : 1 0; 1→0 : 0 1; 1→1 : x 0.
- The JK flip-flop removes the invalid state; the D flip-flop avoids it by using S = D, R = D′.
Q.8 (d) Shannon's channel capacity theorem; mutual information; Shannon limit numerical
Short note: Shannon's Channel Capacity Theorem.
Repeated question: also asked in Nov 2022 (Q.8(iii)), Dec 2023 (Q.5(a)).
Mutual information
For a channel with input X and output Y, the entropy H(X) = −Σ p(x) log2 p(x) is the average uncertainty about the input. The conditional entropy H(X|Y) is the uncertainty that still remains after Y is received. The mutual information is the uncertainty removed by observing the output, i.e. the information actually conveyed by the channel:
- Properties: I(X;Y) = I(Y;X) (symmetric); I(X;Y) ≥ 0; for a noiseless channel I = H(X); for a useless channel (output independent of input) I = 0.
Relation with channel capacity
I(X;Y) depends on the input probabilities. The channel capacity is the largest mutual information obtainable over all input distributions:
Shannon's channel capacity theorem (Shannon–Hartley)
For a channel of bandwidth B Hz with additive white Gaussian noise and signal-to-noise power ratio S/N:
- Channel coding theorem: if the information rate R ≤ C, a coding scheme exists that makes the probability of error arbitrarily small. If R > C, error-free transmission is impossible.
- Bandwidth and S/N can be traded against each other for the same capacity.
- With unlimited bandwidth, capacity does not become infinite: C∞ = 1.44 S/N0. The minimum Eb/N0 for reliable communication is −1.6 dB (the Shannon limit).
Numerical
This explains why classic voice-band modems topped out at about 28.8–33.6 kbps.
Frequently asked questions
Which unit carried the most marks in the RGPV CS-304 Digital Systems December 2025 paper?
Unit 1 (Number Systems, Boolean Algebra & Logic Simplification) carried the most marks: 24.5 of the 112 printed marks. The full unit-wise split was Unit 1: 24.5, Unit 2: 24.5, Unit 3: 24.5, Unit 4: 21, Unit 5: 17.5.
What is the exam pattern of RGPV CS-304 Digital Systems?
The paper is for 70 marks and 3 hours. It has 8 questions of 14 marks each, usually split into two 7-mark parts, and students attempt any 5 questions.
Is CS-304 Digital Systems the same paper as CI-304 Digital Circuits & System?
Yes. The December 2025 paper was printed with the code CS/CY/CSIT(CI)-304, so the same question paper is used for these branches.
Which questions of the December 2025 CS-304 paper are repeated in other years?
Q.4(a) (Master–slave JK flip-flop and race-around condition (with timing diagram)) was also asked in Dec 2023 Q.3(a), Dec 2024 Q.4(b). Q.5(a) (PLA: short note and implementation of F₁ = A′B + AC, F₂ = AB + BC′) was also asked in Dec 2024 Q.6(b). Q.6(a) (IC 555 timer: block diagram, astable frequency derivation, applications) was also asked in Dec 2023 Q.7(a). Q.6(b) (Interfacing between TTL and MOS (CMOS): need and techniques) was also asked in Nov 2022 Q.7(a). Q.7(b) (PCM: block diagram, quantization process, quantization error and its reduction) was also asked in Dec 2024 Q.8(a). Q.8(b) (Parallel adders: carry-save adder and carry look-ahead adder / generator) was also asked in Dec 2023 Q.6(b). Q.8(d) (Shannon's channel capacity theorem; mutual information; Shannon limit numerical) was also asked in Nov 2022 Q.8(iii), Dec 2023 Q.5(a).
Which topics are most important for the RGPV CS-304 Digital Systems exam?
Based on the Nov 2022 to Dec 2025 papers, the most repeated topics are Boolean simplification with K-maps, number systems and codes, logic families and TTL–CMOS interfacing, ADC/DAC, counters, the master–slave JK flip-flop, PLA and memories, the Schmitt trigger and IC 555, and Shannon’s channel capacity theorem.