Computer Fundamentals

Free preview
This is a free preview chapter. Unlock all of SBI PO

Generations & Classification of Computers

Five Generations: Technology Timeline
Notes

Memorize generations by their CORE switching technology: Gen-1 (1940-56) Vacuum Tubes; Gen-2 (1956-63) Transistors; Gen-3 (1964-71) Integrated Circuits (IC); Gen-4 (1971-present) Microprocessors/VLSI; Gen-5 (present-future) Artificial Intelligence/ULSI. Memory aid: 'Tubes Transform Into Micro AI' = T-T-I-M-A. Gen-1 used machine language and punch cards (ENIAC, UNIVAC); Gen-2 introduced assembly + COBOL/FORTRAN; Gen-3 brought keyboards, monitors, OS; Gen-4 gave us PCs/GUI/networks; Gen-5 focuses on parallel processing, quantum and natural language. SBI PO frequently asks 'which technology belongs to which generation' or matches examples (ENIAC=Gen1). Note: IC was invented by Jack Kilby; the microprocessor (Intel 4004) launched Gen-4.

Classification by Size & Purpose
Notes

Open any SBI PO Computer Aptitude mock and within the first five questions you will be asked to classify a computer — by size or by the kind of data it handles. The chapter looks like trivia, but every bank-exam paper for the last decade has carried at least one question from it, and the same classifications appear in IBPS, RRB and SSC papers too.

Definition: Computers are classified in two standard ways. By size and processing power they range from supercomputers down to microcomputers. By the data they handle they are analog, digital, or hybrid.

Classification by Size and Processing Power

This is a strict hierarchy. Memorise the order, then attach an example and a use-case to each tier.

1. Supercomputers — the heavyweights

Supercomputers are the fastest, most expensive, and most powerful machines available. They use parallel processing — thousands of CPUs (often combined with GPU accelerators) work simultaneously on slices of the same problem. Their speed is measured in petaflops or exaflops (10¹⁵ or 10¹⁸ floating-point operations per second).

  • Typical uses: weather forecasting, climate simulation, nuclear research, drug discovery, oil and gas exploration, defence simulations.
  • Examples worldwide: CRAY series (USA), Frontier (Oak Ridge — first exascale machine), Fugaku (Japan).
  • India's headlines: PARAM 8000, India's first indigenous supercomputer, was built in 1991 by C-DAC, Pune under Dr Vijay Bhatkar. Newer machines in the PARAM series include PARAM-Yuva, PARAM-Siddhi-AI and PARAM-Pravega (under the National Supercomputing Mission). The PRATYUSH and MIHIR supercomputers serve the IMD and IITM for weather and ocean modelling.

2. Mainframes — the workhorses of high-volume transactions

Mainframes are very large machines that serve thousands of users simultaneously. They are optimised for input/output throughput and reliability rather than peak number-crunching.

  • Typical uses: bank transaction processing, airline reservation systems, telecom billing, Indian Railways' PRS, census data, LIC's policy database.
  • Examples: IBM Z series (z15, z16) — the standard for banks worldwide. India's SBI core banking system has historically run on IBM mainframes.

3. Minicomputers — the mid-range tier

Minicomputers (also called mid-range or mid-tier servers) sit between mainframes and PCs. They serve departments or medium-sized companies rather than the entire enterprise.

  • Typical uses: process control in factories, university computer labs, hospital information systems.
  • Examples: DEC PDP and VAX series (historical), AS/400 (now IBM iSeries).

4. Microcomputers — what you use every day

Microcomputers are built around a microprocessor on a single chip. They serve one user at a time.

  • Sub-categories: desktop PC, laptop, notebook, tablet, smartphone, embedded controllers.
  • Examples: any consumer PC or laptop.

The hierarchy: Supercomputer > Mainframe > Minicomputer > Microcomputer, with size and price descending sharply at each step.

Classification by the Data They Handle

This is a smaller but trickier classification because the SBI PO setter often plants a confusing example.

Analog Computers — measure continuous data

Analog computers represent data using continuously varying physical quantities — voltage, current, mechanical rotation, fluid pressure. The needle of a speedometer, the column of liquid in a mercury thermometer, an analog wristwatch, an old analog seismograph — all are analog devices.

