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

What is the purpose of the Android 'LocationManager'?
A. To obtain the device's geographic location and handle location updates
B. To provide GPS coordinates only
C. To manage maps
D. To track user movement
Answer: Option A
Solution (By JKSSB Mock Tests)
LocationManager provides access to GPS, network, and fused location providers, and registers for location updates.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In Windows, the 'Command Prompt' (cmd) uses which text encoding by default?
A. ANSI
B. OEM code page (e.g., 850)
C. Unicode
D. UTF-8

Correct Answer: Option B


Explanation:
By default, Command Prompt uses the OEM code page (e.g., 850 or 437) for legacy compatibility; modern versions can use UTF-8 with /U switch.

This question belongs to: Computer Operating Systems
Question #2
What is the function of the Android 'WifiManager'?
A. To manage Wi-Fi connectivity, scan networks, and configure connections
B. To manage network preferences
C. To manage cellular data
D. To manage Bluetooth

Correct Answer: Option A


Explanation:
WifiManager provides APIs to enable/disable Wi-Fi, scan for networks, and connect to access points.

This question belongs to: Computer Operating Systems
Question #3
Which scheduling algorithm assigns the CPU to processes strictly in the exact order they arrive in the ready queue?
A. Shortest Job First (SJF)
B. First-Come, First-Served (FCFS)
C. Round Robin (RR)
D. Priority Scheduling

Correct Answer: Option B


Explanation:
First-Come, First-Served (FCFS) is a non-preemptive scheduling policy where the process that requests the CPU first receives it first.

This question belongs to: Computer Operating Systems