278
INTERFACING: KEYBOARDS
5. Bouncing of any mechanical contact type key may
last for a maximum of
(a) 40 microseconds (b) 4 milliseconds
(c) 1/4th of a second (d) none of these
6. For hardware debouncing, the key with pull-up
resistor should be attached with
(a) another resistor (b) a capacitor
(c) a diode (d) none of these
7. For software debouncing, it is to be ensured that
the key is
(a) released
(b) sensed for more than 40 milliseconds
(c) sensed twice
(d) none of these
8. The maximum number of keys may be interfaced
with seven Port pins would be
(a) 7 (b) 10
(c) 12 (d) none of these
9. To read any two-dimensional keyboard matrix,
the output pins should output
(a) one 0 and others 1
(b) one 1 and ...