Government System — Centre, States & Administration
Free study material · concepts, shortcuts & solved questions
Why This Chapter Matters
The CBT2 paper for ALP and Technician gives a fixed block of questions on Basics of Computers and Applications, and most zones treat it as easy scoring territory, the kind of section a well-prepared candidate should clear without losing a single mark. Ten to fifteen questions turn up depending on your zone's paper, and they repeat the same core ideas year after year: hardware versus software, input versus output, the difference between RAM and ROM, common file extensions, and basic Windows and MS Office operations. If you already use a smartphone and have sat through a computer class in school or ITI, half this chapter will feel like revision. The other half is where students lose marks, not because the concepts are hard, but because two terms sound similar and the exam is built to test exactly that confusion.
The single biggest mistake aspirants make here is treating this chapter as "everyone knows computers" and skipping it. That is a trap. RRB question setters love pairing terms that look identical to a casual user but are technically distinct, RAM vs ROM, hardware vs firmware, LAN vs WAN, a browser vs a search engine. A candidate who has only used a phone casually will guess wrong on these pairs. This chapter builds the technical vocabulary so you answer from knowledge, not guesswork, and it links every concept to something you already touch daily, your own phone or the shared computer at your coaching centre.
1. What Is a Computer, and How Does It Work
A computer is an electronic device that accepts data, processes it according to a set of instructions, and produces useful output. Strip away the jargon and a computer does exactly three things in a loop: it takes something in, it does something to it, it gives something back. That loop is called the Input-Process-Output (IPO) cycle, and nearly every computer-related exam question can be traced back to where in this cycle a device or component sits.
Think of a computer like a railway goods yard. Wagons of raw material arrive (input), get sorted, loaded, and processed inside the yard (processing), and finished, arranged rakes leave for their destination (output). Nothing in a goods yard is useful until it moves through this sequence, and nothing in a computer produces a result until data moves through input, processing, and output.
Memory hook: Remember the cycle as "I Prepare Output" — Input, Process, Output, in that fixed order every single time.
Generations of Computers
Exam papers occasionally ask which generation used which technology. Keep this table in mind; it rarely goes beyond these five generations for RRB-level papers.
| Generation | Approx. Period | Core Technology | Example |
|---|---|---|---|
| First | 1940s–1950s | Vacuum tubes | ENIAC |
| Second | 1950s–1960s | Transistors | IBM 1401 |
| Third | 1960s–1970s | Integrated Circuits (IC) | IBM 360 |
| Fourth | 1970s–present | Microprocessors | Personal computers |
| Fifth | Present onward | Artificial Intelligence-based chips | AI-driven systems |
Exam trap: Students often mix up the third and fourth generation. The jump from IC to microprocessor is what created the "personal computer" as we know it. If a question mentions "microprocessor," the answer is always fourth generation, never third.
2. Hardware vs Software: The Body and the Mind
Hardware is anything you can physically touch, the keyboard, the monitor, the circuit boards inside the machine. Software is the set of instructions that tells that hardware what to do. Hardware without software is a dead machine, a locomotive shell without a driver. Software without hardware has nothing to run on, an instruction manual with no locomotive to obey it.
Hardware is split into three broad categories:
- Input devices, which bring data into the computer: keyboard, mouse, scanner, microphone, joystick, barcode reader, webcam.
- Output devices, which give results back to the user: monitor, printer, speaker, plotter.
- Storage devices, which hold data for later use: hard disk, pen drive, CD/DVD, SSD.
Exam trap: A few devices work both ways and questions love to test this. A touchscreen is both input (you tap it) and output (it displays). A modem sends and receives data, so it too counts as both. Memorise these dual-role devices separately; they are the ones examiners pick to confuse students who memorised only "keyboard is input, monitor is output."
Software splits into two main families:
- System software manages the computer itself. The operating system is the biggest example, along with device drivers and utility programs like antivirus tools.
- Application software helps the user do a specific task: MS Word for typing letters, a calculator app, a railway reservation portal open in a browser.
Think of system software as the station staff who keep the platform running, signals working, announcements clear, and application software as the passenger who actually uses that platform to reach a destination. The station exists to serve the passenger's task, exactly as system software exists to let application software run smoothly.
3. The CPU: The Engine Room
The Central Processing Unit (CPU) is often called the brain of the computer, but a more useful comparison for a railway aspirant is the engine of a locomotive. Just as a locomotive's engine converts fuel into motion according to the driver's control, the CPU converts instructions into results. The CPU has three main parts:
- Control Unit (CU): directs the flow of data and instructions, much like a station master directing which train moves on which line.
- Arithmetic Logic Unit (ALU): performs calculations and logical comparisons, addition, subtraction, greater-than, equal-to.
- Registers: tiny, extremely fast storage spots inside the CPU that hold data currently being worked on.
Memory hook: "CAR" — Control, ALU, Registers, the three parts riding inside every CPU.
CPU speed is measured in Hertz (Hz), more precisely in Gigahertz (GHz) for modern processors, telling you how many cycles of instructions the CPU can execute per second. A higher GHz figure generally means faster processing, though it is not the only factor in real-world speed.
4. Memory: RAM, ROM, and the Storage Hierarchy
This is the single most tested pairing in the entire chapter, and it deserves careful attention.
RAM (Random Access Memory) is temporary, volatile memory. "Volatile" means its contents vanish the moment power is cut. RAM holds the programs and data the computer is actively using right now. Think of RAM as a student's rough notebook during an exam, scribbled working, calculations, notes, all useful in the moment but wiped clean once the exam ends.
ROM (Read Only Memory) is permanent, non-volatile memory. Its contents survive even when power is switched off, and in most designs the user cannot easily rewrite it. ROM stores essential startup instructions, most famously the BIOS (Basic Input Output System), which the computer needs the instant it is switched on, before an operating system has even loaded. Think of ROM as the printed instructions stapled inside a new gadget's box, fixed, permanent, and read only.
| Feature | RAM | ROM |
|---|---|---|
| Full form | Random Access Memory | Read Only Memory |
| Volatility | Volatile (data lost on power-off) | Non-volatile (data retained) |
| Function | Temporary working memory | Stores permanent startup instructions |
| Speed | Very fast | Slower than RAM |
| Writable | Yes, constantly | Rarely, if at all |
Exam trap: Students often assume "more memory" questions always mean RAM. When a question asks what "gets erased when the power goes off," the answer is RAM. When it asks what "stores the BIOS" or "retains data without power," the answer is ROM. Read the question stem carefully; the word "volatile" is the giveaway for RAM.
Types of ROM Worth Knowing
- PROM (Programmable ROM): can be written once by the user, then becomes permanent.
- EPROM (Erasable Programmable ROM): can be erased using ultraviolet light and reprogrammed.
- EEPROM (Electrically Erasable Programmable ROM): can be erased and rewritten electrically, no UV light needed, the basis for modern flash memory.
Secondary Storage
RAM and ROM sit inside the CPU's close reach, but secondary storage holds larger amounts of data permanently: hard disk drives (HDD), solid-state drives (SSD), pen drives, and optical discs (CD, DVD). Storage capacity is measured in bytes, and it climbs in this order:
Bit → Byte → Kilobyte (KB) → Megabyte (MB) → Gigabyte (GB) → Terabyte (TB) → Petabyte (PB)
A byte equals 8 bits, and each higher unit is roughly 1024 times the one below it in the technical (binary) convention used inside operating systems.
Memory hook: "Big Boxes Keep Moving Goods to Trains, Perfectly" — Bit, Byte, KB, MB, GB, TB, PB, in ascending order.
5. Operating Systems: The Traffic Controller
An operating system (OS) is system software that manages all hardware and software resources, acting as an interface between the user and the machine. Without an OS, you would need to write raw machine code just to open a file. Common examples include Windows, Linux, macOS, Android, and iOS.
Picture the OS as a railway control room. Multiple trains (programs) want to run on limited tracks (CPU time and memory) at the same time. The control room decides which train moves when, prevents collisions, and keeps the whole system from grinding to a halt. That is precisely what an OS does with running programs: it schedules them, allocates memory, manages files, and handles input-output requests.
Key functions of an OS:
- Process management: deciding which program gets CPU time and when.
- Memory management: allocating RAM to running programs and reclaiming it when done.
- File management: organising data into files and folders, tracking where each is stored.
- Device management: coordinating hardware like printers and keyboards through drivers.
- User interface: providing either a Command Line Interface (CLI), where users type text commands, or a Graphical User Interface (GUI), where users click icons and windows.
Exam trap: MS-DOS is a CLI-based operating system, while Windows is GUI-based. A question describing "an OS where the user types commands with no icons" is describing DOS, not Windows, even though both are Microsoft products.
File Extensions Worth Memorising
File extensions tell the OS which program should open a file. This table covers extensions that appear repeatedly in RRB and SSC papers.
| Extension | File Type |
|---|---|
| .txt | Plain text file |
| .doc / .docx | MS Word document |
| .xls / .xlsx | MS Excel spreadsheet |
| .ppt / .pptx | MS PowerPoint presentation |
| Portable Document Format | |
| .jpg / .jpeg / .png | Image files |
| .mp3 | Audio file |
| .mp4 | Video file |
| .exe | Executable program file |
| .zip / .rar | Compressed archive files |
| .html | Web page file |
6. MS Office Basics: The Tools You Will Actually Use
Microsoft Office is a suite of application software, and three programs matter most for exams and for real railway office work: MS Word, MS Excel, and MS PowerPoint.
MS Word
Word is a word processor, used to create, edit, and format text documents. Key terms you should recognise instantly:
- Toolbar/Ribbon: the strip of icons at the top offering formatting options.
- Font: the style and size of text; common shortcut Ctrl+B for bold, Ctrl+I for italic, Ctrl+U for underline.
- Header and Footer: repeated text at the top or bottom of every page, such as a page number or document title.
- Mail Merge: a feature that combines a standard letter template with a list of names and addresses to generate personalised copies, useful for sending the same circular to many stations with different addresses filled in automatically.
MS Excel
Excel is a spreadsheet program, organised into rows (numbered) and columns (lettered), with each intersection called a cell. A cell is identified by its column letter followed by its row number, for example B5 means column B, row 5.
- Formula: always begins with an equals sign, for example =A1+A2 adds the values in cells A1 and A2.
- SUM function: =SUM(A1:A10) adds every value from cell A1 through A10.
- Worksheet vs Workbook: a worksheet is a single grid (one sheet/tab), a workbook is the entire file that can contain multiple worksheets, similar to how a single train register page (worksheet) sits inside a larger logbook (workbook) covering the whole month.
Exam trap: A worksheet is not the same as a workbook. If a question asks "what is a single Excel file called," the answer is workbook, not worksheet.
MS PowerPoint
PowerPoint is a presentation software used to build slide shows, combining text, images, and transitions. Key term: Slide Master, a template slide that controls the formatting applied consistently across every slide in a presentation, so changing the master once updates every slide that follows it.
7. Internet Basics: Connecting the World
The Internet is a global network of interconnected computer networks that communicate using a common set of rules. It did not appear overnight; it grew from a US defence research project called ARPANET in the late 1960s into the public network we use today.
Think of the internet as the Indian Railways network itself. Just as thousands of individual stations connect through tracks following common signalling rules so that any train can, in principle, reach any station, millions of individual computers connect through cables and satellite links following common communication rules so that any device can reach any other device.
Key Terms
- WWW (World Wide Web): the collection of websites and web pages accessible over the internet. The web is a service that runs on the internet; it is not the internet itself. This distinction is a favourite exam trap.
- Browser: software used to access and view websites, examples include Chrome, Firefox, Edge, and Safari.
- URL (Uniform Resource Locator): the address of a specific web page, for example https://www.indianrailways.gov.in.
- HTTP/HTTPS: the protocol (rule set) used to transfer web pages; the "S" in HTTPS stands for Secure, meaning the connection is encrypted.
- IP Address: a unique numeric label assigned to every device on a network, functioning like a postal address for data packets.
- Search Engine: a tool like Google or Bing that helps users find information across the web by searching an index of pages. A search engine is a website; a browser is the software you use to open that website.
Exam trap: "Internet" and "WWW" are used interchangeably in casual speech but they are technically different in exams. Internet is the physical and logical network infrastructure. WWW is a service, essentially a giant library of linked documents, that runs on top of that infrastructure. Similarly, a browser and a search engine are different: the browser is the vehicle, the search engine is one destination you visit using that vehicle.
Networks: LAN, WAN, MAN
| Type | Full Form | Coverage |
|---|---|---|
| LAN | Local Area Network | A single building or campus, like one railway divisional office |
| MAN | Metropolitan Area Network | A city or town |
| WAN | Wide Area Network | Countries or continents, the internet itself is the largest WAN |
Memory hook: Picture LAN as your own home, MAN as your whole town, and WAN as the entire country connected by rail; each is a bigger circle containing the smaller one.
8. Viruses, Security, and Safe Computing
A computer virus is a malicious program that attaches itself to files and spreads from one computer to another, often damaging data or slowing systems down. Related terms:
- Worm: similar to a virus but spreads on its own across networks without needing to attach to a file.
- Trojan Horse: malicious software disguised as a legitimate, harmless program, named after the mythological wooden horse that hid soldiers inside it.
- Antivirus software: a program designed to detect, block, and remove viruses and other malware.
- Firewall: a security system, hardware or software, that monitors and controls incoming and outgoing network traffic based on set rules, acting like a ticket checker at a station gate who decides who is allowed to pass.
Exam trap: A virus needs a host file to spread and typically needs some user action (opening a file), while a worm spreads independently across a network without needing that action. If a question describes malware that "spreads on its own across a network without attaching to any file," the answer is worm, not virus.
9. Number Systems: The Language Computers Actually Speak
Computers process everything internally using the binary number system, made of only two digits, 0 and 1. Every letter you type, every image you view, is ultimately stored as a long string of 0s and 1s.
| System | Base | Digits Used |
|---|---|---|
| Binary | 2 | 0, 1 |
| Octal | 8 | 0–7 |
| Decimal | 10 | 0–9 |
| Hexadecimal | 16 | 0–9, A–F |
We humans use the decimal system (base 10) because we naturally count on ten fingers. Computers use binary because electronic circuits have exactly two natural states, current flowing (1) or not flowing (0), like a railway signal that is either green or red with nothing meaningfully in between at the circuit level.
10. Keyboard Shortcuts and Common Terms Worth Knowing
A handful of shortcuts and terms appear repeatedly across RRB-level papers:
- Ctrl+C: Copy, Ctrl+V: Paste, Ctrl+X: Cut, Ctrl+Z: Undo, Ctrl+S: Save, Ctrl+P: Print, Ctrl+A: Select All, Ctrl+F: Find.
- Cursor: the blinking pointer showing where the next typed character will appear.
- Icon: a small picture representing a file, program, or command.
- Cookie: a small piece of data a website stores on your browser to remember your preferences or login state.
- Cache: temporary storage that keeps recently used data close at hand so the next request is faster, similar to keeping today's most-used files on the top of your desk instead of walking to the record room each time.
- Booting: the process of starting up a computer and loading the operating system into memory. Cold boot means starting from a fully powered-off state; warm boot means restarting a computer that is already on.
Quick Revision — One-Line Facts
- A computer works on the Input-Process-Output cycle.
- Hardware is physical; software is the instructions that run on it.
- Fourth-generation computers introduced the microprocessor.
- CPU has three parts: Control Unit, ALU, and Registers.
- RAM is volatile and temporary; ROM is non-volatile and permanent.
- BIOS is stored in ROM and loads before the operating system.
- 1 Byte equals 8 bits.
- Storage units rise as Bit, Byte, KB, MB, GB, TB, PB.
- An operating system manages hardware and software resources.
- MS-DOS uses a Command Line Interface; Windows uses a Graphical User Interface.
- A workbook can contain multiple worksheets in MS Excel.
- Excel formulas always begin with an equals sign.
- Mail Merge in MS Word personalises the same letter for multiple recipients.
- Slide Master in PowerPoint controls formatting across all slides.
- The Internet is the network; WWW is a service that runs on it.
- A browser opens websites; a search engine helps find information within them.
- HTTPS uses encryption; HTTP does not.
- LAN covers a building, MAN a city, WAN a country or the globe.
- A firewall monitors and filters network traffic for security.
- A worm spreads across networks on its own; a virus needs a host file.
- A Trojan Horse disguises itself as legitimate software.
- Computers internally process data using the binary number system.
- Binary uses only two digits: 0 and 1.
- Touchscreens and modems act as both input and output devices.
- Ctrl+Z is the universal Undo shortcut across most software.
- A cookie stores small bits of website preference data in your browser.
- EEPROM can be erased and rewritten electrically without UV light.
- A cell in Excel is identified by its column letter and row number.
- Cache stores frequently used data for faster access.
- Cold boot starts a fully powered-off computer; warm boot restarts one already on.
Memory Tables
Table 1: Input, Output, and Dual-Role Devices
| Category | Examples |
|---|---|
| Input only | Keyboard, mouse, scanner, microphone, joystick |
| Output only | Monitor, printer, speaker, plotter |
| Both input and output | Touchscreen, modem |
| Storage devices | Hard disk, SSD, pen drive, CD/DVD |
Table 2: RAM vs ROM vs Secondary Storage
| Feature | RAM | ROM | Secondary Storage |
|---|---|---|---|
| Volatility | Volatile | Non-volatile | Non-volatile |
| Speed | Fastest | Fast | Slower |
| Typical use | Active running programs | Startup instructions (BIOS) | Long-term file storage |
| Editable by user | Yes | Rarely | Yes |
Practice MCQs
Q1. Which part of the computer performs arithmetic and logical operations? (a) Control Unit (b) Arithmetic Logic Unit (c) RAM (d) ROM
Q2. Which of these is a non-volatile memory that retains data even after power is switched off? (a) RAM (b) Cache (c) ROM (d) Register
Q3. One byte is equal to how many bits? (a) 4 (b) 8 (c) 16 (d) 32
Q4. Which operating system uses a Command Line Interface rather than a Graphical User Interface? (a) Windows 10 (b) MS-DOS (c) macOS (d) Android
Q5. In MS Excel, a single Excel file made up of one or more worksheets is called a: (a) Worksheet (b) Workbook (c) Cell (d) Ledger
Q6. Which of the following is an example of application software? (a) Windows operating system (b) Device driver (c) MS PowerPoint (d) BIOS
Q7. What does the "S" in HTTPS stand for? (a) Server (b) Speed (c) Secure (d) System
Q8. Which term describes malicious software that spreads across a network on its own, without attaching itself to any host file? (a) Virus (b) Worm (c) Trojan Horse (d) Cookie
Q9. Which of the following file extensions belongs to an MS Excel spreadsheet file? (a) .docx (b) .pptx (c) .xlsx (d) .txt
Q10. Which number system does a computer use internally to process all data? (a) Decimal (b) Octal (c) Binary (d) Hexadecimal
Q11. Which network type typically covers the smallest geographical area? (a) WAN (b) MAN (c) LAN (d) Internet
Q12. In MS Word, which feature allows a single letter template to be personalised and sent to multiple recipients with different names and addresses? (a) Slide Master (b) Mail Merge (c) Header and Footer (d) Find and Replace
Q13. Which type of ROM can be erased and reprogrammed electrically, without the need for ultraviolet light? (a) PROM (b) EPROM (c) EEPROM (d) Cache
Q14. A device that is capable of acting as both an input and an output device is: (a) Keyboard (b) Monitor (c) Touchscreen (d) Scanner
Q15. Which generation of computers is associated with the introduction of the microprocessor? (a) First (b) Second (c) Third (d) Fourth
Answer Key
| Q | Answer | Reason |
|---|---|---|
| Q1 | (b) | ALU handles all arithmetic calculations and logical comparisons inside the CPU. |
| Q2 | (c) | ROM is non-volatile, unlike RAM, cache, and registers, which all lose data on power loss. |
| Q3 | (b) | 1 Byte equals 8 bits, the base unit used for all higher storage measurements. |
| Q4 | (b) | MS-DOS is text-command driven; Windows, macOS, and Android are all GUI-based systems. |
| Q5 | (b) | A workbook is the full file; a worksheet is just one grid/tab inside that file. |
| Q6 | (c) | PowerPoint helps a user do a specific task, the definition of application software, unlike the OS, driver, or BIOS which manage the system itself. |
| Q7 | (c) | HTTPS adds encryption (Secure) to standard HTTP web traffic. |
| Q8 | (b) | A worm self-replicates across networks; a virus needs a host file and a Trojan hides inside disguised software. |
| Q9 | (c) | .xlsx is the Excel spreadsheet format; .docx is Word, .pptx is PowerPoint, .txt is plain text. |
| Q10 | (c) | Computers use binary (0 and 1) because electronic circuits have two natural states. |
| Q11 | (c) | LAN covers a single building or campus, the smallest of the three network types listed. |
| Q12 | (b) | Mail Merge combines one template with a data list to generate personalised copies automatically. |
| Q13 | (c) | EEPROM is electrically erasable, unlike EPROM which needs UV light and PROM which is written only once. |
| Q14 | (c) | A touchscreen both accepts taps (input) and displays visuals (output), unlike the single-role devices listed. |
| Q15 | (d) | The fourth generation introduced microprocessors, replacing the integrated circuits of the third generation. |