Key feature: they measure rather than count, and their precision is limited by the quality of the physical measurement.

Digital Computers — count discrete data

Digital computers operate on discrete data represented in binary (0s and 1s). All modern PCs, laptops, smartphones, tablets and embedded systems are digital. They count rather than measure, and their precision is limited only by the number of bits they store.

Hybrid Computers — measure AND count

Hybrid computers combine the strengths of both: they measure analog signals from the real world, convert them through an ADC (analog-to-digital converter) into digital form for processing, and often produce both digital displays and analog outputs.

  • Real-world examples: ICU patient monitors (measure heart rhythm, blood pressure, oxygen as analog signals; show digital readouts), petrol pump dispensers (measure analog fuel flow; show digital litres-and-rupees displays), modern automotive ECUs, modern weather monitoring stations, autopilot systems in aircraft.

This last category is the SBI PO twist. The exam loves to ask: "An ICU patient monitor is an example of which type of computer?" The answer is hybrid, not digital — even though the display is digital.

Why it matters

For SBI PO, IBPS PO and clerk-level exams, Computer Awareness questions are pure marks: 5–10 of them per paper, each takes under 20 seconds, no calculation. Mastering classification alone covers 1–2 of these questions almost every year and is a foundation for the rest of the Computer Fundamentals chapter (memory, generations, hardware vs software).

Real-world example

Walk into any modern Indian hospital ICU and look at the bedside monitor: it is a hybrid computer — measuring analog signals (ECG voltage from the body, oxygen saturation from a pulse oximeter) and displaying processed digital outputs (heart rate, SpO₂%). The same principle is at the petrol pump down the street: the flow meter is analog, the rupees-and-litres counter is digital, the dispenser is hybrid.

For a glimpse of supercomputing in India, look at the daily IMD weather bulletin: the seven-day forecast you see on TV is generated on the Pratyush or Mihir supercomputer running global atmospheric models — a chain of computation no PC could ever do in time.

Common misconception

Two big errors recur in exam halls.

First, students lump everything modern under "digital". A petrol pump is digital because its display shows numbers; an ICU monitor is digital because it displays heart rate. Both are wrong. The data being measured at the front end (fuel flow, heart electrical activity) is continuous; the processing is digital; the device is therefore hybrid.

Second, students mix up generations and classifications. "Supercomputer", "mainframe", "PC" are not generations — they describe size today. Generations (first, second, third, fourth, fifth) describe the dominant component technology (vacuum tube, transistor, IC, microprocessor, AI). A modern supercomputer is a fourth/fifth-generation machine by technology but a "supercomputer" by size.

A third small slip: thinking PARAM was India's first computer. India's first computer (HEC-2M, then TIFRAC and ISIJU) came in the 1950s–60s; PARAM 8000 was India's first indigenous supercomputer, in 1991.

:::compare

Type Distinguishing Feature Real-World Example Common Trap
Supercomputer Parallel processing; petaflops PARAM-Siddhi-AI, CRAY, Frontier Confusing with mainframe
Mainframe Thousands of simultaneous users; high I/O IBM Z series in banks, IRCTC backend Calling it a "very big PC"
Minicomputer Mid-range; serves a department AS/400, DEC VAX Confusing with microcomputer
Microcomputer Single user; microprocessor based Desktop, laptop, smartphone Smartphone is microcomputer, not "mini"
Analog Measures continuous data Speedometer, mercury thermometer Treating any old device as analog
Digital Counts discrete 0/1 data Modern PC, smartphone Calling everything modern digital
Hybrid Measures + counts ICU monitor, petrol pump, autopilot Calling them digital because display is digital
:::

:::keypoints

  • Size order: Supercomputer > Mainframe > Minicomputer > Microcomputer.
  • Supercomputers use parallel processing for weather, defence, climate, research.
  • Mainframes serve thousands of simultaneous users — typical of banks, airlines, census.
  • Microcomputers are single-user, built around a microprocessor.
  • Analog measures, digital counts, hybrid does both.
  • Hybrid computers: ICU monitors, petrol pumps, modern autopilots — the SBI PO twist.
  • India's first indigenous supercomputer = PARAM 8000 (1991, C-DAC Pune).
  • "Size" classification and "generation" classification are independent — don't mix them up.
    :::

