Skip to content

Monday, 16 November 2026 · New Delhi

Static GK· Prelims

Computer fundamentals for prelims: generations, memory, networks and internet

Computers, memory, number systems, software and networks: the fundamentals prelims and RRB NTPC repeat, from ENIAC and the five generations to IP addresses, NFC and firewalls.

By Raja Parmar15 November 2026Updated 15 November 202614 min readbasic
Computer fundamentals for prelims: generations, memory, networks and internet | UPSC

A computer is an electronic device that takes in data, processes it according to stored instructions, and produces information as output. For prelims and for railway exams such as RRB NTPC, computer fundamentals is a high-yield static topic: the same facts about generations, memory, number systems and networks recur year after year, and this article gathers them in one place.

Generations of computers

ENIAC is the first general-purpose electronic computer. Its full name is the Electronic Numerical Integrator and Computer, and it was completed in 1945 at the University of Pennsylvania. ENIAC used vacuum tubes as its switching elements, which made it enormous, power-hungry and slow by modern standards, but it proved that an electronic machine could perform general calculations.

The first generation of computers, from the 1940s to the mid-1950s, ran on vacuum tubes. Machines of this generation were large, generated a great deal of heat, and used machine language, the lowest level of programming, in which instructions are written as binary digits.

The second generation, from the late 1950s, replaced vacuum tubes with transistors. A transistor is a small semiconductor device that switches and amplifies electronic signals. Transistor-based computers were smaller, faster, cooler and more reliable than vacuum-tube machines, and they used assembly language as well as early high-level languages.

The third generation, from the mid-1960s, was built around integrated circuits, often shortened to ICs. An integrated circuit is a silicon chip carrying many transistors and other components on a single piece of material. ICs made computers cheaper, smaller and still more reliable, and operating systems became common.

The fourth generation, from the 1970s, is built on the microprocessor. A microprocessor is an entire central processing unit fitted onto a single chip. Microprocessors made the personal computer possible, and they brought computers into homes, offices and schools.

The fifth generation is the generation of parallel processing and artificial intelligence. Parallel processing is the use of many processors working on different parts of a problem at the same time. Fifth-generation research aims at machines that understand natural language, learn from experience and solve problems the way experts do.

Generation

Core technology

Marker

First

Vacuum tubes

ENIAC, completed in 1945

Second

Transistors

Smaller, faster and cooler than vacuum-tube machines

Third

Integrated circuits

Many transistors on one silicon chip

Fourth

Microprocessors

The whole CPU on one chip; personal computers

Fifth

Parallel processing and AI

Knowledge-based systems and natural language

Asked in RRB NTPC 2021

Input and output devices

An input device is a device that feeds data and instructions into a computer. The keyboard is the most common input device, and a mouse, a scanner, a microphone and a webcam are other examples. An input device converts what the user types, clicks or speaks into a form the computer can process.

An output device is a device that presents processed information to the user. The monitor, also called the Visual Display Unit or VDU, is the main output device. Printers and speakers are also output devices: a printer puts results on paper, and a speaker turns digital sound into audible sound.

The CPU is the Central Processing Unit, the brain of the computer. It has two main parts: the Arithmetic Logic Unit, or ALU, which performs calculations and logical comparisons, and the Control Unit, which directs the flow of data and instructions inside the computer.

The cabinet, often called the system unit, is the box that houses the main parts of a computer, such as the motherboard, the processor, the memory and the power supply. The motherboard is the main circuit board that connects all of these parts together.

A printer is an output device that produces a hard copy of data on paper. A line printer prints one whole line at a time and is used for high-volume printing. A daisy-wheel printer is an impact printer that strikes characters from a wheel of raised type, giving letter-quality print. A laser printer is a non-impact printer that uses a laser beam and toner powder, and it is fast and produces high-quality output. A drum printer is an impact printer that prints a whole line at once using a rotating drum, and it is also built for high speed.

Asked in RRB NTPC 2021

Memory: primary, secondary and storage

Primary memory is the memory a computer uses while it is working. It is fast and directly accessible to the processor, but it is limited in size. Primary memory is divided into RAM and ROM.

RAM is Random Access Memory. It is the working memory of the computer, and it is volatile, which means its contents are lost when the power is switched off. Every program and file that is open is held in RAM while it is in use.

ROM is Read Only Memory. It is non-volatile, which means its contents stay in place when the power is off. ROM holds the startup instructions that wake the computer up and load the operating system, a small program often called the BIOS.

Cache memory is a small, very fast memory placed between the processor and the main memory. It holds the data and instructions the processor uses most often, so the processor wastes less time waiting for main memory and the computer runs faster.

Secondary memory is the memory used for long-term storage. It is slower than primary memory but much larger, and its contents survive switching the computer off. A hard disk stores data magnetically on spinning plates and offers large capacity at low cost. An SSD, or Solid State Drive, stores data on flash memory chips with no moving parts, so it is faster and more durable than a hard disk. An optical disc, such as a CD, a DVD or a Blu-ray disc, stores data as tiny pits read by a laser beam.

