What is the purpose of the Android 'Sensor Manager'? MCQ with Answer and Explanation

What is the purpose of the Android 'Sensor Manager'?
A. To provide access to device sensors (accelerometer, gyroscope, etc.)
B. To manage battery status
C. To control camera
D. To handle location services
Answer: Option A
Solution (By JKSSB Mock Tests)
Sensor Manager allows apps to read sensor data and register listeners for changes in sensor readings.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which file allocation method stores blocks of a file in an ordered sequence linked together via pointers, eliminating external fragmentation but making random access slow?
A. Indexed Allocation
B. Contiguous Allocation
C. Direct Directory Mapping
D. Linked Allocation

Correct Answer: Option D


Explanation:
Linked allocation chains blocks together using pointers, allowing dynamic size expansions but requiring linear scanning to read a specific internal offset.

This question belongs to: Computer Operating Systems
Question #2
In operating systems, what is the role of a 'Device Driver' layer?
A. To compile source scripts into native application binaries.
B. To balance network load across connected servers.
C. To encapsulate hardware-specific mechanics and expose a uniform interface to the OS kernel.
D. To clean out dusting build-ups on internal motherboard components.

Correct Answer: Option C


Explanation:
Device drivers act as direct translation bridges that map generalized operating system resource calls to precise hardware commands.

This question belongs to: Computer Operating Systems
Question #3
Which system file contains local static mappings of domain names to IP addresses, checked before querying external DNS servers in Windows and Linux?
A. services config
B. hosts file
C. resolv.conf
D. networks list

Correct Answer: Option B


Explanation:
The 'hosts' file is a standard operating system text file that maps hostnames directly to network IP addresses, bypassing external DNS lookups.

This question belongs to: Computer Operating Systems