DEV Community

ZeeshanAli-0704
ZeeshanAli-0704

Posted on

Basic Operating system questions

  • 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

Basic of CN

Links:

https://www.interviewbit.com/networking-interview-questions/

https://www.simplilearn.com/computer-networks-interview-questions-article

https://www.naukri.com/code360/library/networking-interview-questions

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up