Memory type

Nature

Key fact

RAM

Primary, volatile

Working memory; contents lost at switch-off

ROM

Primary, non-volatile

Holds startup instructions

Cache memory

Primary, very fast

Holds frequently used data near the CPU

Hard disk

Secondary

Magnetic storage with large capacity

SSD

Secondary

Flash storage, faster than a hard disk

Optical disc

Secondary

CD, DVD and Blu-ray, read by a laser

Asked in RRB NTPC 2021

Data representation and number systems

Data representation is the way a computer stores numbers, letters and symbols as binary digits. A bit is a single binary digit, either 0 or 1, and a byte is a group of 8 bits. One byte can represent one character, such as a letter or a digit.

The binary system is a number system with base 2, using only the digits 0 and 1, and it is the system computers actually work in. The decimal system is the base 10 system people use every day, with digits 0 to 9. The hexadecimal system is a base 16 system using digits 0 to 9 and letters A to F, and it is used as a shorthand for long binary numbers because one hexadecimal digit stands for exactly four bits.

ASCII is the American Standard Code for Information Interchange, a code that represents characters as numbers. ASCII uses 7 bits and covers 128 characters, including letters, digits and punctuation. Unicode is a wider standard that covers characters from scripts around the world, including Indian languages, so that text in many languages can be stored and exchanged on the same computer.

MIPS is Million Instructions Per Second, a measure of how fast a processor executes instructions. VLSI is Very Large Scale Integration, the technology of packing thousands of transistors onto a single chip, which made the third and fourth generations of computers possible.

Software, languages and the operating system

System software is software that manages the computer hardware and provides a platform for other programs. The operating system is the most important example of system software. Application software is software written to perform a specific task for the user, such as a word processor, a spreadsheet, a web browser or a media player.

An operating system is the program that controls a computer. Its functions are to manage the processor, to manage memory, to manage files and folders, to control input and output devices, to provide a user interface, and to protect the computer from unauthorised access.

A flowchart is a design tool: a diagram that shows the steps of a program using standard symbols, such as ovals for start and stop and diamonds for decisions. Pseudocode is another design tool: a plain-language outline of a program's logic, written before the real code is written, so that the logic can be checked and corrected early.

A low-level language is a programming language close to the hardware. Machine language is written in binary digits and is the only language the processor understands directly, while assembly language uses short codes such as ADD and MOV instead of binary, and needs an assembler to translate it into machine language. A high-level language such as C, Java or Python is close to human language, easier to write and to read, and works on different machines.

A compiler is a translator that converts a whole high-level program into machine code in one pass before the program runs. An interpreter is a translator that converts and executes a program line by line, stopping at the first error it meets. A compiled program runs faster, while an interpreted program is easier to test and correct.

Networks, the internet and security

A computer network is a group of connected computers that share data and resources. A LAN, or Local Area Network, connects computers in a small area such as an office or a building. A WAN, or Wide Area Network, connects computers across cities or countries. The internet is the largest network in the world, a network of networks that links computers in every country.

Full-duplex is a mode of data transmission in which data flows in both directions at the same time. A telephone conversation is the classic example, because both people can speak and listen at once. In half-duplex, data flows in both directions but only one way at a time, as in a walkie-talkie, and in simplex, data flows in one direction only, as in a radio broadcast.

TELEX is short for teleprinter exchange, an early network that sent typed messages between teleprinters over telephone lines. It was the business messaging system of its day, and it is now a historical background fact rather than a current technology.

Data mining is the process of finding useful patterns in large collections of data, such as discovering which products customers buy together. Cloud computing is the delivery of computing services over the internet, so data is stored and accessed offsite rather than on the user's own machine, which keeps it secure and available from anywhere.

ADSL is Asymmetric Digital Subscriber Line, a technology that sends data over ordinary telephone lines. It is asymmetric because downloads are faster than uploads. An IP address is a numeric label that identifies a device on a network, so that data can be routed to the right machine. A URL is a Uniform Resource Locator, the address of a resource on the internet, such as a web page.

NFC is Near Field Communication, a short-distance, high-frequency wireless technology used for contactless payments and for pairing devices by tapping them together. Bluetooth is a short-range wireless technology that connects devices such as phones, headphones and speakers without cables. A router is a device that connects networks and directs data between them, and it is the device that creates a wireless network in a home or office.

A firewall is a security system that controls traffic between a trusted network and an untrusted one, blocking what is harmful and letting through what is safe. A proxy firewall filters traffic by acting as a middleman between the user and the internet, a stateful inspection firewall tracks the state of active connections, a UTM firewall combines several security tools into one device, and a next-generation firewall adds deep inspection of applications and protection against modern attacks.

Asked in RRB NTPC 2021

Prelims practice

Q1Prelims practice

ENIAC, the first general-purpose electronic computer, was based on which technology?

Show answer