:::memory
For sizes, "SuMa Mini Micro"Supercomputer, Mainframe, Mini, Micro — in shrinking order. For data type, "A measures, D counts, H does both" — Analog–Digital–Hybrid in three words.
:::

:::recap

  • Two independent classifications: by size/power and by data type.
  • PARAM 8000 (1991, C-DAC, Pune) is the headline Indian supercomputer fact.
  • ICU monitors, petrol pumps and autopilots are hybrid, not digital — the most-tested twist.
  • Hierarchy of size descends from Supercomputer to Microcomputer; remember the four-rung ladder.
    :::
Quick-Recall Firsts & Examples
Worked example

Exam-ready 'firsts' table: First electronic computer = ENIAC; First stored-program concept = EDVAC/EDSAC (von Neumann architecture); First commercial computer = UNIVAC-1; First microprocessor = Intel 4004 (4-bit); First PC = IBM PC (1981). India: First computer = HEC-2M / TIFRAC (first indigenous); First supercomputer = PARAM 8000. Father of Computer = Charles Babbage (Analytical Engine); Father of Modern Computer = Alan Turing; von Neumann = stored-program architecture. Memory aid for von Neumann components: 'CAMI' = Control, ALU, Memory, Input/Output. These are high-frequency one-mark factual questions in SBI PO Mains computer section.

Computer Memory & Storage Hierarchy

Memory Hierarchy: Speed vs Cost vs Size
Notes

Why does your laptop have a 16 GB RAM stick AND a 1 TB SSD AND tiny CPU caches? Why not just one giant fast memory? Computer architects answered this with the memory hierarchy — a pyramid that trades speed for size.

Definition: A memory hierarchy is the layered organisation of storage in a computer system, arranged so that the fastest, costliest and smallest memory sits closest to the CPU, while slower, cheaper and larger memory sits farther away.

The five levels — fast to slow

From fastest, costliest, smallest down to slowest, cheapest, largest:

  1. Registers — built right inside the CPU; access time is a fraction of a nanosecond.
  2. Cache memory — SRAM, very fast, organised as L1 < L2 < L3 (L1 the fastest and smallest, L3 the largest and slowest of the three).
  3. Primary memory (Main memory / RAM) — DRAM; the workspace where running programs and current data live. Volatile.
  4. Secondary memory — SSDs and HDDs; non-volatile, stores files, OS, and installed software.
  5. Tertiary / off-line memory — optical discs (CD, DVD, Blu-ray), magnetic tapes; used for backups and archiving.

Memory aid: "Real Cats Run So Tirelessly" — Registers, Cache, RAM, Secondary, Tertiary.

The golden rule of the hierarchy

As you move down the pyramid, three things happen together:

  • Speed decreases (access time goes up).
  • Cost per bit decreases (you can afford more of it).
  • Capacity increases (each level is bigger than the one above).

Roughly: registers are measured in bytes, cache in kilobytes-to-megabytes, RAM in gigabytes, SSDs/HDDs in hundreds of gigabytes-to-terabytes, and tape backups in many terabytes. The price-per-GB drops by orders of magnitude with each step.

Why this design? The locality principle

Programs do not access memory randomly. They show temporal locality (a recently used address is likely to be reused soon — think loop variables) and spatial locality (addresses near a recently used one are likely to be touched next — think array elements). A small fast cache that automatically stores the most-used data behaves, on average, almost as fast as if all of RAM were that fast — at a tiny fraction of the cost.

Why it matters: This single idea is the reason a modern PC costing under ₹50,000 feels faster than a 1990s mainframe. SBI PO, IBPS PO, RRB NTPC and most computer-awareness sections ask ordering questions ("Which is faster: cache or RAM?", "Arrange in increasing order of speed"). One mnemonic and one rule will let you answer them in seconds.

Cache levels — L1, L2, L3

  • L1 cache — split into instruction cache and data cache; typically 32–64 KB per CPU core; the fastest.
  • L2 cache — larger (256 KB to a few MB) and a little slower; usually private to each core.
  • L3 cache — shared by all cores on a chip; can be 4 MB to 64+ MB; slower than L1/L2 but still much faster than RAM.

Remember: L1 is fastest and smallest; L3 is largest and slowest of the three.

Direct access — what the CPU can really see

