Operating Systems Questions

Practice Operating Systems MCQs with answers and explanations. Page 5 of 7.

Category
Technical Questions
Topic
Operating Systems
Page
5 / 7
Mode
Practice

Questions

Open any question to view the answer and explanation.

In multiprocessor systems that use caches, what is cache coherency?
Open
View answer
In operating systems and software design, what are the main benefits of multithreaded programming within a single process?
Open
View answer
While running MS DOS on a personal computer, which command is used to duplicate the entire contents of one diskette onto another diskette?
Open
View answer
In memory management, what is meant by the logical address space and the physical address space of a process?
Open
View answer
In operating systems memory management, what is fragmentation and what are the main types of fragmentation that can occur in RAM?
Open
View answer
In operating systems, what is a major drawback of MVT (Multiprogramming with a Variable number of Tasks) variable-partition memory management?
Open
View answer
In operating systems such as UNIX or Linux, what is a shell and what role does it play for the user?
Open
View answer
In UNIX or Linux process management, what does the getppid() system call return for the calling process?
Open
View answer
In UNIX or Linux, what is a zombie process and when does it appear in the process table?
Open
View answer
In UNIX or Linux, what does the ps command typically display by default about running processes?
Open
View answer
In Microsoft Windows, which of the following are core components of the Windows Registry structure?
Open
View answer
In UNIX, which command correctly displays the present working directory (the full path of the current directory)?
Open
View answer
In operating systems, what is reentrancy (reentrant code) and why is it important for shared code segments?
Open
View answer
In virtual memory systems, what is thrashing and why does it severely degrade overall system performance?
Open
View answer
In CPU scheduling, what are short-term, medium-term, and long-term scheduling and how do they differ in their roles?
Open
View answer
In paging-based virtual memory, what is the Translation Lookaside Buffer (TLB) and what is its primary purpose?
Open
View answer
In virtual memory management, what are the resident set and the working set of a process, and how do they differ?
Open
View answer
In direct memory access (DMA) and I/O subsystem design, what is cycle stealing and how does it affect CPU operation?
Open
View answer
In memory management, what are placement algorithms and replacement algorithms, and what does each type of algorithm decide?
Open
View answer
When loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.