Answer: (A) ENIAC used vacuum tubes; transistors came with the second generation.

Q2Prelims practice

Which of the following printers uses a laser beam and toner powder?

Consider the following statements:

1. RAM is volatile memory, so its contents are lost when the power is switched off.

2. ROM is non-volatile memory and holds the startup instructions of a computer.

Show answer

Answer: (B) A laser printer uses a laser beam and toner powder and gives fast, high-quality output.

Q3Prelims practice

Which of the statements given above is/are correct?

Show answer

Answer: (C) RAM is volatile and ROM is non-volatile and holds startup instructions, so both statements are correct.

Q4Prelims practice

Which of the following is an example of full-duplex communication?

Show answer

Answer: (A) In a telephone conversation both people can speak and listen at the same time, which is full-duplex.

Q5Prelims practice

In the context of the internet, URL stands for:

Show answer

Answer: (A) URL is Uniform Resource Locator, the address of a resource on the internet.

Answer key

  • (a): ENIAC used vacuum tubes; transistors came with the second generation.

  • (b): A laser printer uses a laser beam and toner powder and gives fast, high-quality output.

  • (c): RAM is volatile and ROM is non-volatile and holds startup instructions, so both statements are correct.

  • (a): In a telephone conversation both people can speak and listen at the same time, which is full-duplex.

  • (a): URL is Uniform Resource Locator, the address of a resource on the internet.

Mains Practice question

Quick recall: List the five generations of computers with the core technology of each.

  • First generation: vacuum tubes, with ENIAC completed in 1945 as the leading example.

  • Second generation: transistors, smaller, faster and cooler than vacuum-tube machines.

  • Third generation: integrated circuits, many transistors on one silicon chip.

  • Fourth generation: microprocessors, the whole CPU on one chip, leading to personal computers.

  • Fifth generation: parallel processing and artificial intelligence, including knowledge-based systems.

Quick recall: Explain the difference between primary and secondary memory with two examples of each.

  • Primary memory is fast, directly accessible to the processor and limited in size; examples are RAM and ROM.

  • RAM is volatile and holds open programs, while ROM is non-volatile and holds startup instructions.

  • Secondary memory is slower but much larger and keeps data after switch-off; examples are hard disks and SSDs.

  • Optical discs such as DVDs are a further example of secondary storage, read by a laser.

Frequently asked questions

What is the difference between RAM and ROM?

RAM is Random Access Memory, the volatile working memory that holds open programs and is emptied at switch-off. ROM is Read Only Memory, the non-volatile memory that holds the startup instructions and keeps its contents when the power is off.

What is the largest computer network in the world?

The internet is the largest network in the world, a network of networks that links computers in every country and lets them share data and services.

What does MIPS stand for?

MIPS is Million Instructions Per Second, a measure of how fast a processor executes instructions. It is one of the oldest ways of comparing processor speed.

What is a firewall?

A firewall is a security system that controls traffic between a trusted network and an untrusted one. Its main types are the proxy firewall, the stateful inspection firewall, the UTM firewall and the next-generation firewall.

Static GKComputer Fundamentalsupsc-prelimsexplained

Related articles

Continue your preparation with more on this topic.

World geography reference: rivers and cities, tribes, minerals, islands | UPSCStatic GKWorld geography reference: rivers and cities, tribes, minerals, islandsFive prelims matching tables: world rivers and the cities on them, world tribes and their regions, world minerals and industrial centres, world islands by size and country, and world cities and their sobriquets.Superlatives of India and the world: longest, largest, deepest and tallest | UPSCStatic GKSuperlatives of India and the world: longest, largest, deepest and tallestLongest river, deepest lake, largest island, tallest waterfall: India and world superlatives with the basis stated for each, so the length, area, volume and height answers stay distinct.Important days for prelims: national and international observances | UPSCStatic GKImportant days for prelims: national and international observancesAround 85 important days prelims asks, one line each: national days, UN observances and environment, health and science days, with practice questions.Firsts in India for prelims: women, institutions, space and sport | UPSCStatic GKFirsts in India for prelims: women, institutions, space and sportThe firsts prelims repeats: first woman IPS and IAS, first woman Olympic medallist, first Indian in space, first Booker winner, first census, railway, newspaper and university, with practice questions.Countries, capitals and currencies: all 195 countries for prelims | UPSCStatic GKCountries, capitals and currencies: all 195 countries for prelimsAll 195 countries with capital and currency, current as of late 2026, plus the parliament names prelims repeats: Diet, Bundestag, Duma, Knesset, Majlis, Jatiya Sangsad, Tshogdu and Cortes Generales.Books and authors for prelims: Indian and world classics, Booker and Sahitya Akademi winners | UPSCStatic GKBooks and authors for prelims: Indian and world classics, Booker and Sahitya Akademi winnersAuthor and work pairs prelims repeats: Indian Booker winners, the Sahitya Akademi 2025 winners in 24 languages, Indian classics and world classics, with practice questions.