What is the purpose of the Android 'GestureDetector' class? MCQ with Answer and Explanation

What is the purpose of the Android 'GestureDetector' class?
A. To detect common gestures like tap, scroll, fling, and long press
B. To provide haptic feedback
C. To manage touch events
D. To handle motion events
Answer: Option A
Solution (By JKSSB Mock Tests)
GestureDetector simplifies detection of gestures from touch events, allowing easy implementation of gesture interactions.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which Linux command is used to display the system's hostname and IP address?
A. ifconfig
B. All of the above
C. hostname -I
D. ip addr

Correct Answer: Option B


Explanation:
hostname -I shows IP addresses; ifconfig and ip addr display network interfaces with IPs.

This question belongs to: Computer Operating Systems
Question #2
What is the purpose of the Linux 'nano' command?
A. To manage network interfaces
B. To set environment variables
C. To view system processes
D. A simple text editor

Correct Answer: Option D


Explanation:
nano is a user-friendly text editor for the command line, often pre-installed on many Linux distributions.

This question belongs to: Computer Operating Systems
Question #3
In Windows, the 'Regedit' tool allows users to:
A. Edit system environment variables
B. Configure system services
C. Manage disk partitions
D. Edit the Windows Registry

Correct Answer: Option D


Explanation:
Regedit is the Registry Editor for viewing and modifying the hierarchical database of system and application settings.

This question belongs to: Computer Operating Systems