Unit 1: Computer Fundamentals and Data Representation
I. Orientation: What a Computer Is
A computer is an electronic device that accepts data, processes it according to stored instructions, produces output, and stores results for later use (the first electronic general-purpose machine, ENIAC, dates to 1945). Every idea in this unit rests on this input–process–output–store cycle and on the way machines represent all data as numbers.
- Data vs information: Data is raw, unorganised facts (e.g.
45,Rita); information is processed, meaningful data (e.g. "Rita scored 45"). - Stored-program concept: Instructions and data live together in memory, a principle credited to John von Neumann (1945); it lets a computer switch tasks without rewiring.
- Digital principle: Internally everything is expressed in two states, ON and OFF, mapped to the binary digits
1and0, because electronic circuits reliably distinguish two voltage levels. - Program: A finite ordered set of instructions the computer executes to solve a problem.
II. Characteristics of Computers
The traits that make computers indispensable for repetitive and large-scale work.
A. Core Characteristics
- Speed: Operations are measured in fractions of a second — milliseconds (10⁻³ s), microseconds (10⁻⁶ s), nanoseconds (10⁻⁹ s); a computer performs millions of calculations per second.
- Accuracy: Results are error-free provided input and logic are correct — errors are usually "GIGO" (Garbage In, Garbage Out), not machine faults.
- Diligence: Free of tiredness or boredom; the millionth calculation is done with the same accuracy as the first.
- Versatility: One machine handles diverse tasks — billing, gaming, design, communication — by changing the program.
- Storage capacity: Holds vast data in secondary storage, measured in KB, MB, GB, TB.
- Automation: Once a program starts, it proceeds without human intervention.
B. Limitations
- No intelligence of its own: A computer cannot think or decide; it only follows instructions (lacks common sense).
- Dependence: It requires correct human-supplied data and programs to function.
III. Generations of Computers
The evolution of hardware technology across five generations.
A. The Five Generations
- First Generation (1940–1956) — Vacuum Tubes: Machines like ENIAC and UNIVAC; large, power-hungry, generated heat; used machine language; input via punched cards.
- Second Generation (1956–1963) — Transistors: Smaller, faster, cheaper, more reliable than tubes; introduced assembly language and early high-level languages (FORTRAN, COBOL).
- Third Generation (1964–1971) — Integrated Circuits (ICs): Many transistors on a single silicon chip; keyboards and monitors replaced punched cards; operating systems allowed multiprogramming.
- Fourth Generation (1971–present) — Microprocessors (VLSI): Thousands of ICs on one chip (Intel 4004, 1971); gave rise to personal computers, GUIs, and networks.
- Fifth Generation (present and beyond) — Artificial Intelligence: Based on ULSI, parallel processing and AI; aims at natural-language understanding, expert systems and self-learning.
B. Trend Across Generations
- Size and cost: Fall steadily from room-sized machines to handheld devices.
- Speed, reliability, storage: Rise sharply at each step as the switching component shrinks (tube → transistor → IC → microprocessor).
IV. Block Diagram of a Computer
The functional organisation showing how data flows between the main units.
A. The Functional Units
┌─────────┐ ┌───────────────────────┐ ┌──────────┐
│ INPUT │──────▶ │ CPU │ ─────▶ │ OUTPUT │
│ UNIT │ │ ┌────────┐ ┌───────┐ │ │ UNIT │
└─────────┘ │ │ ALU │ │ CU │ │ └──────────┘
│ └────────┘ └───────┘ │
└───────────┬───────────┘
│
┌───────▼────────┐
│ MEMORY UNIT │
└────────────────┘
(solid arrows = data flow, CU issues control signals to all units)B. Input Unit
- Function: Accepts data and instructions from the user and converts them to binary the machine understands.
- Devices: Keyboard, mouse, scanner, microphone, barcode reader.
C. Central Processing Unit (CPU)
The "brain" that carries out processing; contains two components plus registers.
- Arithmetic and Logic Unit (ALU): Performs arithmetic (
+,-,×,÷) and logical operations (comparisons such as>,<,=). - Control Unit (CU): Directs and coordinates all operations; fetches instructions, decodes them, and signals other units when to act — it does no processing itself.
- Registers: Small, very fast storage locations inside the CPU that hold data currently being processed.
D. Memory Unit
- Primary memory: Directly accessible by the CPU.
- RAM (Random Access Memory): Volatile; holds running programs and data; contents lost on power-off.
- ROM (Read Only Memory): Non-volatile; stores start-up instructions (BIOS).
- Secondary memory: Non-volatile, high-capacity, permanent storage — hard disk, SSD, pen drive.
E. Output Unit
- Function: Converts processed binary results back into human-readable form.
- Devices: Monitor, printer, speaker, projector.
V. Application of IT in Various Sectors
How information technology is applied across fields.
A. Sector-wise Applications
- Education: E-learning platforms, online exams, digital libraries, virtual classrooms.
- Banking and Finance: ATMs, online banking, UPI payments, fraud detection, core banking systems.
- Healthcare: Electronic health records, MRI/CT imaging, telemedicine, robotic surgery.
- Business and E-commerce: Online shopping (Amazon, Flipkart), inventory management, billing, CRM.
- Government (e-Governance): Online tax filing, Aadhaar, digital land records, public grievance portals.
- Entertainment: Streaming (Netflix), gaming, animation, digital music.
- Industry: CAD/CAM design, robotics on assembly lines, process automation.
- Transport: GPS navigation, online ticket reservation, traffic control systems.
- Communication: Email, video conferencing, social media, instant messaging.
VI. Data Representation and Number Systems
How machines encode all data as numbers in different bases.
A. Number Systems and Their Bases
A number system is defined by its base (radix) — the count of distinct digits it uses.
- Decimal: Base 10, digits
0–9; the everyday human system. - Binary: Base 2, digits
0, 1; the internal language of computers. - Octal: Base 8, digits
0–7; a compact shorthand for binary. - Hexadecimal: Base 16, digits
0–9andA–F(A=10 … F=15); used for memory addresses and colour codes. - Positional value: Each digit's worth is
digit × base^position, positions counted from 0 on the right.
B. Binary Number System
- Definition: Uses only two symbols,
0and1, each called a bit; 8 bits form a byte. - Place values: Powers of 2 —
…, 16, 8, 4, 2, 1. - Example:
1011₂ = 1×8 + 0×4 + 1×2 + 1×1 = 11₁₀.
C. Octal and Hexadecimal
- Octal purpose: One octal digit represents exactly 3 binary bits, shortening long binary strings.
- Hexadecimal purpose: One hex digit represents exactly 4 binary bits, so a byte fits in two hex digits (e.g.
FF₁₆ = 255₁₀).
D. Decimal and Their Conversion
Conversion moves a value between bases without changing its quantity.
1. From any base to decimal — multiply and add.
Multiply each digit by its place value and sum.
2A₁₆ = 2×16¹ + A×16⁰ = 32 + 10 = 42₁₀
17₈ = 1×8¹ + 7×8⁰ = 8 + 7 = 15₁₀2. Decimal to any base — repeated division.
Divide by the target base, collect remainders, read bottom to top.
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 up → 101101₂- Binary ↔ Octal: Group binary bits in 3s from the right; each group = one octal digit.
101101₂ → 101 | 101 → 55₈
- Binary ↔ Hexadecimal: Group binary bits in 4s from the right; each group = one hex digit.
00101101₂ → 0010 | 1101 → 2D₁₆
- Octal ↔ Hexadecimal: Convert through binary or decimal as an intermediate, since no whole-digit grouping links base 8 and base 16 directly.
- Verification: All forms of
45₁₀—101101₂,55₈,2D₁₆— evaluate back to 45, confirming quantity is preserved.
E. Why Machines Use These Systems
- Binary internally: Two-state circuits (transistor ON/OFF) map cleanly to
1/0, giving reliability. - Octal and hex for humans: They compress unwieldy binary into short, readable groups while converting to binary instantly, easing debugging and memory addressing.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →