In Android, what is the purpose of a 'Service' component? MCQ with Answer and Explanation

In Android, what is the purpose of a 'Service' component?
A. To perform long-running background operations without a user interface
B. To broadcast messages
C. To display a user interface
D. To store shared data
Answer: Option A
Solution (By JKSSB Mock Tests)
Services run in the background to handle tasks like music playback or network operations, even when the app is not visible.

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 current user's identity?
A. who
B. id
C. users
D. whoami

Correct Answer: Option D


Explanation:
whoami prints the effective username; id shows user and group IDs.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the command 'diskpart' is used for:
A. Disk cleanup
B. Disk defragmentation
C. Disk formatting
D. Disk partition management

Correct Answer: Option D


Explanation:
diskpart is a command-line utility for managing disk partitions, volumes, and dynamic disks.

This question belongs to: Computer Operating Systems
Question #3
In a symmetric multiprocessing (SMP) system, how are the processing responsibilities shared among available CPUs?
A. One primary CPU controls all other slave CPUs and handles all hardware input/output exclusively.
B. All processors share the same physical memory space and run tasks simultaneously under equal peer status.
C. Only one processor can be active at any given minute while others stay idle.
D. Processors are restricted to executing only application software, never OS tasks.

Correct Answer: Option B


Explanation:
In Symmetric Multiprocessing (SMP), multiple peer processors share a common main memory and execute threads concurrently under equal standing.

This question belongs to: Computer Operating Systems