The CPU can directly read from and write to only registers, cache, and main memory (RAM). Anything stored on the SSD, HDD, DVD or tape must first be loaded into RAM before the CPU can work on it. That is why opening a large file feels slow at first (loading from secondary storage) but smooth afterwards (now in RAM/cache).

Real-world example: When you double-click a movie file, the operating system requests the data from the SSD, copies it into RAM, and the CPU then processes it — pulling small chunks into cache as needed. If the SSD were directly used by the CPU, your movie would play frame-by-frame, every few seconds. The hierarchy hides this slowness through caching.

Common misconception: "Cache is part of RAM." It is not. Cache is SRAM built into the CPU package (in L1/L2/L3 layers), while RAM is DRAM sitting on separate sticks plugged into the motherboard. SRAM is faster and costlier per bit; DRAM is cheaper and denser.

Question: A student writes that the order from fastest to slowest is: Registers > RAM > Cache > SSD > HDD > DVD. What is wrong?

Solution:
Step 1: Recall the golden rule — higher on the pyramid = faster.
Step 2: Cache lies BETWEEN registers and RAM, not below RAM. Cache is faster than RAM.
Step 3: Within secondary memory, SSD is faster than HDD.
Conclusion: The correct order is Registers > Cache (L1 > L2 > L3) > RAM > SSD > HDD > DVD/Tape.

:::compare

Level Type Typical size Volatile? CPU direct access?
Registers SRAM (inside CPU) bytes yes yes
Cache (L1/L2/L3) SRAM KB to tens of MB yes yes
Primary (RAM) DRAM GB yes yes
Secondary (SSD/HDD) Flash / Magnetic hundreds of GB to TB no no
Tertiary (DVD/Tape) Optical / Magnetic GB to many TB no no
:::

:::keypoints

  • Memory hierarchy ranks storage from fastest+costliest+smallest to slowest+cheapest+largest.
  • Order (fast → slow): Registers > Cache > Primary (RAM) > Secondary (SSD/HDD) > Tertiary (DVD/Tape).
  • L1 < L2 < L3 in size; L1 is the fastest of the three caches.
  • Primary memory is volatile; secondary and tertiary are non-volatile.
  • CPU can directly access only Registers, Cache and RAM — never secondary storage.
  • Going down the hierarchy: speed ↓, cost/bit ↓, capacity ↑.
  • The locality principle (temporal + spatial) makes caching efficient.
    :::

:::memory
"Real Cats Run So Tirelessly" → Registers, Cache, RAM (primary), Secondary, Tertiary.
For cost-speed rule: "HFCS" — Higher = Faster, Costlier, Smaller.
:::

:::recap

  • The memory hierarchy uses speed-cost trade-offs to give cheap, fast-feeling computers.
  • Registers are fastest; tertiary storage is slowest and cheapest.
  • Cache (SRAM) bridges the CPU-RAM speed gap.
  • CPU cannot access secondary storage directly; data must first move to RAM.
    :::
RAM vs ROM, Volatile vs Non-volatile
Notes

RAM (Random Access Memory) = volatile (data lost on power-off), read/write, working memory. Types: DRAM (needs constant refresh, used as main memory, cheap) and SRAM (no refresh, used as cache, fast/costly). ROM (Read Only Memory) = non-volatile, stores BIOS/firmware. ROM types: PROM (programmed once), EPROM (erased by UV light), EEPROM (electrically erasable — used in flash). Memory aid: 'EEPROM = Electrically Erasable'. Cache and RAM are volatile; ROM, HDD, SSD, flash are non-volatile. SBI PO trap: SRAM is faster than DRAM but DRAM is denser/cheaper. Flash memory (USB drives, SSD) is a type of EEPROM.

Storage Unit Conversions (Memory Math)
Formulas

Your phone says "16 GB free", your pen-drive label reads "32 GB", and the SBI PO question paper expects you to convert one into the other in five seconds flat. Storage units look harmless until you are inside a tight time budget — that is when a clean mental model of the byte ladder becomes worth real marks.

Definition: A bit is the smallest unit of digital information — a single 0 or 1.
Definition: A byte is a group of 8 bits, and is the standard unit a computer uses to store one character of text.
Definition: A nibble is half a byte — 4 bits — useful in hexadecimal representation.

