0% found this document useful (0 votes)
27 views2 pages

Digital Logic Exam Paper 2023

The document outlines the End Semester Examination for the Bachelor of Computer Application course on Digital Logic, including details such as course code, full and pass marks, and exam duration. It consists of three groups of questions: multiple-choice questions, short answer questions, and long answer questions, covering various topics in digital logic. Candidates are instructed to provide answers in their own words and attempt a specified number of questions from each group.

Uploaded by

rupenparajuli0
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

Digital Logic Exam Paper 2023

The document outlines the End Semester Examination for the Bachelor of Computer Application course on Digital Logic, including details such as course code, full and pass marks, and exam duration. It consists of three groups of questions: multiple-choice questions, short answer questions, and long answer questions, covering various topics in digital logic. Candidates are instructed to provide answers in their own words and attempt a specified number of questions from each group.

Uploaded by

rupenparajuli0
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

RAJARSHI JANAK UNIVERSITY

OFFICE OF THE CENTRAL EXAMINATION


End Semester Examination – 2023

Bachelor of Computer Application


Course Title: Digital Logic Full Marks: 60
Course Code: HCAC-105 Pass Marks: 24
Year/Semester: First/ I Time: 3 hours

Symbol No. in figure _____________________

Symbol No. in word ____________________________________________


[Group A]
Attempt all the questions. [10 x 1 = 10]
Choose the correct answer of the following questions.
1. Which one of the following are also called ripple counters?
a) SSI counters b) Synchronous counters
c) Asynchronous counters d) VLSI counters.

2. How much storage capacity does each stage in a shift register represent?
a) One bit b) Two bits
c) Four bits d) Eight bits

3. If Q = 1, the output is said to be


a) Reset b) Set
c) Previous state d) current state

4. X-OR gates produce an output only when it’s inputs are


a) Different b)High
c) Low d)Same

5. How many clock pulses is required for n-bit SIPO


a) One bit b)Two bits
c) Four bits d)Eight bits

6. A digital circuit that can store only one bit is a


a) Register b) NOR gate
c) Flip-Flop d)XOR gate

7. How many Flip-Flop required to construct MOD-15 counter?


a) 2 b) 4 c) 3 d) 5

8. Which one of the following is hexadecimal equivalent of (5073.052)8?


a) A3C.150 b) B2B.140 c) A3B.150 d) B3A.150

9. Which one of the following is the equivalent reflected code of 1101?


a) 1001 b) 1011 c) 1000 d) 1010
10. K-map full adder is of ………. variables?
a) 2 b) 4 c) 3 d) 1
RAJARSHI JANAK UNIVERSITY
OFFICE OF THE CENTRAL EXAMINATION
End Semester Examination – 2023

Bachelor of Computer Application


Course Title: Digital Logic Full Marks: 60
Course Code: HCAC-105 Pass Marks: 24
Year/Semester: First/I Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable. The figures in the
margin indicate full marks.

[Group B]

Short Answer Questions (Attempt any Six): [6x5=30]


11. What is university logic gate? Realize NAND and NOR as an universal logic gates.
12. Subtract: 1010.110 – 101.101 using both 2's and 1's complement.
13. Simplify, the following Boolean function using three variables K-map.
a) F(X,Y,Z) = ∑(0,3,2,5)
b) F(A,B,C) = ∑(0,2,4,5,6)
14. Design full adder logic circuit using only universal gates.
15. How does a J-K flip flop differ from an S-R flip flop in its operation?
16. What is demultiplexer? Draw its block diagram and explain its working principle.
17. Write short notes on (any two):
a) Application of counter.
b) ROM and its types.
c) Programmable array logic.

[Group C]
Long Answer Questions (Attempt any Two): [2x10=20]
18. What is state diagram? A sequential circuit with two D flip-flops A and B, one input x and
one output z by the following next state and output equations:
A (t+1) = A'+B, B (t+1) = B 'x, z = A+B'
i) Draw the logic diagram of the circuit.
ii) Draw the state table.
iii) Draw the state diagram of the circuit.
19. Define PLA. Design a PLA circuit with given functions.
F1 (A, B, C) = Σ (3, 5, 6, 7)
F2 (A, B, C) = Σ (0, 2, 4, 7).
Design PLA program table also.
20. Write down the difference between asynchronous and synchronous counter. Design a 4-bit
binary ripple counter along with its circuit, state and timing diagram.

