Академический Документы
Профессиональный Документы
Культура Документы
UW
Course Code:CS-121
End Semester Examination (Fall-2020)
Registration number:__________________
Course Title: Digital Logic and Design Discipline/Semester: BSCS 2nd A
Total Marks: 60 Time Allowed: 15mins each student
Q27: Suppose we have 8*1 MUX how many selection lines this will have?
3 selection lines.depends on power of 2
Q19: What will be the output of following if we neither have NOR gate.
00
01
10
11
Q24: Suppose we have 1*4 DEMUX how many selection lines this mux will have?
Q25: Suppose we have 6 bit input decoder? How many outputs this will have?
Q26: How many possibilities of output if we have 4 bit magnitude comparator? Name
them?
Q28: Using switch analogy scheme, series circuit forms which gate?
Q29: How can we write m14 in form of min term for input values abcd?
Q32: How parity generator circuit can be called as combinational logic circuit?
Q34: Given any 5bit binary number to be converted into Grey code? 11101
Q35: Given any 5bit binary number to be converted into Grey code? 10011
Q36: Given any number to find the 10’s compliment of number, 9832?
Q37: Given any number to find the 7’s compliment of number, 6553 ?
Q38: Given any question to find the 8’s compliment of number, 7644?
Q41: x.x=?
Q42: x.1=?
Q43: x.x=?
Q44: x.0=?
Q46: (xy)’= ?
Q48: AEXOR 1= ?
Q2: Comparison between advantages and disadvantages of 1’s and 2’s compliment?
Which one is better?
Q4: How can we write M1 in form of max terms? (ODD terms for A section)(possible
five questions)
Q12: Using switch analogy scheme, series circuit forms which gate?
Q21: Incase of Check board configuration what kind of equation is formed in output?
Q22,23,24: Considering the circuit given below write the output for following values?
Q25: Combine two half adders and draw the circuit diagram of Full Adder
Q27: How can we design NOR GATE from and NAND gate?
Q31: What is the output of following design? And why only NAND gates are being used
in it?
Q37: Why do we use inverter with enable line in designing large decoder using small
one?
Q40: Considering above truth table represent above F2 in form of max terms?
Q41: F=A+BC
Express in form of min terms?
Q46: Find Subtraction of 342 and 614 using 7's complement method
Q47: Find Subtraction of 402 and 314 using 8's complement method
Q1: Given the Boolean function F=xy+x’y+y’z, Implement this with AND,OR and NOT
gate?
Q2: Given the Given the Boolean function F=xy+x’y+y’z, Implement this with OR and
NOT gate.
Q8: Given the truth table, express the below F1 in product of Max terms?
X y Z F1 F2
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
Q19: Suppose we have 4 Bits BCD inputs? Draw the table for Excess 3 for 4 bit binary
output?
Q22: Design a combinational circuit that accepts a three bit inputs and generates an
output binary Equal to the square of that number?
Q: just write a truthtable for above mentioned question
Solution:
Q23: Given a truthtable,simplify first 2 outputs?
X Y z A B C D E F
0 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 1
0 1 0 0 0 0 1 0 0
0 1 1 0 0 1 0 0 1
1 0 0 0 1 0 0 1 0
1 0 1 0 1 1 0 0 1
1 1 0 1 0 0 1 0 0
1 1 1 1 1 0 0 0 1
Q26: Design a combinational circuit with three bit input line whose output is 2’s
compliment of that number?
Q27: Suppose we have a magnitude comparator 4 bit, how can we compare two values
A and B if they A>B?
Q29: suppose we have 3 bit input decoder? How many outputs will be there and draw
its combinational logic circuit?
Q33: Design a combinational circuit with three inputs, x, y, and z, and three outputs, A,
B, and C. When the binary input is 0, 1, 2, or 3, the binary output is one greater than
the input. When the binary input is 4, 5, 6, or 7, the binary output is two less than the
input.
Q35: Draw the logic diagram of a 2-to-4-line decoder using (a) NOR gates only?
Q36: Simplify the following Boolean function F, together with the don’t-care conditions
d, and then express the simplified function in sum-of-products form and product-of-
sums
Q38: Suppose we have 3 bit input decoder? How many outputs will be there and draw
its combinational logic circuit?