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

What is the main difference between a process and a thread?
A. Processes are scheduled, threads are not
B. Threads are independent, while processes are not
C. There is no difference
D. A process has its own memory space, while threads share memory within a process
Answer: Option D
Solution (By JKSSB Mock Tests)
Processes are independent with separate memory; threads are lighter, sharing the same memory space and resources of the parent process.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In Linux, the 'export' command is used to:
A. All of the above
B. Display environment variables
C. Make a variable global
D. Set environment variables that are passed to child processes

Correct Answer: Option A


Explanation:
export makes shell variables available to subprocesses; without options, it lists exported variables.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the 'System Restore' creates restore points that include:
A. Only device drivers
B. All user data files
C. System files, registry, and installed applications
D. Only the registry

Correct Answer: Option C


Explanation:
Restore points snapshot system files, registry, and some application settings, not personal documents.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a non-preemptive CPU scheduling algorithm?
A. Round Robin
B. First-Come, First-Served (FCFS)
C. Preemptive Priority
D. Shortest Remaining Time First

Correct Answer: Option B


Explanation:
First-Come, First-Served is strictly non-preemptive; once a process obtains CPU execution rights, it keeps the processor until it terminates or blocks for input/output.

This question belongs to: Computer Operating Systems