Operating System (OS) Interview Questions Answers
Operating System (OS) Interview Questions Answers.
Basic computer system organization

- What is the main purpose of an IO module?
- If there is no running program then What the CPU can do?
- What is the main purpose of the memory address register?
- What is the main purpose of the memory buffer register?
- What is the purpose of the program counter register?
- What is the purpose of the instruction register?
- What is the machine execution cycle?
- What is the difference between trap and interrupt?
- Define the interrupt vector.
- What is the interrupt service routine?
- What is the software interrupts?
- What are the similarities between traps and Interrupts?
- What is the difference between traps and interrupts?
- What is the difference between symmetric and asymmetric multiprocessing?
Operating system concepts
- Why the operating system is necessary for a computer system?
- Why use command interpreter?
- Mention any two services provided by the operating system.
- What is multiprogramming?
- What is multitasking?
- How a user can executive job in a batch operating system? Click Here for Answer.
- How the user can execute a job in a real-time system? Click Here for Answer.
- How a user can execute a job in a time-sharing system?
- What are soft Real-Time systems? Click Here for Answer.
- What is the hard real-time system? Click Here for Answer.
- What is a distributed operating system?
- What is the batch operating system? Click Here for Answer.
- What is a time-sharing operating system? Click Here for Answer.
- What is an embedded operating system?
- Differentiate between user mode and kernel mode? Click Here for Answer.
- What is the role of the kernel in the operating system?
- What is bootstrap loader?
Program and process
- Differentiate between program and process? Click Here for Answer.
- Define the state of a process. Click Here for Answer.
- How many processes can run at a time in a single processor system?
- What is the new state of process? Click Here for Answer.
- What is the waiting state of a process? Click Here for Answer.
- What is the ready state of process? Click Here for Answer.
- A process in execution is in which part of the system unit?
- What is the process control block? Click Here for Answer.
- What are the functionality of short term and long term schedule?
- What is context switching? Click Here for Answer.
- A large amount of context switching is good or not? Click Here for Answer.
- What is the process spawning? Click Here for Answer.
- What is the cascading termination of the processes? Click Here for Answer.
- What are independent processes?
- What is cooperating process?
- What is interprocess communication?
- What is the main difference between thread and process? Click Here for Answer.
- What is one to one model of threads?
CPU scheduling
- Why do we need to schedule the processes?
- What is the main difference between preemptive and non-preemptive scheduling?
- What is turnaround time?
- What is bus time?
- What is the throughput of the processes?
- Why dispatcher is an important component of the operating system?
- What is the response time?
- How the shortest job first scheduling works?
- How First Come First serve scheduling works?
- How Round Robin scheduling works?
- How does priority scheduling work?
- Define starvation?
- What is quantum time?
- What is the difference between external and internal priorities?
Process synchronization
- What is process synchronization?
- What is the race condition?
- What is a critical section problem?
- What are the solutions to the critical section problem?
- What are the requirements for the solution of critical section problem?
- mutual exclusion is helpful in solving the critical section problem or not?
- Why we useTestAndSet() instructions?
- What are the software solutions of critical section problem?
- What are the hardware-based solutions of critical section problem?
- What is mutex?
- Define survey force.
- What is a binary semaphore?
- What are counting semaphores?
- What is the main difference between a strong and a week summer food?
- What are the monitors?
- monitors are semaphore which ones are best for process synchronization?
- What is the dining philosopher problem?
- What is Reader writer problem
Deadlocks
- Define deadlock?
- How to prevent deadlock?
- What is banker’s algorithm?
- What are the advantages of a banker’s algorithm?
- What is a safe state?
- What are the necessary conditions for deadlock to occurs?
Memory management
- What is swapping?
- What are the advantages of sweating?
- What is segmentation?
- What are the advantages of segmentation?
- What is paging?
- What are the advantages of paging?
- What is demand paging?
- What are the advantages of demand paging?
- How does optimal page replacement algorithm work?
- How First Come First served page replacement algorithm works?
- What is page replacement?
- Mention the similarity or dissimilarity between a page and a process.
Some general questions
- What is a distributed operating system?
- What is the network operating system?
- What is the main difference between a window and a DOS?
- mention any three DOS commands.
- How to execute the DOS commands?
- What is the main difference between a Windows XP and Windows 7?
- What is the main difference between Windows 7 and Windows 8?
- What is the main difference between Windows 8 and Windows 10?
- What is the main difference between 32 bit and 64-bit operating system?
- 32bit or 64bit which operating system is fast?
- What are virtual machines?
- What is a layered approach to the operating system?
- who is the founder of Windows?
- who is the founder of DOS
- who is the founder of the Android operating system?
- who is the founder of the iOS operating system?
- A mobile phone can use in the Windows operating system or not?
Topic Covered
Operating System (OS) interview questions.