Operating System (OS) Interview Questions Answers

Operating System (OS) Interview Questions Answers

Operating System (OS) Interview Questions Answers.

Basic computer system organization

Operating System OS interview questions Answers
Figure: Operating System OS interview questions Answers
  1.  What is the main purpose of an IO module?
  2.  If there is no running program then What the  CPU can do?
  3. What is the main purpose of the memory address register?
  4.  What is the main purpose of the memory buffer register?
  5.  What is the purpose of the program counter register?
  6.  What is the purpose of the instruction register?
  7.  What is the machine execution cycle?
  8. What is the difference between trap and interrupt?
  9.  Define the interrupt vector.
  10.  What is the interrupt service routine?
  11. What is the software interrupts?
  12. What are the similarities between traps and Interrupts?
  13. What is the difference between traps and interrupts?
  14. What is the difference between symmetric and asymmetric multiprocessing?

 Operating system concepts

  1. Why the operating system is necessary for a computer system?
  2. Why use command interpreter?
  3. Mention any two services provided by the operating system.
  4. What is multiprogramming?
  5. What is multitasking?
  6. How a user can executive job in a batch operating system? Click Here for Answer.
  7.  How the user can execute a job in a real-time system? Click Here for Answer.
  8.  How a user can execute a job in a time-sharing system?
  9.  What are soft Real-Time systems? Click Here for Answer.
  10.  What is the hard real-time system? Click Here for Answer.
  11.  What is a distributed operating system?
  12. What is the batch operating system? Click Here for Answer.
  13. What is a time-sharing operating system? Click Here for Answer.
  14.  What is an embedded operating system?
  15. Differentiate between user mode and kernel mode? Click Here for Answer.
  16.  What is the role of the kernel in the operating system?
  17.  What is bootstrap loader?

 Program and process

  1.  Differentiate between program and process? Click Here for Answer.
  2.  Define the state of a process. Click Here for Answer.
  3.  How many processes can run at a time in a single processor system?
  4.  What is the new state of process? Click Here for Answer.
  5.  What is the waiting state of a process? Click Here for Answer.
  6.  What is the ready state of process? Click Here for Answer.
  7. A process in execution is in which part of the system unit?
  8.  What is the process control block? Click Here for Answer.
  9.  What are the functionality of short term and long term schedule?
  10.  What is context switching? Click Here for Answer.
  11. A large amount of context switching is good or not? Click Here for Answer.
  12.  What is the process spawning?  Click Here for Answer.
  13.  What is the cascading termination of the processes? Click Here for Answer.
  14.  What are independent processes?
  15.  What is cooperating process?
  16.  What is interprocess communication?
  17.  What is the main difference between thread and process? Click Here for Answer.
  18.  What is one to one model of threads?

 CPU scheduling

  1.  Why do we need to schedule the processes?
  2.  What is the main difference between preemptive and non-preemptive scheduling?
  3.  What is turnaround time?
  4.  What is bus time?
  5.  What is the throughput of the processes?
  6.  Why dispatcher is an important component of the operating system?
  7. What is the response time?
  8.  How the shortest job first scheduling works?
  9.  How  First Come First serve scheduling works?
  10.  How  Round Robin scheduling works?
  11.   How does priority scheduling work?
  12.  Define starvation?
  13.  What is quantum time?
  14.  What is the difference between external and internal priorities?

Process synchronization

  1.  What is process synchronization?
  2.  What is the race condition?
  3. What is a critical section problem?
  4.  What are the solutions to the critical section problem?
  5.  What are the requirements for the solution of critical section problem?
  6. mutual exclusion is helpful in solving the critical section problem or not?
  7.  Why we useTestAndSet()  instructions?
  8. What are the software solutions of critical section problem?
  9.  What are the hardware-based solutions of critical section problem?
  10.  What is mutex?
  11.  Define survey force.
  12.  What is a binary semaphore?
  13.  What are counting semaphores?
  14.  What is the main difference between a strong and a week summer food?
  15.  What are the monitors?
  16.  monitors are semaphore which ones are best for process synchronization?
  17.  What is the dining philosopher problem?
  18.  What is Reader writer problem

  Deadlocks

  1. Define deadlock?
  2. How to prevent deadlock?
  3. What is banker’s algorithm?
  4. What are the advantages of a banker’s algorithm?
  5. What is a safe state?
  6. What are the necessary conditions for deadlock to occurs?

Memory management

  1. What is swapping?
  2. What are the advantages of sweating?
  3. What is segmentation?
  4. What are the advantages of segmentation?
  5. What is paging?
  6. What are the advantages of paging?
  7. What is demand paging?
  8. What are the advantages of demand paging?
  9. How does optimal page replacement algorithm work?
  10. How  First Come First served page replacement algorithm works?
  11. What is page replacement?
  12. Mention the similarity or dissimilarity between a page and a process.

Some general questions

  1. What is a distributed operating system?
  2. What is the network operating system?
  3. What is the main difference between a window and a DOS?
  4. mention any three DOS commands.
  5. How to execute the DOS commands?
  6. What is the main difference between a Windows XP and Windows 7?
  7. What is the main difference between Windows 7 and Windows 8?
  8. What is the main difference between Windows 8 and Windows 10?
  9. What is the main difference between 32 bit and 64-bit operating system?
  10. 32bit or 64bit which operating system is fast?
  11. What are virtual machines?
  12. What is a layered approach to the operating system?
  13. who is the founder of Windows?
  14. who is the founder of DOS
  15. who is the founder of the Android operating system?
  16. who is the founder of the iOS operating system?
  17. A mobile phone can use in the Windows operating system or not?

Topic Covered

Operating System (OS) interview questions.