1. Design a 10-to-4 encoder with inputs in the l-out-of-10 code and outputs in a code like normal BCD except that input lines 8 and 9 are encoded into "E" and " F", respectively.
2. Draw the logic diagram for a 16-to-4 encoder using just four 8-input NANO gates. What are the active levels of the inputs and outputs in your design?