Operating System Fundamentals
Test your knowledge of core operating system concepts including process management, CPU scheduling, memory management, process synchronization, and different types of operating systems.
Questions
Which of the following best describes a distributed operating system?
- An operating system, which can share the network resources and communicate with each other.
- An interface used for computer components such as hard drives.
- A process that must respond to events within a certain period of time.
- An operating system in which user gives their jobs to the operator which then sorts the program according toh the priority and then executes them.
- An operating system in which multiple CPU's are used together to accomplish a task.
What is a hardware technique where the system appears to have more memory that it actually does ?
- Virtual memory
- Thrashing
- Paging
- Batch operating system
- Throughput
Which of the following is used in operating system to decide which process in the ready queue must be allocated the CPU?
- Thrashing
- Scheduler
- Context switching
- Controller
- Paging
Why are threads called light weight processes?
- They have a single thread of control.
- They do not share resources.
- They share the address space and uses fewer resources and are more efficient.
- They incur extra overhead in executing the process.
- Their efficiency is low.
Which of the following is a deadlock prevention technique?
- Mutual exclusion
- Context switching
- Fragmentation
- Throughput
- Starvation
In which state are the processes kept when they are residing in main memory and are ready to execute?
- Device queue
- Waiting state
- Job queue
- Running state
- Ready queue
Processes waiting for a particular I/O device are kept in which of the following queues?
- Ready queue
- Device queue
- Job queue
- Running state
- Terminated state
Which of the following types of operating systems are required to complete a critical task within a gauranteed period of time?
- Batch operating systems
- Distributed operating systems
- Soft real time systems
- Hard real time systems
- Time sharing operating systems
Which of the following schedulers selects a process from the ready queue and allocates the CPU to one of them?
- Long term scheduler
- Dispatcher
- Disk scheduler
- Short term scheduler
- Semaphore
What is the resource management problem where a process does not get the resources it needs for a long time because the resources are being allocated to other processes ?
- Starvation
- Paging
- Segmentation
- Fragmentation
- Page fault
Which of the following techniques is used to gaurd against the race condition problems?
- Process synchronization
- Starvation
- CPU scheduling
- Dispatcher
- Context switching
What is the process of packaging and sending interface method parameter across the thread or process boundaries ?
- Throughput
- Busy waiting
- Marshalling
- Deadlock
- Mutex
Which of the following schedulers selects a process from the job queue and loads them into the memory for execution?
- Long term scheduler
- Short term scheduler
- Dispatcher
- Disk scheduler
- Semaphore
Which of the following CPU scheduling algorithms falls under the category of non-preemptive scheduling algorithm?
- Round robin scheduling algorithm
- Shortest job first
- FCFS
- Priority scheduling
- Real time scheduling