In Android, what is the purpose of the 'Content Provider'? MCQ with Answer and Explanation

In Android, what is the purpose of the 'Content Provider'?
A. To manage app preferences
B. To share data between applications
C. To display notifications
D. To handle network requests
Answer: Option B
Solution (By JKSSB Mock Tests)
Content Providers allow apps to share data (e.g., contacts, media) with other apps via a standard URI interface.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
What is the primary role of the Basic Input/Output System (BIOS) during the cold booting process?
A. To load the user's desktop environment and background services.
B. To run the POST (Power-On Self-Test) and initialize system hardware before handing control to the bootloader.
C. To permanently store user data and system files.
D. To compile application software into machine language.

Correct Answer: Option B


Explanation:
The BIOS performs the Power-On Self-Test (POST) to ensure all hardware components are functioning and then locates the bootloader to start the OS.

This question belongs to: Computer Operating Systems
Question #2
Which of the following is a scheduling algorithm that allows a process to run until it blocks or is preempted by a higher priority process?
A. Preemptive priority scheduling
B. Non-preemptive priority scheduling
C. Round Robin
D. Multilevel feedback queue

Correct Answer: Option B


Explanation:
Non-preemptive priority scheduling allows a process to keep the CPU until it finishes or voluntarily yields, unless a higher priority process arrives (which would preempt in preemptive scheduling).

This question belongs to: Computer Operating Systems
Question #3
Which Linux command is used to display the system's network interfaces and their IP addresses?
A. ip addr
B. netstat
C. route
D. ifconfig

Correct Answer: Option D


Explanation:
ifconfig is older but still common; ip addr from iproute2 is the modern equivalent. Both display interface config.

This question belongs to: Computer Operating Systems