What is the purpose of a 'Swap Partition' or 'Swap File' in operating systems like Linux and Windows? MCQ with Answer and Explanation

What is the purpose of a 'Swap Partition' or 'Swap File' in operating systems like Linux and Windows?
A. To back up personal files in case of accidental file deletion.
B. To hold graphical system themes.
C. To act as dedicated overflow storage on a hard disk when physical RAM memory capacity becomes completely full.
D. To speed up network data packet transfers.
Answer: Option C
Solution (By JKSSB Mock Tests)
Swap space provides extended virtual memory capacity on secondary storage to prevent system crashes when physical RAM is exhausted.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
What is the name of the main repository of configuration settings, system preferences, and user options in Microsoft Windows?
A. Windows Registry
B. Control Panel
C. Task Manager
D. System INI files

Correct Answer: Option A


Explanation:
The Windows Registry is a centralized, hierarchical database used by Microsoft Windows to store low-level settings for the OS and applications.

This question belongs to: Computer Operating Systems
Question #2
Which of the following is a scheduling algorithm that allows a process to run until it blocks or is preempted by a higher priority process?
A. Preemptive priority scheduling
B. Multilevel feedback queue
C. Round Robin
D. Non-preemptive priority scheduling

Correct Answer: Option D


Explanation:
Non-preemptive priority scheduling allows a process to keep the CPU until it finishes or voluntarily yields, unless a higher priority process arrives (which would preempt in preemptive scheduling).

This question belongs to: Computer Operating Systems
Question #3
What type of program is 'systemd' in modern Linux operating systems?
A. An initialization system and service manager that bootstraps user space and manages system daemons.
B. An open-source web browser package.
C. A high-performance text editor library.
D. The primary sound card device driver.

Correct Answer: Option A


Explanation:
systemd is the modern standard init framework and system manager used in Linux to bootstrap user components and control services.

This question belongs to: Computer Operating Systems