Pokhara University
Bachelor of Engineering in Computer Engineering
Semester 1 · PU Fall 2023
Course Title: Digital Logic
Full Marks: 100Pass Marks: 45Time: 3hrs.
Candidates are required to give their answers in their own words as far as practicable.
- 1.15
py What are advantages and disadvantages of analog and digftal systems? Explain.
- b) Determine the value of base x if (50)x=(203)s .
- c) | What is weighted and non-weighted code? Why Gray code is called reflected code?
- 2.15
ay, Simplify the given function using K-Map. Also realize the simplified logic circuit using NAND gate only. F (A, B, C, D) = En(0, 2, 6, 8,10) + d = Em(11, 12, 13, 14, 15) .b)-Construct a full subtractor circuit using two half subtractors. Also verify your answer.
- 3.15
- a) Design a combinational circuit that converts 4-bit Excess-3 code into Gray code.
OR
Design a combinational circuit {hat converts a decimal digit from the 2421. code to BCD. bb State and prove De Morgans theorem. Construct F= AC + B’D only = using universal gates.
- 4.15
ay Design and implement BCD to decimal converter circuit using 3-8 linedecoder.
OR
Implement the following Boolean functions using 342 PLA. F1(A, B, C) = 2(3, 5, 6,7) F2(A, B, C) = £(0, 2, 4,7) bY For the Boolean function F(A, B, C) = At+B‘C:
- i) Obtain the truth table
- ii) Implement it using a MUX
- iii) : Implement it using a ROM
- 5.8
- a) Kealize the following state diagram into a sequential circuit using SR fliflop: Z ‘ 1 / ~ CO) 0 NS YW 0
- b) Define flip flop. Explain the working of JK: flip flop with its truth 7 - table and logic diagrath. Also explain how it eliminates the problem encountered in SR flip flop.
- 6.15
am Design 2-bit synchronous up counter by using JK Flipflop. bY Design a 4-bit arithmetic circuit which performs eight different arithmetic operations,
- 7.4
Write short notes on: (Any two) 2x5
- a) Priority Encoder
- b) Status Register ,
- c) Master-Slave flip-flop : beaten SLKLLLLILLELI |p)
— The End —