Comp Fundamentals
Comp Fundamentals
I’ll break these down at an ultra–graduation level, with deep explanations, technical
insights, examples, and diagrams in mind-map style.
The history of modern computers is divided into generations, each marked by a major
technological breakthrough in hardware and software. This progression improved speed, size,
cost efficiency, storage capacity, and versatility.
Technology:
Features:
Advantages:
Limitations:
1
Second Generation (1956–1963) – Transistors
Technology:
Features:
Speed in microseconds
Lower heat generation and power consumption
Programming in assembly language and early high-level languages (COBOL,
FORTRAN)
Batch processing OS introduced
Advantages:
Limitations:
Still expensive
Input/output mainly via punched cards
Technology:
Features:
Speed in nanoseconds
Smaller, more powerful machines
Multiprogramming & time-sharing OS
Programming in higher-level languages became standard (BASIC, Pascal)
Advantages:
2
Greatly increased processing speed
Reduced cost per unit of processing power
Supported more applications
Limitations:
Technology:
Features:
Advantages:
Limitations:
Technology:
Features:
3
Knowledge-based systems, expert systems
Voice recognition, robotics
Parallel processing & cloud computing
Advantages:
Intelligent decision-making
Vast processing capabilities
Automation of complex tasks
Limitations:
Programming
Generation Period Key Technology Characteristics Example
Language
Huge size, high
1940s– power consumption, ENIAC,
1st Gen Vacuum tubes Machine language
1956 heat, limited UNIVAC
memory
1956– Smaller, faster, more
2nd Gen Transistors Assembly language IBM 1401
1963 reliable
High-level
1964– Integrated languages Multiprogramming,
3rd Gen IBM 360
1971 Circuits (ICs) (FORTRAN, less cost
COBOL)
1971– Microprocessors Personal computers Apple II,
4th Gen C, Pascal
1980s (VLSI) emerge IBM PC
AI, ULSI, Modern
1980s– Python, Java, AI Natural language
5th Gen parallel AI
Present languages processing, robotics
processing systems
Mind Map:
Evolution of Computers
├── 1st Gen → Vacuum Tubes
├── 2nd Gen → Transistors
├── 3rd Gen → ICs
├── 4th Gen → Microprocessors
4
└── 5th Gen → AI & ULSI
2. Characteristics of Computers
Computers possess unique traits that distinguish them from human processing:
Speed:
Measured in Hz, MHz, GHz — modern CPUs process billions of instructions per
second.
Accuracy:
Virtually error-free when given correct instructions; errors usually due to faulty
programming or hardware failure.
Automation:
Once started, executes tasks without further intervention.
Storage:
Can store vast data — from MBs to exabytes — with instant retrieval.
Versatility:
Handles diverse tasks: numerical, logical, multimedia processing.
Connectivity:
Integrated into networks, enabling global communication.
+-----------+
| Speed |
+-----------+
|
+-----------+ | +-----------+
| Accuracy | | | Automation|
+-----------+ | +-----------+
|
+------------------+
| Storage & Versatility |
+------------------+
High Processing Power: Multi-core CPUs and GPUs for complex simulations.
Data Handling: Can manage huge datasets for analytics.
Consistency: No fatigue; same performance over time.
Connectivity: Cloud computing, IoT integration.
Cost Efficiency (over time): Low per-task cost.
Limitations:
5
No Creativity (without AI programming): Can’t innovate by itself.
Vulnerability: Security risks, malware.
Classification of Computers
Computers can be classified based on purpose, data handling, size, and generation.
Each classification focuses on a different aspect of a computer’s design and usage.
Based on Purpose
a) Analog Computers
b) Digital Computers
c) Hybrid Computers
6
Examples: Hospital ECG machines, industrial control systems.
a) Microcomputers
b) Minicomputers
c) Mainframe Computers
d) Supercomputers
Based on Generation
7
Storage Unit:
o Primary: RAM, cache.
o Secondary: HDD, SSD.
CPU:
o Control Unit (CU): Directs operations.
o Arithmetic Logic Unit (ALU): Performs calculations.
Software Layer: Operating system + applications.
Block Diagram:
Education
Healthcare
8
Banking & Finance
Communication
Transportation
9
Airline reservation systems
GPS navigation and tracking
Traffic management systems
Autonomous vehicle research
Types of software.
System Software
Definition:
System software is the core set of programs that manage computer hardware, coordinate
between the hardware and user-level applications, and ensure overall system stability. It is
indispensable — without it, the computer is essentially a “dead” machine.
Technical Points:
Operates in the background and runs as soon as the computer is powered on.
Often written in low-level languages like C, C++, or assembly for speed and direct
hardware control.
Consumes fewer resources than application software but is essential for their
execution.
Components:
Pros:
10
Cons:
Application Software
Definition:
Application software is designed to solve specific problems or perform specific user tasks.
It cannot function without system software.
Technical Points:
Categories:
Pros:
Increases productivity
User-friendly design for targeted tasks
Cons:
Utility Software
Definition:
A type of system software focused on maintenance, optimization, and protection of a
computer’s functionality.
Technical Points:
11
Runs in the background or on-demand.
Can be bundled with OS or installed separately.
Often uses low-level access to perform operations like defragmentation, cleanup, or
encryption.
Functions:
Pros:
Cons:
Shareware
Definition:
Proprietary software provided on a trial basis to let users test before purchasing.
Technical Points:
Pros:
Cons:
12
Freeware
Definition:
Software available for free use without any time restrictions but still under copyright
protection.
Technical Points:
Pros:
Cost-free
Easy to access and use
Cons:
Firmware
Definition:
Firmware is permanent or semi-permanent software programmed directly into hardware
devices to control their functions.
Technical Points:
Pros:
Cons:
13
Updating firmware incorrectly can "brick" the device
Not as flexible as application software
Four Freedoms:
Technical Points:
Pros:
Cons:
Memory System
Concept of Bit, Byte, Word, and Nibble
Bit (Binary Digit)
14
Definition: The smallest unit of data in a computer, representing a binary value —
either 0 (OFF) or 1 (ON).
Physical Representation: Electrical voltage levels, magnetic polarity, or light pulses
in optical storage.
Importance: All complex data — text, images, videos — are internally represented
as sequences of bits.
Example: 1011 → 4 bits.
Nibble
Byte
Word
Definition: A fixed-size group of bits that a computer’s CPU can process at once as a
single unit.
Word Length: Depends on CPU architecture — common sizes: 16-bit, 32-bit, 64-bit.
Relation:
o Word size = CPU register size = Data bus width.
15
Unit Symbol Size (in bits) Description
Each location in memory can store a fixed-size data unit (usually 1 byte).
Numbering: Each location has a unique address (like a house number in a street).
Address space depends on word size:
o n-bit address bus → 2n2^n unique addresses.
o Example: 32-bit address bus → 2322^{32} addresses = 4 GB addressable
space.
Memory Address
16
Access Time
Definition: Time taken to read or write data to/from memory after the address is
provided.
Measured in: Nanoseconds (ns) or milliseconds (ms).
Factors Affecting Access Time:
o Type of memory (SRAM, DRAM, HDD, SSD).
o Memory bus speed.
o Caching mechanisms.
17
Speed (Fastest → Size (Smallest → Cost per Bit (Highest →
Level Example
Slowest) Largest) Lowest)
Principle of Locality
Two types:
18
Primary Memory – Overview
Definition
Primary memory, also called main memory, is the internal storage directly accessible by
the CPU for reading and writing instructions and data currently in use.
Purpose: Stores the operating system, application programs, and data that the CPU is
actively using.
Nature:
o Volatile (loses contents when power is turned off) — except for ROM.
o Faster than secondary memory.
o Located on the motherboard close to the CPU for high-speed data transfer.
Key Features
1. Data and instructions are fetched from secondary storage (like SSD/HDD) into
primary memory.
2. CPU executes instructions from primary memory directly.
3. Results can be temporarily stored back in primary memory before being sent to output
devices or secondary storage.
Temporary storage where the CPU can read and write data quickly.
“Random Access” means any memory cell can be accessed directly without
sequential search.
Characteristics
Types of RAM
Stores data in capacitors; charge leaks over time, so it needs periodic refreshing.
Slower than SRAM, cheaper, higher density.
Used for main memory in computers.
Access Time: ~50–100 ns.
Types of DRAM:
Characteristics
Types of ROM
A) Mask ROM
Blank ROM that can be programmed once by the user using a PROM programmer.
Once programmed, it becomes permanent.
E) Flash Memory
21
A type of EEPROM with block-level erasing.
Used in USB drives, SSDs, and modern BIOS chips.
Overview
Definition
Secondary memory (also called auxiliary storage or external memory) refers to non-volatile
storage devices that hold data permanently until it is deleted or overwritten.
22
o Slower access compared to primary memory
o Much higher storage capacity
Connection: Accessed through I/O controllers rather than directly by the CPU.
Definition: Long strip of plastic coated with a magnetic oxide material used to store
data in sequential format.
Data Access: Sequential access → must read through previous data to get to desired
location.
Working Principle:
o Read/write head magnetizes small spots on the tape in patterns representing
binary data.
Uses: Archival storage, backups in large organizations.
Advantages:
o Very high capacity.
o Low cost per bit.
Limitations:
o Slow access time.
o Not ideal for frequently changing data.
23
Definition: A magnetic storage device with one or more spinning platters coated
with magnetic material.
Data Access: Random access using read/write heads that move radially over platters.
Working Principle:
o Platters spin (5,400–15,000 RPM) while magnetic heads read/write binary
data.
o Data stored in tracks, sectors, and cylinders.
Uses: OS storage, applications, bulk data storage.
Advantages:
o Large storage capacity (up to 20 TB+).
o Cheaper than SSD.
Limitations:
o Slower than SSD.
o Mechanical parts prone to failure.
o Sensitive to shocks.
Definition: Circular plastic disc that stores data using laser light technology.
Working Principle:
o A laser beam burns microscopic pits into the disc surface (or changes
reflective properties).
o Data is read by detecting light reflections from pits (binary 0/1).
Examples:
o CD (Compact Disc): ~700 MB
o DVD (Digital Versatile Disc): 4.7–8.5 GB
o Blu-ray Disc: 25–50 GB
Advantages:
o Portable, inexpensive.
o Good for distributing software, music, and movies.
Limitations:
o Slower access than HDD/SSD.
o Can be scratched/damaged.
24
o Read/write without moving parts (purely electronic).
Examples:
o USB flash drives.
o SSDs (Solid-State Drives).
o Memory cards (SD, microSD).
Advantages:
o High speed (faster than HDDs).
o Portable, shock-resistant.
Limitations:
o Higher cost per GB than HDDs.
o Limited write cycles.
If you want, I can now merge this Secondary Memory section with the Primary Memory
explanation we just did and also include memory hierarchy diagrams so you have one
complete “Memory System” chapter ready for exams.
25