Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

Explain the multiplexer and design a 4-to-1 multiplexer. Implement the function F(A,B,C) = Sum(1,2,6,7) using an 8-to-1 multiplexer.

Multiplexer (MUX)

A multiplexer is a combinational circuit that selects one of 2n2^n input data lines and routes it to a single output line, controlled by nn select (control) lines. It is also called a data selector because the binary value applied to the select lines decides which input is connected to the output. A MUX performs parallel-to-serial conversion and can also implement any Boolean function.

4-to-1 Multiplexer

A 4-to-1 MUX has 4 data inputs (I0,I1,I2,I3I_0, I_1, I_2, I_3), 2 select lines (S1,S0S_1, S_0) and 1 output YY.

Selection table:

S1S_1S0S_0Output YY
00I0I_0
01I1I_1
10I2I_2
11I3I_3

Boolean expression:

Y=S1ˉS0ˉI0+S1ˉS0I1+S1S0ˉI2+S1S0I3Y = \bar{S_1}\,\bar{S_0}\,I_0 + \bar{S_1}\,S_0\,I_1 + S_1\,\bar{S_0}\,I_2 + S_1\,S_0\,I_3

Logic diagram (described): Four 3-input AND gates, each fed by one data input and the appropriate combination of S1,S0S_1, S_0 (true/complemented via inverters). The four AND-gate outputs feed a single 4-input OR gate whose output is YY.

Implementing F(A,B,C)=(1,2,6,7)F(A,B,C)=\sum(1,2,6,7) with an 8-to-1 MUX

An 8-to-1 MUX has 8 data inputs I0I7I_0\ldots I_7 and 3 select lines. Connect the three variables directly to the select lines:

S2=A,S1=B,S0=CS_2 = A,\quad S_1 = B,\quad S_0 = C

The MUX passes input IiI_i whenever the minterm ii is selected, so set each data line to 1 if its minterm is present in FF, else 0:

Minterm ii (ABCABC)In FF?Data line IiI_i
0 (000)No0
1 (001)Yes1
2 (010)Yes1
3 (011)No0
4 (100)No0
5 (101)No0
6 (110)Yes1
7 (111)Yes1

Connections: I1=I2=I6=I7=1I_1 = I_2 = I_6 = I_7 = 1 (connect to logic HIGH) and I0=I3=I4=I5=0I_0 = I_3 = I_4 = I_5 = 0 (connect to logic LOW). The output of the MUX then equals F(A,B,C)=(1,2,6,7)F(A,B,C)=\sum(1,2,6,7).

multiplexer
2long10 marks

What is a ripple counter? Explain the working of a 4-bit binary ripple counter with a timing diagram.

Ripple Counter

A ripple counter (also called an asynchronous counter) is a counter in which only the first flip-flop is clocked by the external clock, and each subsequent flip-flop is clocked by the output of the preceding flip-flop. Because the clock 'ripples' through the chain from one stage to the next, the flip-flops do not change state simultaneously; this propagation gives the counter its name.

4-bit Binary Ripple Counter

It uses four T flip-flops (or JK flip-flops with J=K=1J=K=1) connected in cascade. All flip-flops are held in toggle mode.

Construction (negative-edge triggered, up counter):

  • External clock \to clock of FF0 (output Q0Q_0, LSB).
  • Q0Q_0 \to clock of FF1 (output Q1Q_1).
  • Q1Q_1 \to clock of FF2 (output Q2Q_2).
  • Q2Q_2 \to clock of FF3 (output Q3Q_3, MSB).

Working: Each flip-flop toggles on the falling edge of its clock. FF0 toggles on every clock pulse (divide-by-2). FF1 toggles each time Q0Q_0 falls (1\to0), i.e. every 2 pulses. Similarly Q2Q_2 toggles every 4 pulses and Q3Q_3 every 8. The outputs Q3Q2Q1Q0Q_3Q_2Q_1Q_0 thus count in binary from 00000000 to 11111111 (0 to 15) and then roll over.

Count sequence:

ClockQ3Q_3Q2Q_2Q1Q_1Q0Q_0Decimal
000000
100011
200102
300113
401004
......
15111115

Timing diagram (described): Draw four waveforms aligned to the clock. Q0Q_0 is a square wave at half the clock frequency, Q1Q_1 at one-quarter, Q2Q_2 at one-eighth, and Q3Q_3 at one-sixteenth. Each output transitions only on the falling edge of the waveform above it, so successive transitions appear slightly delayed (the ripple delay).

Note: Because the clock ripples through the stages, the total settling delay is n×tpdn \times t_{pd}, which limits the maximum counting speed compared to a synchronous counter.

counters
3long10 marks