Why everything is built on 8 bits

The number 8 is not random. Early computer designers chose it because 8 bits give 2^8 = 256 distinct combinations — enough to encode every English letter (upper and lower case), every digit, common punctuation and control codes, with room to spare. That decision froze itself into hardware, memory chips, file formats, and exam syllabi. So whenever a question mentions "characters", "ASCII", or "text size", remember that one byte equals one character of plain English text.

The full ladder you must memorise

The hierarchy in ascending order is:

bit → Nibble → ByteKBMBGBTBPBEBZBYB

(KB = kilobyte, MB = megabyte, GB = gigabyte, TB = terabyte, PB = petabyte, EB = exabyte, ZB = zettabyte, YB = yottabyte.) Each step climbs by 1024 (which is 2^10) in the binary system the computer actually uses, or by 1000 in the decimal system used in marketing and on hard-disk labels. Banking exams almost always use the 1024 convention unless the question says otherwise.

Why 1024 and not a round 1000? Because computers count in powers of 2. The closest power of 2 to 1000 is 2^10 = 1024, so engineers adopted it as "one thousand-ish" for binary memory. This is exactly why your 1 TB hard disk shows up in Windows as roughly 931 GB — Windows divides by 1024 thrice while the manufacturer divided by 1000 thrice.

:::compare

Unit Symbol Binary value Decimal value
Kilobyte KB 1024 B 1000 B
Megabyte MB 1024 KB 1000 KB
Gigabyte GB 1024 MB 1000 MB
Terabyte TB 1024 GB 1000 GB
Petabyte PB 1024 TB 1000 TB
Exabyte EB 1024 PB 1000 PB
Zettabyte ZB 1024 EB 1000 EB
Yottabyte YB 1024 ZB 1000 ZB
:::

The numeric trick examiners love

Going down the ladder (bigger → smaller) means multiply by 1024. Going up (smaller → bigger) means divide by 1024. So:

  • GB → MB → KB → B: multiply by 1024 at each step
  • B → KB → MB → GB: divide by 1024 at each step

For SBI PO, a clean shortcut is to convert in one jump. Two steps down equals multiplication by 1024 × 1024 ≈ 10,48,576 (roughly one million). So 1 GB is approximately one billion bytes (10^9), 1 TB is about one trillion bytes (10^12). This rough-approximation trick lets you eliminate clearly wrong options without exact computation.

Encoding standards — how characters become bytes

Definition: ASCII (American Standard Code for Information Interchange) is the original character encoding standard that uses 7 bits per character.

Seven bits give 2^7 = 128 characters — enough for English alphabet (upper + lower), digits 0–9, punctuation, and control characters like Enter or Tab. Extended ASCII uses the 8th bit too, giving 256 characters and accommodating accented Latin letters, line-drawing symbols, and other regional marks.

Definition: Unicode is a universal encoding designed for every script on Earth, including Devanagari (Hindi), Tamil, Bengali, Chinese, Arabic and emoji.

Unicode comes in several encoding forms — UTF-8, UTF-16, UTF-32. Basic 16-bit Unicode allows 2^16 = 65,536 characters, which is why your WhatsApp can send "नमस्ते" or a laughing emoji as easily as "Hello". When a question contrasts ASCII and Unicode, the load-bearing fact is: ASCII = English only, Unicode = global scripts including Indian languages.

Why it matters: Banking IT roles and digital banking depend on reliable character storage. If your bank's database stored your name "Anushka" in plain ASCII, a customer named "अनुष्का" would corrupt instantly. So every modern Indian banking system uses Unicode under the hood — and the SBI PO syllabus tests whether you know which encoding supports Hindi.

Real-world example

Your Aadhaar PDF download is usually around 200 KB. That means it is using roughly 200 × 1024 = 2,04,800 bytes — and since one ASCII byte = one character, the file holds the equivalent of nearly two lakh English characters worth of data (text plus compressed image data). A 4 GB movie file is 4 × 1024 × 1024 × 1024 ≈ 4.29 billion bytes. A 1 TB external hard disk (sold on Flipkart) can hold roughly 250 such movies. Knowing the ladder lets you sanity-check storage claims at a glance.

Worked example

Question: A photograph is 3 MB in size. How many such photos can be stored on a 6 GB SD card? (Use 1 GB = 1024 MB.)

