Answers 100% Pass
Why is memory management important in an operating system?
✔✔Memory management ensures efficient allocation of memory to processes and helps prevent
crashes and memory leaks.
What does a process scheduler do?
✔✔A process scheduler manages the execution order of processes, optimizing system
performance and resource use.
How does virtual memory enhance system performance?
✔✔Virtual memory allows a system to use disk space as additional memory, enabling larger
programs to run smoothly.
What is a system call?
✔✔A system call is a way for programs to request services from the operating system, such as
file access or device management.
1
,What is a deadlock in an operating system?
✔✔A deadlock occurs when two or more processes are waiting on each other to release
resources, causing them to be stuck indefinitely.
How does an interrupt work in an operating system?
✔✔An interrupt signals the processor to stop its current activities and execute a specific task,
often to handle I/O operations.
What is the purpose of a file system?
✔✔A file system organizes and manages files on a storage device, enabling easy access and
modification.
Why is CPU scheduling necessary?
✔✔CPU scheduling optimizes the use of the processor by determining which processes should
run at any given time.
What is the difference between a process and a thread?
✔✔A process is an independent program with its own memory space, while a thread is a
lightweight sub-unit within a process that shares memory.
2
, What does swapping mean in an operating system?
✔✔Swapping is the process of moving data between main memory and disk to free up space for
active processes.
What is the role of a device driver?
✔✔A device driver acts as an intermediary between the operating system and hardware devices,
allowing communication and control.
How does a multi-user operating system function?
✔✔A multi-user operating system allows multiple users to access and use system resources
simultaneously.
What is the difference between multitasking and multiprocessing?
✔✔Multitasking allows multiple processes to run concurrently on a single CPU, while
multiprocessing uses multiple CPUs to run processes simultaneously.
Why is paging used in memory management?
3