Explain the working of a 3-to-8 line decoder with a logic diagram and implement a full adder using it.

3-to-8 Line Decoder

A decoder is a combinational circuit that converts an nn-bit binary input into one of 2n2^n unique output lines. A 3-to-8 decoder has 3 inputs (A,B,CA, B, C) and 8 outputs (D0D7D_0\ldots D_7). For each input combination exactly one output is active (HIGH for active-high), and that output corresponds to the minterm of the inputs.

Output equations (active-high):

D0=AˉBˉCˉ,  D1=AˉBˉC,  D2=AˉBCˉ,  D3=AˉBC,D_0=\bar A\bar B\bar C,\; D_1=\bar A\bar B C,\; D_2=\bar A B\bar C,\; D_3=\bar A B C, D4=ABˉCˉ,  D5=ABˉC,  D6=ABCˉ,  D7=ABCD_4=A\bar B\bar C,\; D_5=A\bar B C,\; D_6=A B\bar C,\; D_7=A B C

Truth table:

AABBCCActive output
000D0D_0
001D1D_1
010D2D_2
011D3D_3
100D4D_4
101D5D_5
110D6D_6
111D7D_7

Logic diagram (described): Three input lines A,B,CA,B,C each pass through an inverter to provide both true and complemented forms. Eight 3-input AND gates each take a distinct combination of the (true/complemented) inputs; each AND gate produces one output DiD_i equal to its minterm.

Implementing a Full Adder using the 3-to-8 Decoder

For a full adder with inputs A,B,CinA, B, C_{in}:

Sum S=(1,2,4,7),Carry Cout=(3,5,6,7)\text{Sum } S = \sum(1,2,4,7), \qquad \text{Carry } C_{out} = \sum(3,5,6,7)

Apply A,B,CinA, B, C_{in} to the decoder select inputs (as A,B,CA,B,C). Each decoder output DiD_i equals minterm ii. OR together the minterm outputs belonging to each function:

S=D1+D2+D4+D7S = D_1 + D_2 + D_4 + D_7 Cout=D3+D5+D6+D7C_{out} = D_3 + D_5 + D_6 + D_7

So connect D1,D2,D4,D7D_1, D_2, D_4, D_7 to a 4-input OR gate to obtain Sum, and D3,D5,D6,D7D_3, D_5, D_6, D_7 to another 4-input OR gate to obtain Carry-out. This realizes a complete full adder using one 3-to-8 decoder and two OR gates.

decoder
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

Convert (1011.011)2 into decimal and hexadecimal.

Convert (1011.011)2(1011.011)_2 to Decimal and Hexadecimal

To Decimal: weight each bit by its positional power of 2.

Integer part: 123+022+121+120=8+0+2+1=111\cdot2^3 + 0\cdot2^2 + 1\cdot2^1 + 1\cdot2^0 = 8+0+2+1 = 11

Fractional part: 021+122+123=0+0.25+0.125=0.3750\cdot2^{-1} + 1\cdot2^{-2} + 1\cdot2^{-3} = 0 + 0.25 + 0.125 = 0.375

(1011.011)2=11+0.375=(11.375)10(1011.011)_2 = 11 + 0.375 = (11.375)_{10}

To Hexadecimal: group the bits into fours from the binary point, padding with zeros.

Integer part: 1011=B161011 = B_{16}

Fractional part: 0110110011 \to 0110 (pad right) =616= 6_{16}

(1011.011)2=(B.6)16(1011.011)_2 = (B.6)_{16}

Final answers: (1011.011)2=(11.375)10=(B.6)16(1011.011)_2 = (11.375)_{10} = (B.6)_{16}.

number-system
5short5 marks

State and prove the absorption law of Boolean algebra.

Absorption Law of Boolean Algebra

Statement: The absorption law has two dual forms:

(i)A+AB=A(ii)A(A+B)=A\textbf{(i)}\quad A + A\cdot B = A \qquad\qquad \textbf{(ii)}\quad A\cdot(A + B) = A

A variable 'absorbs' the term that contains it together with another variable.

Proof of (i): A+AB=AA + AB = A

A+AB=A1+AB(since A=A1)A + AB = A\cdot 1 + A\cdot B \quad (\text{since } A = A\cdot 1) =A(1+B)(distributive law)= A\,(1 + B) \quad (\text{distributive law}) =A1(since 1+B=1)= A\cdot 1 \quad (\text{since } 1 + B = 1) =A= A

Proof of (ii): A(A+B)=AA(A+B) = A

A(A+B)=AA+AB(distributive law)A(A+B) = A\cdot A + A\cdot B \quad (\text{distributive law}) =A+AB(since AA=A)= A + A B \quad (\text{since } A\cdot A = A) =A(by part (i))= A \quad (\text{by part (i)})