Solution:
Step 1: Convert the SD card capacity into MB. 6 GB = 6 × 1024 MB = 6144 MB.
Step 2: Divide total capacity by the size of one photo. Number of photos = 6144 / 3 = 2048 photos.
Conclusion: The SD card can store 2,048 photographs of 3 MB each.

Common misconception

Many candidates believe "1 KB = 1000 bytes" because the prefix "kilo" means thousand in the metric system. In the strict computing sense used by exams, 1 KB = 1024 bytes (a binary kilobyte, sometimes written as KiB). The 1000-based version is used by storage manufacturers and network speeds (Mbps). Read the question stem carefully — if it specifies "decimal" or "SI units", use 1000; otherwise default to 1024.

A second misconception: that "1 character = 1 bit". No — one bit is just a single 0 or 1, far too little to encode even the letter "A". One character of English text always equals one byte (8 bits) in ASCII.

:::keypoints

  • 1 Byte = 8 bits; 1 Nibble = 4 bits; ASCII byte = one English character.
  • Ladder: bit → Byte → KB → MB → GB → TB → PB → EB → ZB → YB.
  • Binary step = 1024 (2^10); decimal step = 1000.
  • GB → MB → KB: multiply by 1024 at each step (going down).
  • ASCII = 7 bits = 128 chars; Extended ASCII = 8 bits = 256 chars; Unicode = 16 bits = 65,536 chars (supports Hindi, emoji).
  • 1 KB = 1024 B; 1 MB = 1024 KB; 1 GB = 1024 MB; 1 TB = 1024 GB.
  • Hard-disk marketing uses 1000-based units, so a 1 TB disk shows ~931 GB in Windows.
  • Two steps down = roughly one million (used for fast option elimination).
    :::

:::memory
Order mnemonic: "Kind Men Give Tasty Pizza Every Zomato Year" → K, M, G, T, P, E, Z, Y → KB, MB, GB, TB, PB, EB, ZB, YB.
Conversion direction: "Down means ×1024, Up means ÷1024."
:::

:::recap

  • One byte equals eight bits and stores one ASCII character.
  • Each step on the ladder is 1024 in binary, 1000 in decimal.
  • ASCII handles English; Unicode handles Hindi and the world.
  • Multiply by 1024 when descending the ladder; divide when ascending.
    :::

Number Systems & Binary Logic

Four Number Systems & Their Bases
Notes

Binary (base-2, digits 0-1), Octal (base-8, 0-7), Decimal (base-10, 0-9), Hexadecimal (base-16, 0-9 then A-F where A=10...F=15). Memory aid: 'BODH' = Binary-Octal-Decimal-Hex with bases 2-8-10-16. Conversion shortcuts: every 3 binary digits = 1 octal digit; every 4 binary digits = 1 hex digit. So Binary→Octal: group bits in 3s; Binary→Hex: group in 4s (from right). Example: 11010110 → group as 1101|0110 = D6 hex; group as 011|010|110 = 326 octal. SBI PO computer section tests base conversion and digit-validity ('which is NOT a valid octal number'). Largest single hex digit F = 15 = 1111 binary.

Decimal-to-Binary Conversion Trick
Formulas

To convert decimal→binary, repeatedly divide by 2 and read remainders BOTTOM to TOP. Faster exam trick: subtract powers of 2 (128,64,32,16,8,4,2,1). Example: 45 → 32+8+4+1 → mark positions: 128(0)64(0)32(1)16(0)8(1)4(1)2(0)1(1) = 00101101. Reverse (binary→decimal): multiply each bit by its positional power of 2 and sum. Example: 101101 = 32+8+4+1 = 45. Memorize powers of 2 up to 1024: 1,2,4,8,16,32,64,128,256,512,1024. SBI PO speed tip: for a string of n ones, value = 2^n − 1 (e.g., 11111 = 2^5−1 = 31). This saves seconds in conversion-heavy questions.

Logic Gates & Boolean Basics
Notes

