BSc CSIT (TU) Science Digital Logic (BSc CSIT, CSC116) Question Paper 2081 Nepal
This is the official BSc CSIT (TU) (Science stream) Digital Logic (BSc CSIT, CSC116) question paper for 2081, as set in the regular annual examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this Digital Logic (BSc CSIT, CSC116) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) Digital Logic (BSc CSIT, CSC116) exam or solving previous years' question papers, this 2081 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
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 input data lines and routes it to a single output line, controlled by 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 (), 2 select lines () and 1 output .
Selection table:
| Output | ||
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Boolean expression:
Logic diagram (described): Four 3-input AND gates, each fed by one data input and the appropriate combination of (true/complemented via inverters). The four AND-gate outputs feed a single 4-input OR gate whose output is .
Implementing with an 8-to-1 MUX
An 8-to-1 MUX has 8 data inputs and 3 select lines. Connect the three variables directly to the select lines:
The MUX passes input whenever the minterm is selected, so set each data line to 1 if its minterm is present in , else 0:
| Minterm () | In ? | Data line |
|---|---|---|
| 0 (000) | No | 0 |
| 1 (001) | Yes | 1 |
| 2 (010) | Yes | 1 |
| 3 (011) | No | 0 |
| 4 (100) | No | 0 |
| 5 (101) | No | 0 |
| 6 (110) | Yes | 1 |
| 7 (111) | Yes | 1 |
Connections: (connect to logic HIGH) and (connect to logic LOW). The output of the MUX then equals .
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 ) connected in cascade. All flip-flops are held in toggle mode.
Construction (negative-edge triggered, up counter):
- External clock clock of FF0 (output , LSB).
- clock of FF1 (output ).
- clock of FF2 (output ).
- clock of FF3 (output , 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 falls (10), i.e. every 2 pulses. Similarly toggles every 4 pulses and every 8. The outputs thus count in binary from to (0 to 15) and then roll over.
Count sequence:
| Clock | Decimal | ||||
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 1 |
| 2 | 0 | 0 | 1 | 0 | 2 |
| 3 | 0 | 0 | 1 | 1 | 3 |
| 4 | 0 | 1 | 0 | 0 | 4 |
| ... | ... | ||||
| 15 | 1 | 1 | 1 | 1 | 15 |
Timing diagram (described): Draw four waveforms aligned to the clock. is a square wave at half the clock frequency, at one-quarter, at one-eighth, and 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 , which limits the maximum counting speed compared to a synchronous counter.
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 -bit binary input into one of unique output lines. A 3-to-8 decoder has 3 inputs () and 8 outputs (). 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):
Truth table:
| Active output | |||
|---|---|---|---|
| 0 | 0 | 0 | |
| 0 | 0 | 1 | |
| 0 | 1 | 0 | |
| 0 | 1 | 1 | |
| 1 | 0 | 0 | |
| 1 | 0 | 1 | |
| 1 | 1 | 0 | |
| 1 | 1 | 1 |
Logic diagram (described): Three input lines 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 equal to its minterm.
Implementing a Full Adder using the 3-to-8 Decoder
For a full adder with inputs :
Apply to the decoder select inputs (as ). Each decoder output equals minterm . OR together the minterm outputs belonging to each function:
So connect to a 4-input OR gate to obtain Sum, and 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.
Section B: Short Answer Questions
Attempt any EIGHT questions.
Convert (1011.011)2 into decimal and hexadecimal.
Convert to Decimal and Hexadecimal
To Decimal: weight each bit by its positional power of 2.
Integer part:
Fractional part:
To Hexadecimal: group the bits into fours from the binary point, padding with zeros.
Integer part:
Fractional part: (pad right)
Final answers: .
State and prove the absorption law of Boolean algebra.
Absorption Law of Boolean Algebra
Statement: The absorption law has two dual forms:
A variable 'absorbs' the term that contains it together with another variable.
Proof of (i):
Proof of (ii):
Hence both forms of the absorption law are proved.
Simplify the expression F(A,B,C) = Sum(0,2,4,5,6) using a K-map.
Simplify using a K-map
Three-variable K-map (rows = ; columns = in Gray order 00, 01, 11, 10):
| 00 | 01 | 11 | 10 | |
|---|---|---|---|---|
| 0 | 1 (m0) | 0 (m1) | 0 (m3) | 1 (m2) |
| 1 | 1 (m4) | 1 (m5) | 0 (m7) | 1 (m6) |
Grouping:
- Group 1 (quad): minterms 0, 2, 4, 6 — the two outer columns ( and ). Here in all four cells, so this group simplifies to .
- Group 2 (pair): minterms 4, 5 — bottom row, columns and . Here , so this group gives .
Simplified expression:
This is the minimal Sum-of-Products form (two product terms).
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 (, ) and a carry-in () from the previous stage — and produces two outputs: the Sum () and the Carry-out ().
Truth table:
| Sum | Carry | |||
|---|---|---|---|---|
| 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 |
Boolean expressions (simplified):
Working / circuit (described): A full adder is built from two half adders and an OR gate. The first half adder adds and giving a partial sum and a carry . The second half adder adds this partial sum to , giving the final and a second carry . The two carries are OR-ed to give . The sum is HIGH when an odd number of inputs are 1, and the carry is HIGH when two or more inputs are 1.
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 .
1. NOT gate — tie both inputs of a NOR gate together (or tie one input to 0):
So a NOR gate with both inputs produces .
2. OR gate — OR is the complement of NOR, so feed the NOR output into a NOR-inverter:
Use one NOR gate to get , then a second NOR (as inverter) to get . (2 NOR gates)
3. AND gate — using De Morgan's theorem :
- Invert with a NOR-inverter
- Invert with a NOR-inverter
- Feed and into a NOR gate:
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.
Differentiate between combinational and sequential logic circuits.
Combinational vs. Sequential Logic Circuits
| Basis | Combinational Circuit | Sequential Circuit |
|---|---|---|
| Output depends on | Only the present inputs | Present inputs and past (stored) state |
| Memory element | No memory; no feedback | Has memory (flip-flops/latches) with feedback |
| Clock | Generally not required | Usually requires a clock (synchronous type) |
| Feedback path | Absent | Present (output fed back to input) |
| Behaviour | Output is a direct function of inputs | Output changes with state and time |
| Examples | Adders, multiplexers, decoders, encoders | Flip-flops, counters, shift registers |
| Design analysis | Boolean equations / truth tables | State 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.
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 and a clock input. On the active clock edge it transfers the value at to the output ; otherwise 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 to (or ) and to (or ) through an inverter, so and can never both be 1.
Characteristic / truth table:
| Clock | ||
|---|---|---|
| 0 | 0 | |
| 1 | 1 | |
| X | no edge | (no change) |
Characteristic equation:
Working: When the clock edge arrives, if the flip-flop resets (); if it sets (). Between clock edges the output is latched and unaffected by changes on . 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.
Design a synchronous mod-4 up counter.
Synchronous Mod-4 Up Counter
A mod-4 counter counts through 4 states (), requiring 2 flip-flops (). In a synchronous counter all flip-flops share the same clock, so they change state simultaneously. We use two JK flip-flops ( = MSB, = LSB).
State / count sequence:
| Present | Next |
|---|---|
| 00 | 01 |
| 01 | 10 |
| 10 | 11 |
| 11 | 00 |
Flip-flop inputs (from JK excitation):
- must toggle on every clock pulse .
- must toggle only when .
Design equations:
Circuit (described): Both flip-flops are clocked by the common clock. FF0's are tied to logic 1 (so toggles every pulse). FF0's output is connected to both and of FF1, so toggles only when . The outputs then count , giving a synchronous mod-4 up counter.
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 D flip-flops connected in cascade, all driven by a common clock. The serial data is applied to the input of the first flip-flop; the output of each flip-flop feeds the input of the next stage.
Working: On each clock pulse, the stored bits shift by one position towards the output. To load an -bit word and read it back, clock pulses are needed to shift the data in and a further pulses to shift it out. For example, in a 4-bit register, the data byte entered serially appears at the output after the appropriate number of clock pulses, one bit per clock.
Key points:
- Requires clock pulses to load/unload bits (slowest data transfer mode).
- Acts as a time-delay device, delaying data by clock periods.
- Can shift left or right depending on the connection direction.
- Applications: serial data transfer, temporary data storage, and time delay.
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.