Interview Questions & Answers for Operating System

Operating System


What is an operating system?

What is “virtual memory” and what purpose it serves?

What is demand paging?

What is copy-on-write or shadowing?

What is a kernel, and what does it do?

True or False? Some pieces of the code in the kernel are loaded into protected areas of the memory so applications can’t overwritten them

What is POSIX?

Processes


Can you explain what is a process?

If you had to design an API for processes in an operating system, what would this API look like?

How a process is created?

True or False? The loading of the program into the memory is done eagerly (all at once)

What are different states of a process?

What is Inter Process Communication (IPC)?

Concurrency


Explain what is Semaphore and what its role in operating systems

Memory


What is cache? What is buffer?

Rajesh Kumar
Follow me