Basic gates: AND (output 1 only if ALL inputs 1), OR (1 if ANY input 1), NOT (inverter). Derived: NAND (NOT-AND), NOR (NOT-OR), XOR (1 if inputs DIFFER), XNOR (1 if inputs SAME). Memory aid: XOR = 'eXclusive — outputs 1 when inputs are unequal'. NAND and NOR are 'universal gates' — any circuit can be built from them alone. Truth-table quick recall for 2 inputs: AND=0001, OR=0111, XOR=0110 (for input pairs 00,01,10,11). SBI PO asks gate outputs and universal-gate identification. Boolean: A AND 0 = 0; A OR 1 = 1; A AND 1 = A; A OR 0 = A; NOT(NOT A) = A.

Hardware, Software & Operating Systems

CPU Components & Input/Output Devices
Notes

Every device you have ever used — your phone, an ATM, a railway booking counter — runs on the same basic idea: something feeds data IN, a processor crunches it, and something shows the result OUT. Master that flow once and a whole bank of SBI PO computer-aptitude questions becomes nearly automatic.

Definition: The CPU (Central Processing Unit) is the part of a computer that actually executes instructions. It is often called the "brain" of the system.

Definition: An input device is any hardware that sends data or commands INTO the computer. An output device is any hardware that brings processed information OUT to the user.

Inside the CPU: three pieces working as one

The CPU is not a single mysterious chip — it is a small team with three distinct roles. The Control Unit (CU) is the manager: it does not perform calculations itself, it tells every other part what to do next. It runs the famous fetch–decode–execute cycle, pulling the next instruction from memory, working out what it means, and dispatching it. Some books extend this to fetch–decode–execute–store because the result usually has to be written back somewhere.

The ALU (Arithmetic and Logic Unit) is the calculator. Anything mathematical (addition, subtraction, multiplication) and anything logical (greater than, equal to, AND, OR, NOT) happens here. Without the ALU your CPU could only shuffle data around, never transform it.

Registers are tiny ultra-fast storage locations inside the CPU. They hold the data the ALU is currently working on, the address of the next instruction, and a few status flags. Registers are smaller and faster than RAM — that is why CPUs do not fetch from main memory for every step.

CPU speed is measured in Hertz (Hz), more commonly MHz (millions of cycles per second) or GHz (billions). A 3.0 GHz processor can in principle run three billion basic cycles each second. Exams sometimes ask the unit of "clock speed" — always Hertz, never bytes.

Input devices: how data enters the machine

Think of input devices as the senses of the computer. The familiar list is keyboard, mouse, scanner, microphone, joystick, light pen, barcode reader and the three reading machines that bankers love — OMR, OCR and MICR. The last three appear repeatedly in SBI PO because banks rely on them every day.

  • MICR (Magnetic Ink Character Recognition) reads the funny-looking digits at the bottom of a bank cheque. The ink contains iron oxide so the reader picks up the pattern magnetically — almost impossible to forge with a photocopier. Every cheque-clearing centre in India runs on MICR.
  • OMR (Optical Mark Recognition) detects darkened bubbles. JEE, NEET and SSC OMR sheets, employee feedback forms — anywhere you "fill in a circle" — uses OMR.
  • OCR (Optical Character Recognition) turns printed or handwritten text into editable digital text. When you scan a page and the words become selectable, that is OCR at work.

Output devices: how results come out

The classic output team: monitor, printer, speaker, plotter, projector, headphones. A printer can be impact (dot-matrix), non-impact (inkjet, laser, thermal). A plotter draws large precise line graphics — used for architectural maps and engineering drawings, not ordinary text. Plotter vs printer is a common SBI PO trap; remember plotter = vector line drawings.

The tricky dual-role devices

A small but loved exam topic: devices that are BOTH input and output. The usual list is

  • Touchscreen — your fingertip is input, the changing display is output.
  • Modem — modulates outgoing signals and demodulates incoming ones.
  • Headset (mic + earphones) — microphone is input, earphones are output.
  • Network card — sends and receives.
  • Hard disk / pen drive — you read FROM and write TO them.

If a question lists "touchscreen" or "modem" under "purely input devices", the option is wrong.

:::compare

Component What it does Quick exam cue
Control Unit Directs fetch–decode–execute "Manager / director"
ALU Arithmetic + logic operations "Calculator"
Registers Ultra-fast tiny storage inside CPU "Fastest memory"
MICR Reads magnetic ink on cheques Banking, cheque clearing
OMR Reads bubble marks Answer sheets
OCR Converts printed text to editable text Document scanning
:::

