Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following steps detects the key ... Start Learning for Free
 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
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
Which of the following steps detects the key in a 4*4 keyboard matrix ...
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.
View all questions of this test
Most Upvoted Answer
Which of the following steps detects the key in a 4*4 keyboard matrix ...
Detection of Key in a 4*4 Keyboard Matrix

Masking of Bits
- Masking is a technique used to isolate certain bits from a sequence of bits.
- In the case of a 4*4 keyboard matrix, masking is used to select a particular row or column of keys.
- The bits corresponding to the selected row or column are set to 0, while the bits corresponding to the other rows or columns are set to 1.

Ensuring that Initially All Keys are Open
- Before detecting the key that is being pressed, it is important to ensure that all keys are initially open.
- This is done by setting all the row and column pins to high (i.e., logic level 1).
- By doing this, no key will be selected and no current will flow through any key.

Checking whether the Key is Actually Pressed or Not
- Once all keys are open, the microcontroller starts scanning the rows and columns to detect the key that is being pressed.
- The microcontroller scans the rows and columns one by one, starting from the first row and first column.
- For each row and column combination, the microcontroller checks whether a key is pressed or not.
- This is done by checking the logic level of the corresponding pin.
- If the pin is low (i.e., logic level 0), it means that a key is pressed at that particular row and column combination.

All of the Mentioned
- The process of detecting the key in a 4*4 keyboard matrix involves all the above-mentioned steps.
- Masking of bits is used to select a particular row or column.
- Ensuring that initially all keys are open is important to avoid any false detection.
- Checking whether the key is actually pressed or not is the main step in detecting the key.
- Therefore, option 'D' is the correct answer.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

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'. Can you explain this answer?
Question Description
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'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about 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'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below 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'. Can you explain this answer?.
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'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of 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'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of 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'. Can you explain this answer?, a detailed solution 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'. Can you explain this answer? has been provided alongside types of 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'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice 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'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev