OS

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