Why it matters: The CPU + I/O model is the single most tested foundation in the SBI PO computer-aptitude section. Five to seven marks every year hinge on remembering which device is input, which is output, and what MICR/OMR/OCR each do. Getting these right also helps you reason about descriptive questions in banking interviews where MICR codes and IFSC processing routinely come up.

Real-world example: When you deposit a cheque at your local SBI branch, the cheque is fed through a MICR reader. The branch computer captures the account and amount, sends it through the CTS (Cheque Truncation System), and the receiving bank's CPU executes the transaction — Control Unit fetching the credit instruction, ALU updating balances, output devices printing the slip you take home. Every step is the textbook diagram in motion.

Common misconception: Students often confuse "memory" with "registers" — they are not the same. RAM is system memory outside the CPU and is in megabytes/gigabytes. Registers live INSIDE the CPU and are typically only a few bytes each. Another frequent slip: thinking a "printer" can be an input device because it accepts data. It "receives data" only to display output — its job is to OUTPUT to paper, so it is purely an output device.

Question: Which of the following is correctly matched?
(a) MICR — Library cards
(b) OMR — Answer sheets
(c) OCR — Cheque clearing
(d) Plotter — Input device

Solution:
Step 1: MICR reads magnetic ink on cheques — not library cards. Eliminate (a).
Step 2: OCR converts printed text to editable text; cheque clearing is MICR. Eliminate (c).
Step 3: A plotter is an output device that draws line graphics. Eliminate (d).
Step 4: OMR reads filled bubbles on answer sheets — correct match.
Conclusion: Option (b).

:::keypoints

  • CPU = Control Unit + ALU + Registers; speed in Hz/MHz/GHz.
  • Instruction cycle: fetch → decode → execute → (store).
  • Input devices feed data in; output devices show the result out.
  • MICR for cheques, OMR for bubble sheets, OCR for printed text.
  • Plotter is an output device for line drawings (maps, blueprints).
  • Touchscreen, modem, network card, hard disk, headset are BOTH input and output.
  • Registers are inside the CPU and are the fastest storage; RAM sits outside.
    :::

:::memory
"CCR is the CPU": Control unit, Calculator (ALU), Registers.
For readers: MOMMICR (Money/cheques), OMR (OMR sheets), Means-OCR (text Means letters).
Dual devices = "TM-NHN" — Touchscreen, Modem, Network card, Hard disk, Noise headset.
:::

:::recap

  • CPU = Control Unit (manager) + ALU (calculator) + Registers (fastest store).
  • Input devices sense the world; output devices show the result; some do both.
  • MICR rules banking; OMR rules answer sheets; OCR rules text scanning.
  • Speed of the CPU is measured in Hertz, never in bytes.
    :::
System vs Application Software
Notes

SYSTEM software runs/manages the computer: Operating System, device drivers, utilities, language translators (compiler, interpreter, assembler). APPLICATION software does user tasks: MS Word/Excel, browsers, Tally, Photoshop, games. Memory aid: 'System serves the machine, Application serves the user'. Translators: Compiler (whole program at once → fast, shows all errors together — C, C++), Interpreter (line-by-line → slower, stops at first error — Python, BASIC), Assembler (assembly → machine code). Firmware = software embedded in hardware (BIOS). Utility software = antivirus, disk cleanup, backup. SBI PO trap: an Operating System is system software, NOT application; a compiler translates ENTIRE source code whereas an interpreter executes line by line.

Operating System Functions & Types
Summary

OS = interface between user and hardware. Core FUNCTIONS: process management, memory management, file management, device/I-O management, security, user interface. TYPES: Batch (jobs grouped, no interaction), Time-sharing/Multitasking (many users/tasks share CPU via time slices), Real-Time OS (instant response — missiles, ATMs, medical; HARD vs SOFT RTOS), Distributed (multiple machines as one), Multiprocessing (multiple CPUs). Examples: Windows, Linux, macOS, Android (Linux-based), iOS, UNIX. Memory aid: 'RTOS = no delay tolerated'. Booting loads the OS into RAM; cold boot = power off→on, warm boot = restart without power-off. The kernel is the OS core managing resources. GUI (icons) vs CLI (command typing, e.g., MS-DOS, Linux terminal).