Operating Systems MCQs | STS IBA FPSC BPSC SPSC PPSC Mcqs Test Preparation
Enhance your understanding of Operating Systems with our extensive collection of basic computer MCQs and computer science MCQs. Our platform offers a variety of computer MCQ online tests designed to improve your knowledge of operating systems. Engage with our computer MCQ test online resources, which feature well-crafted questions and detailed answers to help you master Operating Systems. We are recognized as the best MCQs portal in the world, providing top-quality resources for learning about Operating Systems.
If you’re looking for the best MCQs site for computer MCQs related to Operating Systems, you’ve come to the right place. Our site features a comprehensive selection of computer MCQs tailored to cover key aspects of operating systems. With our computer MCQ online test options, you’ll access high-quality practice materials that will help you excel in understanding and working with Operating Systems. Discover why we are the best MCQs site for computer MCQs and the best MCQs portal in the world for mastering Operating Systems.
Which of the following is a correct definition of ‘context switch’?
A. The process of saving the state of a currently running process and loading the state of another process
B. Allocating memory to a process
C. Releasing I/O devices after usage
D. Terminating a process
Answer: The process of saving the state of a currently running process and loading the state of another process
What is a ‘zombie process’?
A. A process that has terminated but whose parent has not yet read its exit status
B. A process that is in a deadlock state
C. A process that has been suspended by the OS
D. A process running in the background
Answer: A process that has terminated but whose parent has not yet read its exit status
In UNIX, what does the ‘ps’ command do?
A. Displays information about active processes
B. Starts a new process
C. Stops a running process
D. Changes process priority
Answer: Displays information about active processes
In a multithreaded environment, which of the following is a major advantage of threads over processes?
A. Faster context switches
B. Greater isolation between units of execution
C. Less memory usage
D. Improved security
Answer: Faster context switches
Which of the following is true about the ‘clock’ page replacement algorithm?
A. It approximates the Least Recently Used algorithm
B. It selects the oldest page for replacement
C. It gives priority to I/O-bound processes
D. It is used for load balancing
Answer: It approximates the Least Recently Used algorithm
What is the key disadvantage of the ‘paging’ memory management technique?
A. Increased overhead due to page tables
B. High external fragmentation
C. Poor CPU utilization
D. Complex memory allocation
Answer: Increased overhead due to page tables
What does the ‘working set model’ address in an operating system?
A. Determining the number of pages that must be in memory for a process to run efficiently
B. Allocating CPU resources
C. Managing the I/O system
D. Allocating file system resources
Answer: Determining the number of pages that must be in memory for a process to run efficiently
What does the ‘fork’ system call do?
A. Creates a new process
B. Allocates memory
C. Performs I/O operations
D. Kills a process
Answer: Creates a new process
Which component of an operating system performs context switching?
A. Scheduler
B. Memory Manager
C. Process Control Block
D. CPU
Answer: Scheduler