Operating Systems · 3 topics · 15 questions
Beginner
For students starting OS preparation. Covers what an operating system does, system calls and kernel design, processes and threads, and the CPU scheduling algorithms asked about most often.
Beginner progress0%
- 1st Visit
- 0/15
- 2nd Visit
- 0/15
- Revise
- 0/15
01OS Basics & System Calls
0/5
An operating system is the layer of software that manages a computer's hardware and provides services to programs. This topic covers what the OS does, how it runs…
Topic guide02Processes & Threads
0/5
A process is a program in execution, with its own memory and resources, while a thread is a lighter unit of execution that shares the memory of its process. The…
Topic guide| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | What is the difference between a process and a thread? | Concept | Easy | Read the answer to What is the difference between a process and a thread? | |||
| 2 | What are the states of a process, and what is a PCB? | Concept | Easy | Read the answer to What are the states of a process, and what is a PCB? | |||
| 3 | What is a context switch, and why is it considered overhead? | Concept | Medium | Read the answer to What is a context switch, and why is it considered overhead? | |||
| 4 | What does fork() do, and what does it return? | Concept | Medium | Read the answer to What does fork() do, and what does it return? | |||
| 5 | What are zombie and orphan processes? | Concept | Medium | Read the answer to What are zombie and orphan processes? |
03CPU Scheduling
0/5
The CPU scheduler decides which ready process runs next and, in preemptive systems, for how long. Algorithms are compared using a few metrics: turnaround time, waiting…
Topic guide