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.
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?
Explanation:
Indexed allocation consolidates all block pointers into a single dedicated index block, enabling direct access to any block without linear scanning.
No comments yet. Be the first to start the discussion!