1. : What is the primary function of an encoder in digital circuits?
(A) Combine multiple signals into one
(B) Split a signal into multiple outputs
(C) Perform arithmetic operations
(D) Convert multiple inputs into a coded output
2. : What is the primary function of a decoder in digital circuits?
(A) Combine multiple signals into one
(B) Split a signal into multiple outputs
(C) Perform arithmetic operations
(D) Convert a coded input into multiple outputs
3. : Which of the following is NOT a characteristic of encoders?
(A) They have multiple inputs and one output.
(B) They perform a binary-to-decimal conversion.
(C) They convert parallel data to serial data.
(D) They reduce the number of bits in a data stream.
4. : Which of the following is NOT a characteristic of decoders?
(A) They have one input and multiple outputs.
(B) They perform a decimal-to-binary conversion.
(C) They convert serial data to parallel data.
(D) They increase the number of bits in a data stream.
5. : Which gate is commonly used internally in encoders?
(A) XOR gate
(B) AND gate
(C) OR gate
(D) NAND gate
6. : Which gate is commonly used internally in decoders?
(A) XOR gate
(B) AND gate
(C) OR gate
(D) NAND gate
7. : What is the minimum number of input lines required for a 4-to-2 encoder?
(A) 1
(B) 2
(C) 3
(D) 4
8. : What is the minimum number of output lines required for a 2-to-4 decoder?
(A) 1
(B) 2
(C) 3
(D) 4
9. : Which of the following is a characteristic of priority encoders?
(A) They encode multiple inputs into a binary output based on priority.
(B) They perform parallel-to-serial conversion.
(C) They convert serial data to parallel data.
(D) They increase the number of bits in a data stream.
10. : Which of the following is a characteristic of binary decoders?
(A) They encode multiple inputs into a binary output.
(B) They perform parallel-to-serial conversion.
(C) They convert serial data to parallel data.
(D) They increase the number of bits in a data stream.
11. : In a 3-to-8 decoder, how many select lines are there?
(A) 1
(B) 2
(C) 3
(D) 8
12. : In a priority encoder with 4 input lines, what is the maximum number of encoded outputs?
(A) 2
(B) 3
(C) 4
(D) 5
13. : Which gate is used for selecting the input lines in an encoder?
(A) XOR gate
(B) AND gate
(C) OR gate
(D) NAND gate
14. : Which gate is used for selecting the output lines in a decoder?
(A) XOR gate
(B) AND gate
(C) OR gate
(D) NAND gate
15. : What is the output of a 2-to-4 encoder if both input lines are LOW (0)?
(A) Output 0
(B) Output 1
(C) Output 2
(D) Output 3
