Computer fundamentals is the largest Computer Knowledge topic in Tier 2, at about 3.2 of the 20 questions per paper across CGL 2022 to CGL 2025 (4.25 in 2022, 1.5 in 2024 and 5 in the reported 2025 paper). SSC asks two-statement questions on the CPU, the units inside it, clock speed and cache, the size of an ASCII character, registers used in the instruction cycle, and address-line arithmetic such as how many lines a 4K x 8 memory needs. The section is qualifying, but a candidate for a Computer-Proficiency post needs a higher score, so every mark matters.
In brief
- A computer is an electronic machine that accepts data as input, processes it under the control of a stored program, stores it and gives the result as output.
- The basic cycle is Input, Process, Output and Storage, often remembered as IPOS.
- Charles Babbage designed the Difference Engine and the Analytical Engine and is called the father of the computer, while Ada Lovelace wrote the first published algorithm for his engine.
- Five generations of computers are named after their switching technology: vacuum tubes, transistors, integrated circuits, microprocessors (VLSI) and artificial intelligence (ULSI).
- The Central Processing Unit is the brain of the computer and has three parts: the Arithmetic Logic Unit, the Control Unit and the registers.
- The ALU does arithmetic and logical comparisons, the Control Unit directs and coordinates every other unit, and registers are the fastest storage inside the CPU.
- Cache memory sits between the CPU and RAM and is not one of the three basic units of the CPU, a point SSC tested in January 2025.
- Every instruction passes through the machine cycle of fetch, decode, execute and store, and the clock speed in hertz sets how fast these steps run.
- The Program Counter holds the address of the next instruction and the Instruction Register holds the instruction being decoded and executed now.
- Buses carry signals inside the computer: the address bus is one-way from the CPU, the data bus is two-way and the control bus carries timing and command signals.
- The width of the address bus fixes how many memory locations can be reached, since n lines address 2 to the power n locations.
- Computers store everything in binary, and a bit is one binary digit, a nibble is 4 bits and a byte is 8 bits.
- Storage units rise in steps of 1024: KB, MB, GB, TB, PB, EB, ZB and YB.
- Character codes turn letters into numbers: ASCII uses 7 bits (128 characters) and is stored in an 8-bit byte, EBCDIC uses 8 bits and Unicode covers every script.
- Number system questions ask you to convert between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16).
- Computers are also classified by size into supercomputers, mainframes, minicomputers and microcomputers, and by data type into analog, digital and hybrid machines.
Numbers to remember
| Number | What it is |
|---|---|
| 8 bits | one byte, and the space an ASCII character occupies |
| 7 bits / 128 | standard ASCII code length and the number of characters |
| 1024 | the step between KB, MB, GB and TB |
| 2^n | locations reached by an n-line address bus |
| 1946 | ENIAC, the first general-purpose electronic digital computer |
| 1971 | Intel 4004, the first microprocessor |
| 1991 | PARAM 8000, India's first supercomputer, built by C-DAC |
| 4 bits | one nibble, and one hexadecimal digit |
Key formulas and rules
- Machine cycle = Fetch, Decode, Execute, Store
- The PC points to the next instruction and the IR holds the current one.
- CPU = ALU + CU + Registers
- Cache is not one of the three basic units.
- Addressable locations = 2^n
- n is the number of address lines.
- Address lines = log2(locations)
- 4K = 2^12 gives 12 lines.
- 1 nibble = 4 bits; 1 byte = 8 bits
- One hex digit is one nibble.
- 1 KB = 1024 B; 1 MB = 1024 KB; 1 GB = 1024 MB; 1 TB = 1024 GB
- Binary prefixes step by 2^10.
- ASCII = 7 bits (128 codes), stored in 1 byte
- Extended ASCII uses all 8 bits for 256 codes.
- Decimal value = Σ digit x base^position
- Positions count from 0 at the right.
Common traps
- Calling cache memory one of the three main units of the CPU is wrong, because the third unit is the register set.
- Saying the Control Unit processes data is wrong, because it only directs the other units.
- Mixing up the Program Counter and the Instruction Register is common: the PC holds the next address and the IR the current instruction.
Solved examples
Q. Which of the following statements about the Central Processing Unit (CPU) is/are correct? 1. The CPU is often referred to as the 'brain' of the computer. 2. The CPU consists of three main units: the control unit (CU), arithmetic logic unit (ALU), and cache memory. Options: Neither 1 nor 2, Only 2, Only 1, Both 1 and 2. (CGL 2024 Tier 2, 20 Jan 2025)
Answer: Only 1
Step 1: Statement 1 is correct, because the CPU controls and processes everything and is called the brain. Step 2: Statement 2 is wrong, because the three basic units are the CU, the ALU and the registers, while cache is a separate fast memory. Step 3: Only statement 1 is correct.
Q. Select which statement(s) is/are True or False for the CPU. (i) The CPU's clock speed controls the timing and execution speed of instructions. (ii) The CPU's cache memory provides high-speed access to frequently used instructions and data. (CGL 2024 Tier 2, 18 Jan 2025)
Answer: (i) True, (ii) True
Step 1: The clock sets the pace of the fetch-decode-execute cycle, so (i) is true. Step 2: Cache holds recently and frequently used data close to the CPU, so (ii) is true. Step 3: Both are true.
Q. What is the size of each ASCII character in bits? Options: 4 bits, 16 bits, 8 bits, 5 bits. (CGL 2024 Tier 2, 20 Jan 2025)
Answer: 8 bits
Step 1: Standard ASCII defines 128 characters, which need 7 bits. Step 2: Each character is stored in one byte of 8 bits, with the extra bit used for parity or extended ASCII. Step 3: Of the options, 8 bits is correct, and 7 bits is not offered.
What the full notes cover
- What a computer is and how it works
- History and the five generations
- Types and classes of computers
- The CPU and its units
- Registers and the instruction cycle
- Buses and address-line arithmetic
- Data units and character codes
- Number systems and conversions
- Logic gates in brief
- How SSC asks this topic