Case-Based Critical Thinking Questions
?
Case 11-3
?
Robin has developed a typing tutorial using JavaScript that contains instructions and interactive activities and games. A user is required to press certain keys. The instructions appear on the screen when the user is using the tutorial.
The user is instructed to press the Windows key on the PC keyboard every five seconds to complete a game. Which of the following keyboard event properties identifies if the key has been pressed or not?

A. evt.ctrlKkey
B. evt.metaKey
C. evt.detail
D. evt.which

Answer: B

Computer Science & Information Technology

You might also like to view...

A standardized test that measures computer performance is called:

A) defrag B) driver C) benchmark D) task scheduler

Computer Science & Information Technology

Give an example of a class that implements the Comparable interface, and explain how the implementation of the compareTo method determines its return value.

What will be an ideal response?

Computer Science & Information Technology