Hence both forms of the absorption law are proved.

boolean-algebra
6short5 marks

Simplify the expression F(A,B,C) = Sum(0,2,4,5,6) using a K-map.

Simplify F(A,B,C)=(0,2,4,5,6)F(A,B,C)=\sum(0,2,4,5,6) using a K-map

Three-variable K-map (rows = AA; columns = BCBC in Gray order 00, 01, 11, 10):

A\BCA \backslash BC00011110
01 (m0)0 (m1)0 (m3)1 (m2)
11 (m4)1 (m5)0 (m7)1 (m6)

Grouping:

  • Group 1 (quad): minterms 0, 2, 4, 6 — the two outer columns (BC=00BC=00 and BC=10BC=10). Here C=0C=0 in all four cells, so this group simplifies to Cˉ\bar C.
  • Group 2 (pair): minterms 4, 5 — bottom row, columns 0000 and 0101. Here A=1,B=0A=1, B=0, so this group gives ABˉA\bar B.

Simplified expression:

F=Cˉ+ABˉF = \bar C + A\bar B

This is the minimal Sum-of-Products form (two product terms).

k-map
7short5 marks

Explain the working of a full adder with a truth table.

Full Adder

A full adder is a combinational circuit that adds three 1-bit inputs — the two bits to be added (AA, BB) and a carry-in (CinC_{in}) from the previous stage — and produces two outputs: the Sum (SS) and the Carry-out (CoutC_{out}).

Truth table:

AABBCinC_{in}Sum SSCarry CoutC_{out}
00000
00110
01010
01101
10010
10101
11001
11111

Boolean expressions (simplified):

S=ABCinS = A \oplus B \oplus C_{in} Cout=AB+BCin+ACin=AB+Cin(AB)C_{out} = AB + B C_{in} + A C_{in} = AB + C_{in}(A \oplus B)

Working / circuit (described): A full adder is built from two half adders and an OR gate. The first half adder adds AA and BB giving a partial sum ABA\oplus B and a carry ABAB. The second half adder adds this partial sum to CinC_{in}, giving the final S=ABCinS = A\oplus B\oplus C_{in} and a second carry (AB)Cin(A\oplus B)C_{in}. The two carries are OR-ed to give CoutC_{out}. The sum is HIGH when an odd number of inputs are 1, and the carry is HIGH when two or more inputs are 1.

combinational
8short5 marks

Realize the NOT, AND and OR gates using NOR gates only.

Realizing NOT, AND, OR using only NOR gates

The NOR gate is a universal gate; any logic function can be built from NOR gates alone. NOR is defined as A+B\overline{A+B}.

1. NOT gate — tie both inputs of a NOR gate together (or tie one input to 0):

A+A=Aˉ\overline{A + A} = \bar A

So a NOR gate with both inputs =A= A produces Aˉ\bar A.

2. OR gate — OR is the complement of NOR, so feed the NOR output into a NOR-inverter:

A+B=A+B\overline{\overline{A + B}} = A + B

Use one NOR gate to get A+B\overline{A+B}, then a second NOR (as inverter) to get A+BA+B. (2 NOR gates)

3. AND gate — using De Morgan's theorem AB=Aˉ+BˉA\cdot B = \overline{\bar A + \bar B}:

  • Invert AA with a NOR-inverter Aˉ\to \bar A
  • Invert BB with a NOR-inverter Bˉ\to \bar B
  • Feed Aˉ\bar A and Bˉ\bar B into a NOR gate: Aˉ+Bˉ=AB\overline{\bar A + \bar B} = A\cdot B

Thus AND requires 3 NOR gates (two as inverters, one as the final NOR).

Summary: NOT = 1 NOR, OR = 2 NOR, AND = 3 NOR — proving NOR is a universal gate.

logic-gates
9short5 marks

Differentiate between combinational and sequential logic circuits.

Combinational vs. Sequential Logic Circuits

BasisCombinational CircuitSequential Circuit
Output depends onOnly the present inputsPresent inputs and past (stored) state
Memory elementNo memory; no feedbackHas memory (flip-flops/latches) with feedback
ClockGenerally not requiredUsually requires a clock (synchronous type)
Feedback pathAbsentPresent (output fed back to input)
BehaviourOutput is a direct function of inputsOutput changes with state and time
ExamplesAdders, multiplexers, decoders, encodersFlip-flops, counters, shift registers
Design analysisBoolean equations / truth tablesState diagrams, state tables, excitation tables

In short: a combinational circuit produces an output that is purely a function of its current inputs, whereas a sequential circuit also stores information, so its output depends on the sequence of past inputs as well as the present ones.

sequential
10short5 marks

Explain the working of a D flip-flop with a truth table.

D (Data / Delay) Flip-Flop

The D flip-flop has a single data input DD and a clock input. On the active clock edge it transfers the value at DD to the output QQ; otherwise QQ holds its previous value. It is widely used to store one bit of data and to eliminate the invalid (forbidden) state of the SR flip-flop.

Construction: It is obtained from an SR (or JK) flip-flop by connecting DD to SS (or JJ) and Dˉ\bar D to RR (or KK) through an inverter, so SS and RR can never both be 1.

Characteristic / truth table:

DDClockQnextQ_{next}
0\uparrow0
1\uparrow1
Xno edgeQQ (no change)

Characteristic equation:

Qnext=DQ_{next} = D

Working: When the clock edge arrives, if D=0D=0 the flip-flop resets (Q=0Q=0); if D=1D=1 it sets (Q=1Q=1). Between clock edges the output is latched and unaffected by changes on DD. Because the output simply follows the input one clock later, it is also called a delay flip-flop. It is commonly used in registers, data buffers, and shift registers.

flip-flops
11short5 marks

Design a synchronous mod-4 up counter.

Synchronous Mod-4 Up Counter

A mod-4 counter counts through 4 states (012300 \to 1 \to 2 \to 3 \to 0), requiring 2 flip-flops (22=42^2 = 4). In a synchronous counter all flip-flops share the same clock, so they change state simultaneously. We use two JK flip-flops (Q1Q_1 = MSB, Q0Q_0 = LSB).

State / count sequence:

Present Q1Q0Q_1Q_0Next Q1Q0Q_1Q_0
0001
0110
1011
1100

Flip-flop inputs (from JK excitation):

  • Q0Q_0 must toggle on every clock pulse J0=K0=1\Rightarrow J_0 = K_0 = 1.
  • Q1Q_1 must toggle only when Q0=1J1=K1=Q0Q_0 = 1 \Rightarrow J_1 = K_1 = Q_0.

Design equations:

J0=K0=1,J1=K1=Q0J_0 = K_0 = 1, \qquad J_1 = K_1 = Q_0

Circuit (described): Both flip-flops are clocked by the common clock. FF0's J0,K0J_0,K_0 are tied to logic 1 (so Q0Q_0 toggles every pulse). FF0's output Q0Q_0 is connected to both J1J_1 and K1K_1 of FF1, so Q1Q_1 toggles only when Q0=1Q_0=1. The outputs Q1Q0Q_1Q_0 then count 000110110000\to01\to10\to11\to00\ldots, giving a synchronous mod-4 up counter.

counters
12short5 marks

Write short notes on a serial-in serial-out (SISO) shift register.

Serial-In Serial-Out (SISO) Shift Register

A shift register is a group of cascaded flip-flops used to store and move binary data. In a Serial-In Serial-Out (SISO) register, data is entered one bit at a time through a single serial input and is read out one bit at a time from a single serial output.

Construction: It consists of nn D flip-flops connected in cascade, all driven by a common clock. The serial data is applied to the DD input of the first flip-flop; the output QQ of each flip-flop feeds the DD input of the next stage.

Working: On each clock pulse, the stored bits shift by one position towards the output. To load an nn-bit word and read it back, nn clock pulses are needed to shift the data in and a further nn pulses to shift it out. For example, in a 4-bit register, the data byte 10111011 entered serially appears at the output after the appropriate number of clock pulses, one bit per clock.

Key points:

  • Requires nn clock pulses to load/unload nn bits (slowest data transfer mode).
  • Acts as a time-delay device, delaying data by nn clock periods.
  • Can shift left or right depending on the connection direction.
  • Applications: serial data transfer, temporary data storage, and time delay.
registers

Frequently asked questions

Where can I find the BSc CSIT (TU) Digital Logic (BSc CSIT, CSC116) question paper 2081?
The full BSc CSIT (TU) Digital Logic (BSc CSIT, CSC116) 2081 (regular) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
Does the Digital Logic (BSc CSIT, CSC116) 2081 paper come with solutions?
Yes. Every question on this Digital Logic (BSc CSIT, CSC116) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
How many marks is the BSc CSIT (TU) Digital Logic (BSc CSIT, CSC116) 2081 paper?
The BSc CSIT (TU) Digital Logic (BSc CSIT, CSC116) 2081 paper carries 60 full marks and is meant to be completed in 180 minutes, across 12 questions.
Is practising this Digital Logic (BSc CSIT, CSC116) past paper free?
Yes — reading and attempting this Digital Logic (BSc CSIT, CSC116) past paper on Kekkei is completely free.