Computer Fundamentals: Generations, Devices and Number Systems for SSC

A friendly guide to computer basics for SSC CGL, CHSL and bank exams, covering the five generations, hardware and software, input and output devices, the CPU, number system conversions with worked steps, and storage units.

Reviewed by (19 years teaching)Written with AI helpReport a mistake

8 min read · Published 2 November 2026

Part of SSC CGL prep

The kitchen that cooks your data

Think of a computer as a kitchen. The input devices (keyboard, mouse, scanner) are the vegetables and spices coming in. The CPU is the cook who follows the recipe: the Control Unit reads the recipe step by step, and the ALU does the actual chopping and mixing. Memory is the kitchen counter where things are kept while cooking, and the output devices (monitor, printer) serve the finished dish. Every question in this chapter is about one part of this kitchen.

What this chapter tests

SSC CGL Tier-II has a computer knowledge module, and CHSL, MTS and bank exams also ask basic computer questions. From this chapter you can expect direct fact questions on generations, devices and full forms, and short calculation questions on number system conversions. The facts take seconds once learnt, and conversions follow a fixed method, so this is one of the easiest chapters to score full marks in.

The five generations of computers

GenerationMain technologyExample or feature
First (about 1946 to 1956)Vacuum tubesENIAC, UNIVAC; huge, hot, used machine language
Second (about 1956 to 1963)TransistorsSmaller, faster, less heat; assembly language
Third (about 1964 to 1971)Integrated circuits (ICs)Many transistors on one chip; keyboards and monitors
Fourth (1971 onwards)Microprocessors (VLSI)Personal computers; whole CPU on one chip
Fifth (present and future)Artificial intelligence, ULSIParallel processing, natural language
The most common slip is swapping the second and third generations. Remember the order of size: tube, then transistor, then a chip full of transistors (IC), then a whole CPU on a chip (microprocessor).

Hardware, software and devices

Hardware is any physical part you can touch, such as the motherboard, hard disk or keyboard. Software is a set of programs that tells the hardware what to do, such as Windows, MS Word or a device driver. Input devices send data into the computer, output devices bring results out, and a few devices, like a touch screen, do both.

Input devicesOutput devicesBoth
Keyboard, mouse, joystickMonitor, projectorTouch screen
Scanner, webcam, microphonePrinter, plotterModem (sends and receives)
OMR, OCR, MICR, barcode readerSpeaker, headphonesHeadset with microphone

Quick check

Which device is used to read the code line printed in magnetic ink at the bottom of cheques?

Inside the CPU

The CPU (Central Processing Unit) has three main parts. The ALU (Arithmetic Logic Unit) does all calculations and comparisons. The CU (Control Unit) fetches each instruction, decodes it and directs the other parts, but it does not calculate. Registers are tiny, very fast storage places inside the CPU that hold the data being worked on right now.

Number systems and conversions

SystemBaseDigits used
Binary20, 1
Octal80 to 7
Decimal100 to 9
Hexadecimal160 to 9, A (10) to F (15)
Decimal to base b: divide by b again and again, then read the remainders from bottom to top. Base b to decimal: multiply each digit by its place value (1, b, b², b³ ...) and add.

Worked example: decimal to binary

Convert 45 to binary.

45 ÷ 2 = 22 r 1, 22 ÷ 2 = 11 r 0, 11 ÷ 2 = 5 r 1, 5 ÷ 2 = 2 r 1, 2 ÷ 2 = 1 r 0, 1 ÷ 2 = 0 r 1.

Read the remainders upward: 101101.

Check: 32 + 8 + 4 + 1 = 45.

Worked example: hexadecimal to decimal

Convert (2AF)₁₆ to decimal.

Place values from the right: 1, 16, 256. A = 10 and F = 15.

2 × 256 + 10 × 16 + 15 × 1 = 512 + 160 + 15 = 687.

Binary to octal or hexadecimal without decimal

  1. 1Start from the right-hand end of the binary number.
  2. 2For octal, make groups of 3 bits; for hexadecimal, make groups of 4 bits. Add zeros on the left if needed.
  3. 3Change each group into one digit: 110 = 6, 101 = 5, 1010 = A, 1001 = 9.
  4. 4Write the digits in the same order: 110101 = (65)₈ and 10101001 = (A9)₁₆.

Quick check

What is the decimal value of the binary number 110110?

Complements: the 1's complement flips every bit, and the 2's complement adds 1 to that. For 01100100, the 1's complement is 10011011 and the 2's complement is 10011100. Exams often put the 1's complement in the options of a 2's complement question.

Units of storage

A bit is a single 0 or 1. Four bits make a nibble and eight bits make a byte. After that, each unit is 1024 times the previous one in the binary convention used for memory: 1 KB = 1024 bytes, 1 MB = 1024 KB, 1 GB = 1024 MB, 1 TB = 1024 GB and 1 PB = 1024 TB. With n bits you can store 2ⁿ different values, so 8 bits give 256 values from 0 to 255.

Quick check

What is the minimum number of bits needed to write 300 in binary?

  • Generations: vacuum tubes, transistors, ICs, microprocessors, AI.
  • Charles Babbage is the Father of the Computer.
  • Hardware can be touched; software is programs. A touch screen is both input and output.
  • CPU = ALU (calculates) + CU (directs) + registers.
  • OMR = marks, OCR = characters, MICR = cheques.
  • Decimal to base b: divide and read remainders upward.
  • Binary to octal: groups of 3; binary to hex: groups of 4.
  • n bits give 2ⁿ values; 8 bits give 0 to 255.
  • 1 KB = 1024 bytes and each next unit is 1024 times bigger.
Exam strategy: answer the fact questions first, since they take seconds, then do conversions. Always convert your answer back to decimal to check it. That five-second check catches reversed remainders and wrong groupings, which are the two traps examiners use most.

Ready to test yourself?

Lock it in with the practice test for this chapter.

Take the practice test

Keep studying

See all SSC CGL study material →