*****

Common questions

Powered by AI

J-K flip-flops differ from S-R flip-flops mainly in their handling of the indeterminate state. While S-R flip-flops behave unpredictably when both inputs are high, J-K flip-flops resolve this by toggling the output when both inputs are high, thus eliminating the ambiguous state. This feature makes J-K flip-flops more versatile and stable for use in sequential circuits where toggling the state with simultaneous activations is required .

A demultiplexer (demux) serves to take a single input and channel it into one of several output lines. Its block diagram typically includes one input line, several output lines, and control lines to select which output line the input should be routed to. The operation is essentially the reverse of a multiplexer, where the control lines determine the active path for the input signal, thus enabling the distribution of data onto multiple channels .

Karnaugh maps (K-maps) assist in simplifying Boolean functions by visually organizing truth values in a way that groups adjacent cells to form simplified expressions. In a three-variable system, the K-map contains eight cells, each representing a minterm of the variables. By grouping 1s in powers of two, redundant variables are eliminated, yielding simpler Boolean expressions that achieve the same logical result but with fewer gates in a circuit .

Designing a PLA for given functions involves first determining the required minterms from truth tables that result in high outputs for the specified functions. This information forms the PLA's programming table, defining the interconnections of AND and OR arrays that execute the functions. Each minterm mandates unique combinations of inputs fed through the AND gate arrays, which are subsequently summed by OR arrays to output the desired function values .

Designing a full adder solely with universal gates involves creatively assembling sets of NAND or NOR gates to replicate the functions of AND, OR, and XOR necessary for addition. Key considerations include maintaining correct propagation and timing to replicate the carry and sum outputs. The method involves using configurations like series-connected NAND gates to simulate AND, additional sets to mimic OR, and combined configurations to emulate XOR in place of direct Boolean expressions .

Asynchronous counters trigger each flip-flop with the output of the preceding one, leading to propagation delays as pulses ripple through the flip-flops. In contrast, synchronous counters use a common clock signal for all flip-flops, permitting instantaneous state changes. This intrinsic timing difference influences speed and reliability in multi-bit counting systems, making synchronous designs preferable for high-frequency applications due to reduced cumulative delay. Designing a 4-bit binary ripple counter further highlights these distinctions through circuit complexity and timing diagram clarity .

To convert from octal to hexadecimal, the octal number must first be converted to a common base, typically base-2 (binary), and then regrouped into sets of four bits to map directly to hexadecimal. Challenges arise due to lengthy binary intermediates or fractional components, as in 5073.052, which require precise partitioning into sub-groups to accurately preserve value integrity across bases. Missteps in regrouping or truncating fractions may lead to numerical inaccuracies .

A state diagram is a graphical representation outlining all possible states of a system and the transitions between those states due to input events. For sequential circuits utilizing D flip-flops, a state diagram provides a clear visualization of state transitions depending on input commands, assisting in predicting circuit behavior and debugging with a direct mapping from input sequences to state outcomes. It illustrates inputs, outputs, and transitions in a structured flow, enhancing comprehension for both designers and analysts .

In the 1's complement method, the number 101.101 is complemented to 010.010 and added to 1010.110, resulting in a binary sum with a carry that must be added to the least significant bit for the final result. The 2's complement method involves complementing 101.101 to 010.011 and adding it directly to the minuend 1010.110, allowing for straightforward binary subtraction without requiring additional carry handling .

NAND and NOR gates are considered universal gates because they can be used to implement any boolean function without needing any other type of gate. Specifically, any logical operation such as AND, OR, and NOT can be constructed using either only NAND gates or only NOR gates. This universality comes from their ability to complete logic operations solely by varying input configurations and connections. For instance, connecting the two inputs of a NAND gate directly to achieve the NOT operation is one of many ways they perform logical operations .

You might also like