## NPTEL Digital Circuits Week 5 Assignment Answers 2024

1. Which logic gate is commonly used in the design of equality detection in a binary comparator?

A) AND gate

B) OR gate

C) XNOR gate

D) NOT gate

Answer :-For Answers Click Here

2. Consider a 1-bit binary comparator with inputs A and B. The comparator has three outputs: A=B,

A>B, and AB?

A) A’B

B) AB’

C) A XOR B

D) AB

Answer :-For Answers Click Here

3. How many output lines does a 3-to-8 decoder have?

A) 3

B) 4

C) 8

D) 16

Answer :-For Answers Click Here

4.

Answer :-

5. How many 3-line-to-8 decoders are required to construct 4-line-to-16 decoders

A) 1

B) 2

C) 3

D) 4

Answer :-

6. Calculate GRAY code equivalent of the binary code B; B2 B1 Bo = 1 1 1 0?

A) G_{3} G_{2} G_{I} G_{0} = 1 0 0 1

B) G_{3} G_{2} G_{I }G_{0} = 1 0 1 0

C) G_{3} G_{2} G_{I} G_{0} = 1 0 0 0

D) G_{3} G_{2} G_{I} G_{0 }= 1 0 1 1

Answer :-For Answers Click Here

7. Calculate BINARY equivalent of the GRAY code G3 G2 Gi Go = 0 0 1 0?

A) В_{з} B_{2} B_{1} B_{0} = 1 1 1 0

B) В_{з} B_{2} B_{1} B_{0} = 1 1 0 0

C) В_{з} B_{2} B_{1} B_{0} = 0 0 1 1

D) B_{3} B_{2} B_{1} B_{0 }= 0010

Answer :-

8. What is the primary function of a decoder in digital circuits?

4) To store data

B) To encode data

C) To convert binary information from ‘n’ input lines to a maximum of 2^{n} unique outputs

D) To perform arithmetic operations

Answer :-

9. How does a priority encoder resolve conflicts when multiple inputs are active?

A) It sums all inputs together

B) It encodes the input with the lowest binary value

C) It encodes the input with the highest priority

D) It randomly selects an input to encode

Answer :-

10.

Answer :-For Answers Click Here

11.

Answer :-

12.

Answer :-For Answers Click Here

13.

Answer :-

14. What is the primary function of a multiplexer?

A) To encode data

B) To select one input from multiple inputs

C) To decode data

D) To store data

Answer :-

15. How many select lines are needed for an 8×1 multiplexer?

A) 2

B) 3

C) 4

D) 8

Answer :-For Answers Click Here