What is the primary purpose of virtual memory? MCQ with Answer and Explanation

What is the primary purpose of virtual memory?
A. To increase CPU speed
B. To extend physical memory using disk storage
C. To reduce power consumption
D. To provide a permanent storage for files
Answer: Option B
Solution (By JKSSB Mock Tests)
Virtual memory uses a portion of the hard disk as an extension of RAM, allowing processes to use more memory than physically available.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In Linux, the 'lsblk' command is used to:
A. Display disk usage
B. List mounted file systems
C. List block devices (like disks and partitions) in a tree format
D. Show disk partitions only

Correct Answer: Option C


Explanation:
lsblk shows all block devices, their sizes, and mount points in a hierarchical view.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the 'PowerShell' command to get the current date is:
A. time
B. All of the above
C. date
D. Get-Date

Correct Answer: Option B


Explanation:
Get-Date is PowerShell cmdlet; date and time are legacy commands; all display date/time.

This question belongs to: Computer Operating Systems
Question #3
Which Linux terminal command is used to display the lines of a file that match a specified keyword or regular expression?
A. echo
B. grep
C. find
D. cat

Correct Answer: Option B


Explanation:
The 'grep' command stands for global regular expression print, designed to quickly filter out specific data strings from files or text feeds.

This question belongs to: Computer Operating Systems