Computer Fundamentals

Free preview
This is a free preview chapter. Unlock all of IBPS Clerk

Generations and Types of Computers

The Five Generations at a Glance
Notes

Computer generations are defined by their core electronic component. Memory aid 'VTIMA': 1st Gen (1940-56) = Vacuum tubes (ENIAC, UNIVAC); 2nd Gen (1956-63) = Transistors; 3rd Gen (1964-71) = Integrated Circuits (ICs); 4th Gen (1971-present) = Microprocessors (VLSI); 5th Gen (present-future) = Artificial Intelligence / ULSI. Speed and reliability increased while size, cost, and power consumption decreased with each generation. IBPS Clerk frequently asks 'which component belongs to which generation' — lock in V-T-I-M-A in order. Note: the first general-purpose electronic computer was ENIAC; the first commercial computer was UNIVAC. The 5th generation focuses on AI, parallel processing, and natural language.

Classification by Size and Purpose
Summary

By data handling: Analog (measures continuous data like temperature/speed), Digital (counts discrete 0s and 1s — most common), and Hybrid (combines both, used in hospitals/ICU monitors). By size, smallest to largest: Microcomputer (PC, laptop) < Minicomputer < Mainframe < Supercomputer. Supercomputers (e.g., India's PARAM, developed by C-DAC) are fastest and used for weather forecasting and research; speed is measured in FLOPS. Mainframes serve large organisations (banks, railways) handling thousands of users simultaneously. By purpose: General-purpose vs Special-purpose (designed for one task, e.g., ATM, traffic signal). Remember: a Supercomputer is NOT the same as a mainframe — supercomputer = speed, mainframe = many users.

Quick Example: Matching Machines
Worked example

Q-style mapping you must memorise: ENIAC, EDVAC, UNIVAC → Vacuum tube (1st Gen). PARAM, Cray, SUMMIT → Supercomputers (4th/modern). India's first supercomputer = PARAM 8000 (1991, C-DAC). The first digital computer concept → Charles Babbage's Analytical Engine, making Babbage the 'Father of the Computer'. The ABC (Atanasoff-Berry Computer) is often cited as the first electronic digital computer. For ICU/petrol-pump machines that show continuous readings → Hybrid/Analog. Speed unit chain to recall: ms (10^-3) > microsecond (10^-6) > nanosecond (10^-9) > picosecond (10^-12), each 1000x faster.

Computer Hardware and Components

The CPU and Its Three Units
Notes

The CPU (Central Processing Unit) is the 'brain' of the computer. It has THREE parts: (1) ALU (Arithmetic Logic Unit) — performs all arithmetic (+, -, ×, ÷) and logical (compare, AND/OR) operations; (2) CU (Control Unit) — directs and coordinates all operations, acts like a traffic police but does NOT process data; (3) Registers / MU — small high-speed storage inside CPU. Memory hook: 'A Control Register' = ALU + CU + Registers. The CPU is also called the microprocessor in PCs. Clock speed is measured in Hertz (GHz). Examples of input→process→output flow always pass through the CPU. The motherboard is the main circuit board that connects CPU, memory, and all components.

Input vs Output Devices — Don't Mix Them
Summary

INPUT devices send data INTO the computer: keyboard, mouse, scanner, joystick, light pen, microphone, webcam, barcode reader, OMR, OCR, MICR (used on cheques!). OUTPUT devices send data OUT to the user: monitor, printer, speaker, plotter, projector. Trick devices: a Touchscreen and a Modem are BOTH input and output. A printer is output; a scanner is input. MICR (Magnetic Ink Character Recognition) is heavily tested — it reads the special magnetic numbers at the bottom of bank cheques. Memory aid: if a human feeds it → input; if it shows/gives a result → output. Monitors are measured diagonally; resolution is in pixels.

Example: Tracing a Banking Transaction
Worked example

When a clerk enters a cheque: the MICR reader (INPUT) reads the magnetic code → data travels to CPU via the motherboard → ALU verifies the amount, CU controls the sequence → result stored temporarily in RAM (primary memory) → final record saved to hard disk (secondary storage) → a receipt is produced on a printer (OUTPUT) and shown on the monitor (OUTPUT). Note the device categories: MICR = input, printer/monitor = output, RAM = volatile primary memory, hard disk = non-volatile secondary memory. Ports connect devices: USB (universal), HDMI/VGA (display), Ethernet (network). This single chain answers many 'which is input/output/storage' questions in one go.

Memory and Storage Devices

Primary vs Secondary Memory
Notes

PRIMARY (main) memory is directly accessed by the CPU and includes RAM and ROM. RAM (Random Access Memory) is volatile — contents are LOST when power is off — and is the computer's working/temporary memory. ROM (Read Only Memory) is non-volatile — it RETAINS data without power and stores boot/BIOS instructions. SECONDARY memory is permanent, non-volatile external storage: hard disk, SSD, pen drive, CD/DVD, memory card. The CPU cannot directly access secondary memory; data must first move to RAM. Cache memory sits between CPU and RAM and is the FASTEST. Speed order (fast→slow): Registers > Cache > RAM > Secondary storage. Volatility hook: RAM = 'Random/temporary', ROM = 'Retained'.

Memory Units — The Size Ladder
Formulas

Smallest unit = Bit (binary digit, 0 or 1). 4 bits = 1 Nibble. 8 bits = 1 Byte. The ascending ladder, each step ×1024: Byte → KB (Kilobyte) → MB (Megabyte) → GB (Gigabyte) → TB (Terabyte) → PB (Petabyte) → EB (Exabyte) → ZB → YB. Memory aid for order: 'Kind Men Give Tasty Pizza Every... ' (K-M-G-T-P-E). 1 KB = 1024 bytes; 1 MB = 1024 KB; 1 GB = 1024 MB. A single character (like 'A') typically takes 1 byte (8 bits) in ASCII. Speed tip: to convert GB to MB, multiply by 1024; to go up a level, divide by 1024. These conversions appear directly in IBPS Clerk MCQs.

Types of RAM and ROM
Summary

RAM has two types: DRAM (Dynamic) — needs constant refreshing, cheaper, used as main memory; SRAM (Static) — faster, no refresh needed, used in cache, more expensive. ROM variants: PROM (Programmable, write once), EPROM (Erasable using ultraviolet light), EEPROM (Electrically Erasable — basis of flash memory/BIOS updates). Flash memory (used in pen drives and SSDs) is a type of EEPROM. Example recall: cache uses SRAM; your laptop's 8 GB main memory is DRAM. CD-ROM = optical, read-only; CD-R = write once; CD-RW = rewritable. A typical CD holds ~700 MB, a single-layer DVD ~4.7 GB, and a Blu-ray ~25 GB. SSDs are faster than HDDs because they have no moving parts.

Number Systems and Data Representation

The Four Number Systems and Their Bases
Notes

Computers use four number systems. Binary (Base 2): digits 0,1 — the language of computers. Octal (Base 8): digits 0-7. Decimal (Base 10): digits 0-9 — human system. Hexadecimal (Base 16): digits 0-9 then A,B,C,D,E,F (A=10, B=11... F=15). Memory aid for bases: B-O-D-H = 2-8-10-16. Each binary digit is a 'bit'. A group of 4 bits maps neatly to ONE hex digit (since 2^4=16) and is also a nibble — this is why hex is used as shorthand for binary. Knowing place values (...8,4,2,1 for binary) lets you convert fast. IBPS Clerk keeps conversions small (numbers under 16), so master 0-15 in all four systems.

Binary to Decimal Conversion Trick
Formulas

To convert BINARY to DECIMAL, write place values from right to left as powers of 2: 1, 2, 4, 8, 16, 32... Then add the place values wherever there is a 1. Example: binary 1011 → positions (8 4 2 1) → 1×8 + 0×4 + 1×2 + 1×1 = 8+2+1 = 11. Reverse (DECIMAL to BINARY): repeatedly divide by 2 and read remainders BOTTOM to TOP. Example: 13 → 13/2=6 r1, 6/2=3 r0, 3/2=1 r1, 1/2=0 r1 → read up = 1101. Speed tip: memorise 8-4-2-1 columns; any number 0-15 fits in 4 bits. Quick checks: 1111=15, 1000=8, 1010=10.

Coding Schemes: ASCII, EBCDIC, Unicode
Summary

Computers store characters using coding schemes. ASCII (American Standard Code for Information Interchange) uses 7 or 8 bits, representing 128 (or 256 extended) characters — capital 'A' = 65, 'a' = 97, '0' = 48. EBCDIC (8-bit) was used on IBM mainframes. UNICODE uses up to 16/32 bits and can represent characters of almost ALL world languages (including Hindi, Chinese, emojis) — over 1 lakh characters. Memory hook: ASCII = English/basic, Unicode = Universal/all languages. BCD (Binary Coded Decimal) represents each decimal digit by 4 bits. For IBPS Clerk: remember ASCII 'A'=65 and that Unicode is the universal standard supporting Indian languages.