Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is being pressed?
A. masking of bits
B. ensuring that initially all keys are open
C. checking that whether the key is actually pressed or not
D. all of the mentioned
Answer:A
Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is being pressed?
A. masking of bits B. ensuring that initially all keys are open C. checking that whether the key is actually pressed or not D. all of the mentioned
Explanation: For detecting that whether the key is actually pressed or not, firstly this must be ensured that initially all the keys are closed. Then we need to mask the bits individually to detect that which key is pressed. Then we need to check that is the key actually pressed or not, by checking that whether the key pressed for a time more that 20 micro seconds.