INTRODUCTION TO MICROPEOCESSOR
MODEL OF MICROPROCESSOR
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
masking of bits
|
|
ensuring that initially, all keys are open
|
|
checking that whether the key is actually pressed or not
|
|
all of the mentioned
|
Detailed explanation-1: -Solutions for Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is being pressed? a)masking of bitsb)ensuring that initially all keys are openc)checking that whether the key is actually pressed or notd)all of the mentionedCorrect answer is option āDā.
Detailed explanation-2: -Explanation: The key detection and the key identification are the two different procedures, one is used to detect that whether any key is pressed or not and the other technique is used to find that the pressed key is located in which row and column.
Detailed explanation-3: -3. To detect that in which column, the key is placed? Explanation: We can mask or we can even rotate the bits to check that particularly in which column is the key placed.
Detailed explanation-4: -If we need to operate a key of a keyboard in an interrupt mode, then it will generate what kind of interrupt? Clarification: If a key is to operate in an interrupt mode then it will generate an external hardware interrupt. Clarification: To detect that which key is being pressed, we need to ground the pins one by one.