What is the primary difference between a process and a thread? MCQ with Answer and Explanation

What is the primary difference between a process and a thread?
A. An operating system contains multiple threads but only one master process.
B. Processes can run concurrently, whereas threads can only run sequentially.
C. A process is a program in execution with its own isolated address space, while a thread is a smaller execution unit within a process.
D. Threads have larger memory spaces than processes.
Answer: Option C
Solution (By JKExamLibrary)
Processes run inside distinct, isolated memory spaces managed by the OS, whereas threads represent execution pathways sharing the resources of their parent process.

This question belongs to: Computer Operating Systems

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1 Report Error
Which scheduling algorithm uses a fixed time slice called a 'quantum' to cycle through all ready processes in a circular fashion?
A. Round Robin (RR)
B. First-In, First-Out (FIFO)
C. Non-preemptive Priority
D. Shortest Remaining Time First (SRTF)

Correct Answer: Option A


Explanation:
Round Robin (RR) is a preemptive scheduling algorithm that assigns each process a small fixed time quantum sequentially in a cyclic loop.

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

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 Report Error
What is the role of the 'swap space' in Linux?
A. It is used for temporary file storage
B. It stores system logs
C. It caches frequently accessed files
D. It serves as virtual memory (paging space) on disk

Correct Answer: Option D


Explanation:
Swap space is a partition or file used as an extension of physical memory, allowing the system to page out inactive memory pages.

This question belongs to: Computer Operating Systems