Comprehensive Computer Science Definitions, Architecture, and Networking Study Guide
Fundamentals of Computer Systems & History
Computer System
Definition: A computer system is a combination of hardware and software that works together to process data.
Example: A laptop running Windows and MS Word.
History of Computer
Definition: The history of computers is the development of computers from simple calculating devices to modern computers.
Example: Abacus → Pascaline → ENIAC → modern PC.
Early Computing Devices
Abacus
Definition: An ancient calculating device made of rods and beads.
Inventor: Unknown; used in ancient civilizations.
Example: Used for addition and subtraction.
Napier's Bones
Definition: A calculating device using numbered rods to perform multiplication and division.
Inventor: John Napier, 1617.
Example: Helping calculate .
Pascaline
Definition: A mechanical calculator that could perform addition and subtraction.
Inventor: Blaise Pascal, 1642.
Example: Used to calculate taxes.
Stepped Reckoner
Definition: A mechanical calculator capable of addition, subtraction, multiplication, and division.
Inventor: Gottfried Wilhelm Leibniz, 1673.
Example: Calculating large numbers.
Difference Engine
Definition: A mechanical machine designed to calculate mathematical tables automatically.
Inventor: Charles Babbage, 1822.
Example: Producing mathematical tables.
Analytical Engine
Definition: A proposed general-purpose mechanical computer with features similar to modern computers.
Inventor: Charles Babbage, 1837.
Example: Designed to use instructions and memory.
Tabulating Machine
Definition: A machine that processed data using punched cards.
Inventor: Herman Hollerith, 1890.
Example: Used for the U.S. census.
Harvard Mark I
Definition: An early large electromechanical automatic computer.
Inventor/Developer: Howard Aiken with IBM, 1944.
Example: Used for complex calculations.
Generations of Computers
First Generation
Definition: Computers that used vacuum tubes.
Period: About 1940–1956.
Example: ENIAC.
Second Generation
Definition: Computers that used transistors instead of vacuum tubes.
Period: About 1956–1963.
Example: IBM 1401.
Third Generation
Definition: Computers that used integrated circuits (ICs).
Period: About 1964–1971.
Example: IBM System/360.
Fourth Generation
Definition: Computers that used microprocessors.
Period: From 1971 onward.
Example: Personal computers.
Fifth Generation
Definition: Computers based on advanced technologies such as AI, parallel processing, and natural-language processing.
Example: AI assistants and intelligent robots.
Generations Memory Aid:
1st Generation = Vacuum tube
2nd Generation = Transistor
3rd Generation = IC (Integrated Circuit)
4th Generation = Microprocessor
5th Generation = AI
Artificial Intelligence
Artificial Intelligence (AI)
Definition: AI is the ability of a computer to perform tasks that normally require human intelligence.
Example: ChatGPT recognizing and generating text.
Characteristics of AI:
Learning: Learns from data. (Example: Recommendation systems)
Reasoning: Makes logical decisions. (Example: Chess AI)
Problem Solving: Finds solutions. (Example: Navigation apps)
Perception: Understands images/sounds. (Example: Face recognition)
Natural Language Processing: Understands human language. (Example: Voice assistants)
Decision Making: Chooses an appropriate action. (Example: AI detecting spam)
Systems Classification
System
Definition: A system is a group of connected parts working together to achieve a goal.
Example: Computer system.
Natural System
Definition: A system that occurs naturally without being created by humans.
Example: Human body, solar system.
Artificial System
Definition: A system designed and created by humans.
Example: Computer system, traffic-light system.
Natural vs Artificial Comparison:
Natural Systems: Occurs naturally | Examples: Human body, Solar system
Artificial Systems: Made by humans | Examples: Computer, Traffic system
Input Devices & Hardware Components
Input Device
Definition: A device used to enter data into a computer.
Example: Keyboard.
Keyboard
Definition: An input device used to enter text, numbers, and commands.
Example: Typing your name.
Mouse
Definition: A pointing device used to select and control objects.
Example: Clicking an icon.
Microphone
Definition: An input device that records sound.
Example: Recording your voice.
Scanner
Definition: A device that converts paper documents or images into digital form.
Example: Scanning a photograph.
Barcode Reader
Definition: A device that reads information from barcodes.
Example: Reading a product barcode at a supermarket.
Digital Camera
Definition: A camera that captures images digitally.
Example: Taking a photo and transferring it to a computer.
Touchscreen
Definition: A screen that accepts input through touch.
Example: Touching an app on a smartphone.
Keyboard Key Layout Rationale (Non-Alphabetical Structure)
Definition: Keyboard keys are arranged mainly to improve typing efficiency and reduce mechanical problems in older typewriters.
Example: The QWERTY layout places commonly used letters in positions suitable for typing.
System Unit & Internal Architecture
System Unit
Definition: The main computer case containing important internal components.
Example: The desktop tower.
Motherboard
Definition: The main circuit board that connects computer components.
Example: CPU, RAM, and storage connect to it.
Microprocessor
Definition: A processor contained on a single integrated circuit.
Example: Intel Core processor.
Storage Devices
Storage Device
Definition: Hardware used to store data permanently or temporarily.
Example: SSD.
Hard Disk (HDD)
Definition: A magnetic storage device used to store large amounts of data.
Example: 1 TB hard drive.
SSD
Definition: Solid State Drive; a storage device using electronic memory with no moving parts.
Example: A laptop using a 512 GB SSD.
CD
Definition: Compact Disc; an optical disc used to store digital data.
Example: Music CD.
DVD
Definition: Digital Versatile Disc; an optical disc with more storage capacity than a CD.
Example: Movie DVD.
Memory Card
Definition: A small removable storage device.
Example: SD card in a camera.
USB Flash Drive
Definition: A small portable storage device that connects through USB.
Example: Carrying a school presentation on a USB.
Output Devices, Ports, and Expansion
Output Device
Definition: A device that presents processed information to the user.
Example: Monitor.
Monitor
Definition: A screen that displays text, images, and video.
Example: Computer display.
Printer
Definition: A device that produces information on paper.
Example: Printing an assignment.
Impact Printer
Definition: A printer that prints by physically striking an ink ribbon.
Example: Dot-matrix printer.
Non-impact Printer
Definition: A printer that prints without physically striking the paper.
Example: Laser printer.
Speaker
Definition: An output device that produces sound.
Example: Playing music.
Port
Definition: A connection point used to connect external devices to a computer.
Example: USB port.
Expansion Slot
Definition: A slot on the motherboard used to install an expansion card.
Example: PCIe slot.
Expansion Card
Definition: A circuit board added to a computer to provide extra functions.
Example: Graphics card.
Computer Architecture & CPU Components
Von Neumann Architecture
Definition: A computer architecture in which instructions and data are stored in the same memory.
Example: Most general-purpose computers use this basic architecture.
CPU
Definition: Central Processing Unit; the main processor that executes instructions.
Example: Intel Core i5.
Control Unit (CU)
Definition: The CPU component that controls and coordinates computer operations.
Example: Tells the ALU when to perform addition.
ALU
Definition: Arithmetic Logic Unit; performs arithmetic and logical operations.
Example: or comparing .
Register
Definition: A very small, very fast storage location inside the CPU.
Example: Program Counter.
Important CPU Registers
Memory Address Register (MAR)
Definition: Holds the address of the memory location being accessed.
Example: Stores the location of data the CPU wants to read.
Memory Data Register (MDR)
Definition: Holds data being transferred to or from memory.
Example: Holds data read from RAM.
Accumulator (ACC)
Definition: A register used to store intermediate arithmetic and logical results.
Example: Stores the result of .
Program Counter (PC)
Definition: Holds the address of the next instruction to be executed.
Example: Points to the next instruction.
Current Instruction Register (CIR)
Definition: Holds the instruction currently being executed.
Example: Stores the current ADD instruction.
System Buses & I/O
Bus
Definition: A communication pathway that carries data and signals between computer components.
Example: CPU communicating with RAM.
Address Bus
Definition: Carries memory addresses from the CPU.
Example: Tells RAM which location to access.
Data Bus
Definition: Carries actual data between components.
Example: Transfers a number from RAM to CPU.
Control Bus
Definition: Carries control signals between components.
Example: Read/write signals.
I/O
Definition: Input/Output; communication between a computer and external devices.
Example: Keyboard input and monitor output.
I/O Controller
Definition: Hardware that manages communication between the CPU and input/output devices.
Example: Managing data from a keyboard.
Data Transmission
Definition: The process of sending data from one device or component to another.
Example: Sending a file from a computer to a printer.
Bus System
Definition: A system of buses used to transfer data, addresses, and control signals.
Example: Address + data + control buses.
Instruction Execution & Processing Techniques
Instruction Cycle
Definition: The steps a CPU follows to execute an instruction.
Main Steps: Fetch → Decode → Execute → Store.
Example: CPU fetches an addition instruction, understands it, and performs the addition.
Pipelining
Definition: A technique where different stages of multiple instructions are processed at the same time.
Example: While one instruction is executing, another can be decoding.
Datapath
Definition: The part of a CPU through which data moves and is processed.
Example: Data moving between registers and ALU.
Interrupt
Definition: A signal that temporarily gets the CPU's attention for an event requiring processing.
Example: Pressing a keyboard key.
Memory Units & Retention
Bit
Definition: The smallest unit of data; it is either 0 or 1.
Example: 1
Byte
Definition: A group of 8 bits.
Example: 10101010
Memory Word
Definition: A fixed-size group of bits that a computer processes as one unit.
Example: A 32-bit computer has a 32-bit word size.
Word Size
Definition: The number of bits a CPU can process at one time.
Example: 32-bit or 64-bit CPU.
Chip Memory
Definition: Memory stored in electronic semiconductor chips.
Example: RAM.
Magnetic Memory
Definition: Memory that stores data using magnetic properties.
Example: Hard disk.
Optical Memory
Definition: Memory that stores data using laser technology on optical discs.
Example: CD/DVD.
Volatile Memory
Definition: Memory that loses its data when power is turned off.
Example: RAM.
Non-volatile Memory
Definition: Memory that keeps data even when power is off.
Example: ROM, SSD.
Memory Hierarchy & Types
Memory Hierarchy (Fastest → Slowest):
Registers → Cache → RAM → Secondary Storage
Main Memory
Definition: Memory directly accessible by the CPU for currently running programs.
Example: RAM and ROM.
RAM
Definition: Random Access Memory; temporary working memory of a computer.
Example: Open apps use RAM.
ROM
Definition: Read Only Memory; non-volatile memory that stores important permanent instructions.
Example: Firmware used during startup.
Internal Processor Memory
Definition: Very fast memory located inside or closely associated with the CPU.
Example: Registers and cache.
Cache Memory
Definition: Very fast memory that stores frequently used data and instructions for the CPU.
Example: CPU accessing frequently needed data from cache.
L1 Cache
Definition: The smallest and fastest level of CPU cache.
Example: Stores very frequently used instructions.
L2 Cache
Definition: A larger but slightly slower cache than L1.
Example: Stores frequently used data.
L3 Cache
Definition: A larger cache shared by multiple CPU cores in many processors.
Example: Shared CPU cache.
Secondary Memory
Definition: Long-term storage used to store large amounts of data.
Example: HDD, SSD, USB.
Software & Hardware Engineering
Software Engineering
Definition: The systematic process of designing, developing, testing, and maintaining software.
Example: Developing a banking application.
Application Software Engineering
Definition: Developing software designed for users' specific tasks.
Example: Developing a word processor.
System Software Engineering
Definition: Developing software that manages computer hardware and provides a platform for applications.
Example: Developing an operating system.
Embedded Software Engineering
Definition: Developing software built into a device to control it.
Example: Software controlling a washing machine.
Enterprise Software Engineering
Definition: Developing software for large organizations and businesses.
Example: Banking management software.
Game Development
Definition: Creating computer or video games.
Example: Developing a racing game.
Hardware Engineering
Definition: Designing and developing physical computer components.
Example: Designing a motherboard.
Digital Hardware Engineering
Definition: Designing hardware that works mainly with digital signals (0 and 1).
Example: Digital circuits.
Analog Hardware Engineering
Definition: Designing hardware that works with continuously varying signals.
Example: Audio amplifier.
Integrated Circuit (IC)
Definition: A small chip containing many electronic components.
Example: CPU chip.
ISDN
Definition: Integrated Services Digital Network; a digital telecommunications standard for transmitting voice and data.
Example: Older digital telephone/data services.
Computer Architecture
Definition: The design and organization of a computer's hardware and how its parts work together.
Example: CPU, memory, and buses.
Embedded System Design
Definition: Designing computer systems built into larger devices for specific tasks.
Example: Computer system inside a car.
Software Classification
System Software
Definition: Software that manages hardware and provides a platform for applications.
Example: Windows.
Operating System
Definition: Software that manages computer hardware, files, and applications.
Example: Windows, Linux, Android.
Device Driver
Definition: Software that allows the operating system to communicate with hardware.
Example: Printer driver.
Utility
Definition: Software used to maintain, protect, or optimize a computer.
Example: Antivirus software.
Compiler
Definition: A program that translates high-level source code into machine/object code.
Example: A C compiler.
Assembler
Definition: A program that converts assembly language into machine code.
Example: Converting MOV instructions into machine instructions.
Linker
Definition: Combines program modules/object files into one executable program.
Example: Joining compiled program parts.
Loader
Definition: Loads a program into memory so it can run.
Example: Loading an application into RAM.
Firmware
Definition: Software permanently stored in a device that controls its basic functions.
Example: BIOS/UEFI firmware.
Application Software
Definition: Software designed to perform specific tasks for users.
Example: MS Word.
Productivity Software
Definition: Software that helps users perform work efficiently.
Example: Word processor or spreadsheet.
Business Software
Definition: Software used for business activities.
Example: Accounting software.
Entertainment Software
Definition: Software designed for entertainment.
Example: Video games.
Educational Software
Definition: Software designed to support learning.
Example: Educational quiz app.
Programming Languages
Low-Level Language
Definition: A programming language close to machine hardware.
Example: Assembly language.
Machine Language
Definition: Binary instructions directly understood by the CPU.
Example: 10110100
Assembly Language
Definition: Low-level language using symbols instead of binary instructions.
Example: MOV AX, BX
High-Level Language
Definition: A programming language designed to be easier for humans to understand.
Example: Python.
Procedural Language
Definition: A language that organizes programs into procedures/functions.
Example: C.
Structured Language
Definition: A language that uses clear structures such as sequence, selection, and loops.
Example: C.
Object-Oriented Language
Definition: A language that organizes programs around objects and classes.
Example: Java, C++.
Use of Low-Level Languages
Definition: Used when direct hardware control and high performance are important.
Example: Operating-system or embedded programming.
Use of High-Level Languages
Definition: Used to develop programs easily and quickly.
Example: Python for web or data applications.
Data Communication & Devices
Data Communication
Definition: The exchange of data between two or more devices.
Example: Sending a message from one phone to another.
Five Main Communication Components:
Sender: Sends data. (Example: Your phone)
Receiver: Receives data. (Example: Friend's phone)
Message: Information being sent. (Example: "Hello")
Medium: Path used to send data. (Example: Wi-Fi)
Protocol: Rules for communication. (Example: TCP/IP)
Signal
Definition: An electrical, optical, or wireless representation used to carry data.
Example: Radio signal carrying Wi-Fi data.
Signaling
Definition: The process of representing and transmitting data using signals.
Example: Sending binary data as electrical signals.
Transmission
Definition: The process of sending data from one point to another.
Example: Sending a file over Wi-Fi.
Modes of Communication:
Simplex: Data travels in only one direction. (Example: TV broadcasting)
Half-Duplex: Data travels in both directions, but not at the same time. (Example: Walkie-talkie)
Full-Duplex: Data travels in both directions at the same time. (Example: Telephone call)
Communication Devices:
Switch: A device that connects devices in a network and forwards data to the correct device. (Example: Connecting computers in a school LAN)
Router: A device that connects different networks and forwards packets between them. (Example: Home Wi-Fi router)
Gateway: A device/system that connects networks using different protocols or architectures. (Example: A gateway connecting different types of networks)
Network Architecture & Types
Client
Definition: A computer/device that requests services or resources from another computer.
Example: Your PC requesting a webpage.
Client-Server Network
Definition: A network where clients request services from a central server.
Example: School computers accessing a school server.
Peer-to-Peer (P2P)
Definition: A network where computers can share resources directly with each other.
Example: Two computers directly sharing files.
LAN (Local Area Network)
Definition: Connects devices in a small area.
Example: School computer lab.
Characteristics: Small area, high speed, usually privately managed, relatively low cost.
WAN (Wide Area Network)
Definition: Connects networks over a large geographical area.
Example: The Internet.
Characteristics: Large geographical area, connects multiple LANs, generally more expensive, uses telecommunications links.
MAN (Metropolitan Area Network)
Definition: Connects networks across a city or metropolitan area.
Example: A city-wide university network.
Characteristics: Larger than LAN, smaller than WAN, covers a city/large campus.
Wireless Networks, Topologies, and Switching
Wireless Network
Definition: A network that transfers data without physical cables.
Example: Wi-Fi.
Wi-Fi
Definition: Wireless networking technology used to connect devices to a network.
Example: Connecting a laptop to home internet.
Bluetooth
Definition: Short-range wireless technology for connecting nearby devices.
Example: Connecting wireless headphones.
Cellular Network
Definition: A wireless network provided through cellular towers.
Example: 4G/5G mobile network.
Satellite Network
Definition: A network that uses satellites to communicate over long distances.
Example: Satellite internet.
Network Topologies:
Bus Topology: All devices are connected to one main cable. (Example: Computers connected along a single backbone cable)
Star Topology: All devices connect to a central device. (Example: Computers connected to a switch)
Ring Topology: Devices are connected in a circular arrangement. (Example: Each computer connects to two neighboring computers)
Mesh Topology: Devices have multiple connections to other devices. (Example: A network designed with many alternative paths)
Packet & Circuit Switching:
Packet Switching: Data is divided into small packets that can travel through different routes. (Example: Internet communication)
Circuit Switching: A dedicated communication path is established for the entire communication session. (Example: Traditional telephone networks)
OSI Model & Network Protocols
OSI Model Mnemonic: A P S T N D P
OSI Model Layers (Top to Bottom):
Application Layer: Provides network services directly to applications. (Example: HTTP)
Presentation Layer: Handles data format, translation, encryption, and compression. (Example: Converting data formats)
Session Layer: Establishes, manages, and terminates communication sessions. (Example: Managing a communication session)
Transport Layer: Provides end-to-end data delivery and reliability. (Example: TCP)
Network Layer: Handles logical addressing and routing. (Example: IP)
Data Link Layer: Provides reliable transfer between directly connected network devices. (Example: Ethernet frames)
Physical Layer: Transmits raw bits through physical media. (Example: Network cables and radio signals)
Network Protocols:
Protocol: A set of rules used for communication between devices. (Example: TCP/IP)
TCP/IP: A suite of protocols used for communication across the Internet. (Example: Your browser communicating with a web server)
TCP (Transmission Control Protocol): Provides reliable, ordered delivery of data. (Example: Reliable web data transfer)
IP (Internet Protocol): Provides addressing and routing of packets. (Example: An IP address identifies a device/network interface)
HTTP (Hypertext Transfer Protocol): Used to transfer web resources. (Example: Loading a webpage)
FTP (File Transfer Protocol): Used to transfer files between computers. (Example: Uploading a file to a server)
SMTP (Simple Mail Transfer Protocol): Used mainly to send email. (Example: Sending an email)
The Internet: Concepts, Advantages, and Disadvantages
Internet
Definition: A worldwide network of interconnected computer networks.
Example: Using Google, YouTube, or email.
Evolution of Internet
Definition: The Internet developed from research networks such as ARPANET into today's global network.
Example: ARPANET → modern Internet.
Working of Internet
Definition: Devices communicate by sending data in packets using protocols such as TCP/IP through networks and routers.
Example: Your browser requests a webpage from a server.
Advantages of Internet:
Global Connectivity: Connects people worldwide. (Example: Video calling someone in another country)
Vast Information: Provides access to huge amounts of information. (Example: Searching for a science topic)
Communication: Allows fast communication. (Example: Email and messaging)
E-Commerce: Buying and selling goods/services online. (Example: Ordering something from an online store)
Education: Provides online learning resources. (Example: Online classes)
Business: Helps businesses communicate, sell, and operate online. (Example: Online business website)
Entertainment: Provides digital entertainment. (Example: Watching videos)
Research: Helps researchers access and share information. (Example: Searching scientific papers)
Innovation: Helps people develop and share new ideas and technologies. (Example: Developing new online services)
Social Media: Platforms that allow people to communicate and share content. (Example: Social networking platforms)
Disadvantages of Internet:
Privacy Concerns: Personal information may be collected or exposed online. (Example: Personal data being misused)
Cybersecurity Risk: Threats that can damage systems or steal information. (Example: Malware or phishing)
Information Overload: Receiving more information than we can easily process. (Example: Thousands of search results)
Digital Addiction: Excessive or difficult-to-control use of digital devices/services. (Example: Spending too much time on social media)
Digital Divide: The gap between people who have access to technology and those who do not. (Example: Students in areas without reliable Internet)
Online Harassment: Abusive or threatening behavior through digital platforms. (Example: Repeated insulting messages)
Health Concerns: Excessive screen use can contribute to problems such as eye strain and poor sleep. (Example: Eye strain after long screen use)
Super-Quick Revision
Computer: Processes data.
Hardware: Physical parts.
Software: Programs/instructions.
Input: Data goes IN.
Output: Information comes OUT.
CPU: Processes instructions.
ALU: Calculations + logic.
CU: Controls operations.
RAM: Temporary memory.
ROM: Permanent/non-volatile instructions.
Cache: Very fast memory near CPU.
Register: Fastest small CPU storage.
HDD: Magnetic storage.
SSD: Flash-based storage.
LAN: Small area.
MAN: City area.
WAN: Large area.
Simplex: One direction.
Half-duplex: Both directions, one at a time.
Full-duplex: Both directions simultaneously.
Switch: Connects devices in a network.
Router: Connects/routes between networks.
Protocol: Rules of communication.
HTTP: Web.
FTP: Files.
SMTP: Sending email.
TCP: Reliable delivery.
IP: Addressing/routing.
OSI: 7-layer networking model.