Decoder Encoder Design Advanced Viva
Decoder Encoder Design Advanced Viva
C. Advanced Questions
• 13. What is the main advantage of using a priority encoder?
A: It resolves conflicts when more than one input is active.
• 14. Can a decoder be used to implement a demultiplexer?
A: Yes, a decoder with enable can function as a demux.
• 15. How can you design a 3-to-8 decoder using 2-to-4 decoders?
A: By connecting one 2-to-4 decoder to enable lines of others.
• 16. What are the real-world uses of encoders?
A: Keyboards, remote controls, data compression circuits.
• 17. How many logic gates are needed to implement a 3-to-8 decoder?
A: 3 NOT gates and 8 three-input AND gates.
• 18. How do you test a decoder circuit in the lab?
A: Apply all binary combinations and verify one output line goes high each time.
• 19. How does noise affect decoder and encoder circuits?
A: It can cause wrong output lines to activate, leading to logic errors.
• 20. Describe the timing issues in cascaded decoder/encoder circuits.
A: Propagation delays can accumulate, affecting synchronization.