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

What is the purpose of the Android 'SensorEvent' class?
A. To hold data from sensor readings (values, accuracy, timestamp)
B. To manage sensors
C. To calibrate sensors
D. To register listeners
Answer: Option A
Solution (By JKSSB Mock Tests)
SensorEvent is used in sensor callbacks to provide the sensor data values and metadata.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which of the following is an example of an open-source operating system?
A. Apple macOS
B. Linux
C. MS-DOS
D. Microsoft Windows 11

Correct Answer: Option B


Explanation:
Linux is developed under an open-source license, allowing anyone to view, modify, and redistribute its underlying source code freely.

This question belongs to: Computer Operating Systems
Question #2
What type of process scheduling algorithm moves tasks between multiple queues based on their execution history and remaining runtime characteristics?
A. Round Robin Loop
B. First-Come, First-Served
C. Static Priority Array
D. Multilevel Feedback Queue

Correct Answer: Option D


Explanation:
Multilevel Feedback Queues allow tasks to move between queues dynamically based on their CPU usage history, optimizing system response times.

This question belongs to: Computer Operating Systems
Question #3
In Windows, the 'System Properties' can be accessed by running:
A. systeminfo
B. msinfo32
C. control system
D. sysdm.cpl

Correct Answer: Option D


Explanation:
sysdm.cpl opens the System Properties dialog for computer name, hardware, and performance settings.

This question belongs to: Computer Operating Systems