Basic Operating system questions



This content originally appeared on DEV Community and was authored by ZeeshanAli-0704

  • Explain the differences between a kernel and a user-level process.

  • What are the various process states, and how does a process transition between them?

  • Describe the differences between processes and threads.

  • What is the purpose of concurrency control in operating systems?

  • How does a context switch work, and why is it essential?

  • Explain the difference between symmetric and asymmetric multiprocessing.

  • What is virtual memory, and how does it work?

  • How do you prioritize processes in a multitasking environment?

  • Discuss the concept of mutual exclusion and its implementation in operating systems.

  • What is a process control block (PCB), and what information does it contain?

Links
https://web.stanford.edu/class/archive/cs/cs110/cs110.1202/static/lectures/11-multithreading-cvs-semaphores.pdf

https://web.stanford.edu/class/archive/cs/cs110/cs110.1202/static/lectures/10-from-c-threads-to-cpp-threads.pdf

https://web.stanford.edu/class/archive/cs/cs110/cs110.1202/static/lectures/12-multithreading-patterns-data-structures.pdf

https://web.stanford.edu/class/archive/cs/cs110/cs110.1202/static/lectures/19-events-threads.pdf


This content originally appeared on DEV Community and was authored by ZeeshanAli-0704