OS

What is the difference between a monolithic kernel and a microkernel?

What is the difference between a monolithic kernel and a microkernel? a) A monolithic kernel manages all system services in the kernel space, while a microkernel delegates most services to user space b) A microkernel is faster than a monolithic kernel c) A monolithic kernel is only used in embedded systems d) A microkernel does

What is the difference between a monolithic kernel and a microkernel? Read More »

What is the role of the long-term scheduler in an operating system?

What is the role of the long-term scheduler in an operating system? a) To determine which processes are admitted into the system for execution b) To manage memory allocation c) To allocate CPU time to running processes d) To handle interrupt requests from hardware Answer: a) To determine which processes are admitted into the system

What is the role of the long-term scheduler in an operating system? Read More »

What is the Banker’s Algorithm in operating systems?

What is the Banker’s Algorithm in operating systems? a) A deadlock avoidance algorithm that ensures safe resource allocation b) A method for scheduling CPU processes c) A file system management technique d) A way to manage virtual memory Answer: a) A deadlock avoidance algorithm that ensures safe resource allocation Explanation: The Banker’s Algorithm is a

What is the Banker’s Algorithm in operating systems? Read More »

What is starvation in operating systems?

What is starvation in operating systems? a) A situation where low-priority processes wait indefinitely because higher-priority processes continuously take precedence b) A technique for reducing process execution time c) A method for managing memory allocation d) A condition caused by insufficient memory for process execution Answer: a) A situation where low-priority processes wait indefinitely because

What is starvation in operating systems? Read More »

What is the main function of the medium-term scheduler in an operating system?

What is the main function of the medium-term scheduler in an operating system? a) To swap processes in and out of memory b) To allocate CPU time to processes c) To handle I/O operations d) To manage process creation and termination Answer: a) To swap processes in and out of memory Explanation: The medium-term scheduler

What is the main function of the medium-term scheduler in an operating system? Read More »

What is the difference between paging and segmentation in memory management?

What is the difference between paging and segmentation in memory management? a) Paging divides memory into fixed-size pages, while segmentation divides memory into variable-size segments b) Segmentation divides memory into fixed-size blocks, while paging allocates entire programs c) Paging manages memory for file systems, while segmentation handles CPU processes d) Segmentation is only used in

What is the difference between paging and segmentation in memory management? Read More »

Scroll to Top