The Operating System (OS) is the most important system software that acts as an interface between the user and the computer hardware. It manages all the resources of the computer, including the processor, memory, files and devices, and provides a platform on which application programs run. In the RRB JE CBT-1 examination, Operating Systems is a favourite topic and normally contributes 2 to 4 questions. Common questions ask about the functions of an operating system, types of operating systems, examples of popular operating systems, process states, virtual memory, and the difference between cold and warm booting. The questions are factual and concept-based, and they are fully answerable with a systematic revision. This chapter is also directly connected with Computer Software because the OS is the primary example of system software. A candidate appearing for RRB JE must understand what the OS does, how processes are managed, and how memory and files are handled, because these ideas also appear in networking and cyber security questions.
An operating system is a set of programs that controls the operation of the computer and manages its hardware and software resources. It is the first program loaded into memory when the computer starts and it remains resident until the computer is switched off. Well known examples are Microsoft Windows, Linux, macOS, Unix, Android and iOS. The OS provides a user interface in two forms: the Command Line Interface (CLI), where the user types commands, and the Graphical User Interface (GUI), where the user clicks on icons and menus.
The OS performs several essential functions. Process management involves creating, scheduling and terminating processes (running programs). Memory management allocates and deallocates main memory to processes and uses virtual memory to extend it. File management organises data into files and folders, handles naming, storage and access, and manages the file system structure. Device management controls input and output devices through device drivers. Security and protection control user access to resources using user names and passwords. Job accounting and error detection are also handled by the OS. Finally, the OS provides the user interface through which humans interact with the computer.
Operating systems are classified by the way they handle jobs. A batch operating system groups similar jobs together and processes them without user interaction, e.g., the earliest operating systems. A time sharing OS gives a small time slice to each user, making it appear that several users work simultaneously. A multiprogramming OS keeps several programs in memory at once so that the CPU never sits idle. A multitasking OS allows one user to run several tasks at the same time, which is how modern desktop OS work. A multiprocessing OS uses more than one processor at a time. A multiuser OS allows many users to use the computer simultaneously, e.g., Unix and Linux. A real time OS guarantees a response within a fixed time and is used in missile systems, medical equipment and industrial robots. A distributed OS manages a group of independent computers that appear to users as a single system.
A process is a program in execution. A process moves through several states: New (created), Ready (waiting for the CPU), Running (currently using the CPU), Blocked or Waiting (waiting for an event such as input), and Terminated (finished). The process scheduler selects which ready process gets the CPU next. The part of the OS that decides is called the scheduler. Multitasking works by rapidly switching the CPU between processes, a technique called context switching, so that all tasks appear to run together.
Memory management keeps track of each byte of memory and decides which processes get memory, how much, and when. Virtual memory is a technique that uses a portion of the hard disk, called the swap space or page file, as an extension of RAM. When RAM is full, the OS swaps less-used pages to disk and brings them back when needed. Because of virtual memory, a computer can run programs larger than its physical RAM. Paging is the method of moving fixed-size blocks of memory called pages between RAM and disk.
A file is a named collection of related data, and a folder (directory) is a container of files and other folders. File names have a base name and an extension separated by a dot; for example, in "report.docx", "docx" is the extension that identifies the file type. The OS builds a hierarchical or tree-structured directory system. Important file types include .txt (text), .docx (Word document), .xlsx (Excel), .pptx (PowerPoint), .exe (executable), .jpg (image) and .mp3 (audio). Common file operations are create, open, read, write, copy, move, rename and delete.
Booting is the process of starting the computer and loading the OS into main memory. A cold boot starts the computer from a fully switched-off state, while a warm boot restarts a running computer using the restart option. The boot process begins with the BIOS (Basic Input Output System) or UEFI firmware, which runs a power-on self test (POST) and then loads the boot loader, which finally loads the operating system kernel into memory. The heart of the OS is called the kernel.
Microsoft Windows is the most widely used desktop OS. Linux is a free and open source OS, and its popular distributions are Ubuntu, Fedora and Debian. Unix is a multiuser OS used on servers. macOS is Apple's operating system. Android and iOS are mobile operating systems, and Android is the most used mobile OS in the world. Chrome OS runs on Chromebooks.
| Function | What It Does |
|---|---|
| Process management | Creates, schedules and terminates processes |
| Memory management | Allocates and frees main memory |
| File management | Organises data into files and folders |
| Device management | Controls devices through drivers |
| Security | User authentication and access control |
| User interface | CLI or GUI for human interaction |
| Error handling | Detects and reports system errors |
| Type | Feature | Example |
|---|---|---|
| Batch OS | Jobs processed in groups | Early mainframes |
| Time sharing OS | Small time slice per user | Modern general-purpose |
| Multiprogramming OS | Many programs in memory | Mid-era systems |
| Multitasking OS | Many tasks by one user | Windows, Linux, macOS |
| Multiuser OS | Many users at once | Unix, Linux |
| Real time OS | Guaranteed response time | Missiles, pacemakers |
| Distributed OS | Group of computers as one | Cluster systems |
| OS | Developer | Notable Feature |
|---|---|---|
| Windows | Microsoft | Most used desktop OS |
| Linux | Open source community | Free, open source, kernel by Linus Torvalds |
| Unix | Bell Labs (AT&T) | Multiuser server OS |
| macOS | Apple | Desktop OS for Mac |
| Android | Most used mobile OS | |
| iOS | Apple | Mobile OS for iPhone |
| Ubuntu | Canonical | Popular Linux distribution |
graph TD
A[Operating System] --> B[Based on User Interaction]
A --> C[Based on Processing]
A --> D[Based on Usage]
B --> B1[Single user: Windows Home]
B --> B2[Multiuser: Unix, Linux]
C --> C1[Batch OS]
C --> C2[Time sharing OS]
C --> C3[Real time OS]
D --> D1[Desktop: Windows, macOS]
D --> D2[Mobile: Android, iOS]
D --> D3[Server: Linux, Unix]
flowchart LR
A[Power On] --> B[BIOS/UEFI runs POST]
B --> C[Boot Loader loads kernel]
C --> D[OS loaded into RAM]
D --> E[User Interface appears]
E --> F[Applications run on OS]
A -. Cold boot from off state .-> A
| Fact | Value |
|---|---|
| Core of OS | Kernel |
| OS that runs at start-up check | BIOS (POST) |
| Father of Linux | Linus Torvalds |
| Command line Microsoft OS | MS-DOS |
| Extends RAM using disk | Virtual memory |
| Most used mobile OS | Android |
Example 1. What is the difference between cold booting and warm booting? Solution: Cold booting starts the computer from a completely switched-off state, while warm booting restarts a running computer using the restart option without switching off the power supply.
Example 2. What is virtual memory and how does it work? Solution: Virtual memory is a technique that uses a part of the hard disk, called swap space or page file, as an extension of RAM. When RAM is full, the OS moves unused pages to the disk and brings them back when required, allowing programs larger than physical RAM to run.
Example 3. Which operating system is a multiuser operating system and why is it important? Solution: Unix is a multiuser operating system because it allows many users to work on the system at the same time. Linux, which is similar to Unix, is also widely used as a multiuser server OS.
Example 4. What is a process in an operating system? Solution: A process is a program in execution. It moves through the states new, ready, running, blocked and terminated under the control of the process scheduler.
Example 5. Why does a modern desktop operating system appear to run many programs at the same time? Solution: Modern OS are multitasking systems that use context switching; the CPU rapidly switches between processes, giving each a small slice of time, so all programs appear to run simultaneously.
Example 6. What is the role of the BIOS during booting? Solution: The BIOS (or UEFI) runs the power on self test (POST) to check hardware, then locates and loads the boot loader, which in turn loads the operating system kernel into memory.
| Q. No. | Question | Answer |
|---|---|---|
| 1 | Which software is the interface between user and hardware? | Operating system |
| 2 | Core part of an operating system? | Kernel |
| 3 | Which OS was created by Linus Torvalds? | Linux |
| 4 | Which OS is multiuser? | Unix / Linux |
| 5 | Virtual memory uses which device to extend RAM? | Hard disk |
| 6 | Which booting starts from a switched-off state? | Cold boot |
| 7 | Full form of POST? | Power On Self Test |
| 8 | MS-DOS uses which interface? | Command line interface |
| 9 | A program in execution is called? | Process |
| 10 | Which is the most used mobile OS? | Android |
| 11 | Extension of executable file? | .exe |
| 12 | Which OS type guarantees response in fixed time? | Real time OS |
In RRB JE CBT-1, Operating Systems regularly contributes 2 to 4 questions. The favourite areas are the functions of the OS, types of operating systems, process states, virtual memory, and examples of popular operating systems. These questions are concept-based but factual, and a one-page table revision is enough to master them. Since the OS chapter overlaps with Software and is also linked with file management and booting, a combined revision increases accuracy. Candidates must memorise examples and one-line definitions, as the examiner mostly asks for examples of each OS type and the correct terminology.
The Operating System is the backbone of every computer, and the Operating Systems chapter is one of the most scoring parts of Computer Awareness. Understand the functions, the types, process management, memory and file management, and the booting sequence, and memorise the examples in each category. Revise the tables and practise questions regularly. With this chapter mastered, the computer portion of the RRB JE CBT-1 becomes significantly easier and more rewarding.