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.

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following best describes a distributed operating system?

  1. An operating system, which can share the network resources and communicate with each other.
  2. An interface used for computer components such as hard drives.
  3. A process that must respond to events within a certain period of time.
  4. 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.
  5. An operating system in which multiple CPU's are used together to accomplish a task.
Question 2 Multiple Choice (Single Answer)

What is a hardware technique where the system appears to have more memory that it actually does ?

  1. Virtual memory
  2. Thrashing
  3. Paging
  4. Batch operating system
  5. Throughput
Question 3 Multiple Choice (Single Answer)

Which of the following is used in operating system to decide which process in the ready queue must be allocated the CPU?

  1. Thrashing
  2. Scheduler
  3. Context switching
  4. Controller
  5. Paging
Question 4 Multiple Choice (Single Answer)

Why are threads called light weight processes?

  1. They have a single thread of control.
  2. They do not share resources.
  3. They share the address space and uses fewer resources and are more efficient.
  4. They incur extra overhead in executing the process.
  5. Their efficiency is low.
Question 5 Multiple Choice (Single Answer)

Which of the following is a deadlock prevention technique?

  1. Mutual exclusion
  2. Context switching
  3. Fragmentation
  4. Throughput
  5. Starvation
Question 6 Multiple Choice (Single Answer)

In which state are the processes kept when they are residing in main memory and are ready to execute?

  1. Device queue
  2. Waiting state
  3. Job queue
  4. Running state
  5. Ready queue
Question 7 Multiple Choice (Single Answer)

Processes waiting for a particular I/O device are kept in which of the following queues?

  1. Ready queue
  2. Device queue
  3. Job queue
  4. Running state
  5. Terminated state
Question 8 Multiple Choice (Single Answer)

Which of the following types of operating systems are required to complete a critical task within a gauranteed period of time?

  1. Batch operating systems
  2. Distributed operating systems
  3. Soft real time systems
  4. Hard real time systems
  5. Time sharing operating systems
Question 9 Multiple Choice (Single Answer)

Which of the following schedulers selects a process from the ready queue and allocates the CPU to one of them?

  1. Long term scheduler
  2. Dispatcher
  3. Disk scheduler
  4. Short term scheduler
  5. Semaphore
Question 10 Multiple Choice (Single Answer)

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 ?

  1. Starvation
  2. Paging
  3. Segmentation
  4. Fragmentation
  5. Page fault
Question 11 Multiple Choice (Single Answer)

Which of the following techniques is used to gaurd against the race condition problems?

  1. Process synchronization
  2. Starvation
  3. CPU scheduling
  4. Dispatcher
  5. Context switching
Question 12 Multiple Choice (Single Answer)

What is the process of packaging and sending interface method parameter across the thread or process boundaries ?

  1. Throughput
  2. Busy waiting
  3. Marshalling
  4. Deadlock
  5. Mutex
Question 13 Multiple Choice (Single Answer)

Which of the following schedulers selects a process from the job queue and loads them into the memory for execution?

  1. Long term scheduler
  2. Short term scheduler
  3. Dispatcher
  4. Disk scheduler
  5. Semaphore
Question 14 Multiple Choice (Single Answer)

Which of the following CPU scheduling algorithms falls under the category of non-preemptive scheduling algorithm?

  1. Round robin scheduling algorithm
  2. Shortest job first
  3. FCFS
  4. Priority scheduling
  5. Real time scheduling