What is the main benefit of using threads over processes for multitasking? MCQ with Answer and Explanation

What is the main benefit of using threads over processes for multitasking?
A. Threads share memory space, reducing context-switching overhead and communication costs
B. Threads are more secure
C. Threads are easier to implement
D. Threads can run on multiple cores simultaneously
Answer: Option A
Solution (By JKSSB Mock Tests)
Threads within the same process share memory and resources, making context switching and inter-thread communication faster and less resource-intensive.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In Windows, the 'System Information' tool (msinfo32) displays:
A. Event logs
B. Performance metrics
C. Hardware resources, components, and software environment
D. Startup programs

Correct Answer: Option C


Explanation:
msinfo32 provides a comprehensive summary of system hardware, drivers, and software settings.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the Registry is divided into which main hives?
A. HKEY_CONFIG, HKEY_DRIVERS, HKEY_SERVICES
B. HKEY_LOCAL, HKEY_REMOTE, HKEY_DEFAULT
C. HKEY_ROOT, HKEY_USER, HKEY_SYSTEM, HKEY_SOFTWARE
D. HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, HKEY_USERS, HKEY_CURRENT_CONFIG

Correct Answer: Option D


Explanation:
The five root keys (hives) are HKLM, HKCU, HKCR, HKU, and HKCC.

This question belongs to: Computer Operating Systems
Question #3
Which file allocation table structure uses an index block to store pointers to all distinct file data sectors, allowing efficient random access without fragmentation bottlenecks?
A. Indexed Allocation
B. Linked Method
C. Contiguous Method
D. Linear Block Mapping

Correct Answer: Option A


Explanation:
Indexed allocation consolidates all block pointers into a single dedicated index block, enabling direct access to any block without linear scanning.

This question belongs to: Computer Operating Systems