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. A process is a program in execution with its own isolated address space, while a thread is a smaller execution unit within a process.
B. Processes can run concurrently, whereas threads can only run sequentially.
C. Threads have larger memory spaces than processes.
D. An operating system contains multiple threads but only one master process.
Answer: Option A
Solution (By JKSSB Mock Tests)
Processes run inside distinct, isolated memory spaces managed by the OS, whereas threads represent execution pathways sharing the resources of their 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, what does the 'sudo' command do?
A. Switches the user to root
B. Changes the user's password
C. Shuts down the system
D. Allows a user to execute commands with superuser privileges

Correct Answer: Option D


Explanation:
sudo (superuser do) permits authorized users to run commands as the superuser or another user.

This question belongs to: Computer Operating Systems
Question #2
What is the default file system used by Windows 10 and 11?
A. FAT32
B. ext4
C. NTFS
D. exFAT

Correct Answer: Option C


Explanation:
Windows uses NTFS (New Technology File System) as its default file system for internal drives, supporting security, compression, and large files.

This question belongs to: Computer Operating Systems
Question #3
Which partition type is required to boot an operating system from a GPT formatted drive under UEFI firmware standards?
A. Extended Logical Partition
B. EFI System Partition (ESP)
C. NTFS Primary Boot Sector
D. Swap Partition

Correct Answer: Option B


Explanation:
The EFI System Partition (ESP) formatted with a FAT file system contains the bootloaders, drivers, and configuration files required by UEFI firmware.

This question belongs to: Computer Operating Systems