Operating System (OS)
1. Operating system: the computer's manager
The operating system (OS) = the most important piece of system software. It is the interface between the user and the hardware and manages every resource (CPU, memory, files, I/O devices), so it is called the resource manager. The basic requirement to run a computer = an OS.
Think of a school: students (users) don't walk into the store room (hardware) themselves; the principal's office (the OS) decides who gets which room, book and teacher, and when.
Layers: user → application → shell → kernel → hardware. Examples: Windows, macOS, Linux, UNIX, MS-DOS, Android, iOS.
- 2. Functions of an OS: process, memory, file, device
- 3. Types of OS: from batch to real-time
- 4. Kernel and shell: the seed and the husk
- 5. Booting: the computer wakes up
- 6. GUI and CLI: click or type
- 7. The 5 states of a process
- 8. CPU scheduling: who gets the CPU first
- 9. Deadlock: both waiting for each other
- 10. Paging and virtual memory
- ⚠️ Where students go wrong most
The full note, 7 try-it tools and all 156 MCQs of this chapter come with the full subject: ₹99
or ⭐ all 14 subjects + every PYQ for ₹599 a year (Full GS Pass)
How the exam asks it
- Why do desktop/laptop OSes need more advanced memory management than embedded systems? More hardware resources, dynamic memory allocation (SSC CGL 2024 Tier-II)
- Equal-sized blocks of logical memory? Pages · An equal interval of CPU time? Time slice (Allahabad HC)
- What checks that the parts are connected and working? Booting (POST) · Starting/restarting? Boot · The disk for a cold boot? System disk (Allahabad HC)
- Doing two or more jobs at once? Multitasking · More than one processor? Multiprocessor · Unix and Windows? Multi-user, single-user (Allahabad HC)
- Temporary storage joined to the CPU for I/O? Buffer · The basic requirement to run a computer? Operating system (Allahabad HC)
- The extra set of commands shown after a choice? Submenu · GUI? Graphical User Interface (Allahabad HC)
Check yourself
1. The central part of the OS, loaded first at boot and always kept in RAM:
Answer: B. Kernel · The kernel = the heart of the OS; the shell only reads commands and passes them to the kernel.
2. An equal interval of CPU time given to a job is called a:
Answer: C. Time slice · In Round Robin/time-sharing each process gets an equal time slice (quantum).
Asked in the exam (PYQ)
Why do desktop and laptop operating systems require more advanced memory management techniques than embedded systems?
Answer: A. They utilise more hardware resources and need dynamic memory allocation. · Desktop and laptop operating systems run many applications at the same time (multitasking) and use large amounts of RAM. So they need dynamic allocation, paging and virtual memory. Embedded systems usually do one fixed job with limited, often static, memory. The other options are false or describe embedded systems.
More PYQs from this chapter
- Breaking logical memory into blocks of the same size is calledAllahabad High Court RO/ARO · 5 January 2022 · RO
- Which process checks to ensure that the components of the computer are operating and connected properly?Allahabad High Court RO/ARO · 5 January 2022 · RO
- Name the process which allows two or more tasks to run simultaneously ?Allahabad High Court RO/ARO · 19 December 2021 · Shift 2
- A temporary storage area, attached to the CPU for I/O operations is a :Allahabad High Court RO/ARO · 15 December 2021 · ARO
- A __________ is an additional set of commands that the computer displays after you make a selection.Allahabad High Court RO/ARO · 15 December 2021 · ARO
- What is the full form of GUI?Allahabad High Court RO/ARO · 12 December 2021 · RO
All 31 PYQs of this chapter are on the mind map and with the PYQ Pass.
