Case-Based Critical Thinking Questions
?
Case 11-2
?
Matt has developed a game using JavaScript that involves clicking of different mouse buttons continuously for a minute.The game provides instructions on which mouse button must be clicked and the number of times a button must be clicked to play the game.
Which of the following mouse event object properties counts the number of times the player clicks the mouse button during the game?
A. evt.detail
B. evt.which
C. evt.relatedTarget
D. evt.button
Answer: A
Computer Science & Information Technology
You might also like to view...
An email message is typically organized into three areas.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Which of the following statements are true?
a. A Node can fire an ActionEvent. b. A Noden can fire a MouseEvent. c. A Node can fire a KeyEvent. d. A Scene can fire a MouseEvent.
Computer Science & Information Technology
Which of these functions might be included in a class called “Car?”
A. Oil Type B. HonkHorn C. Driver D. License
Computer Science & Information Technology
Which one of the following features enables you to share a file or folder with anyone who has a Vista account on your computer?
A) permission-based file sharing B) shared resource C) common device D) Public folder
Computer Science & Information Technology