1 / 10
CS101 โ€” Foundations

Computer Systems

The Architecture of Modern Intelligence

โšก Hardware & Software
๐Ÿ”ฌ Architecture & Design
๐Ÿš€ Modern Trends
Press โ†’ or click arrow to begin
01 โ€” Overview

What is a Computer System?

An integrated set of hardware and software components that work together to collect, process, store, and output data.

๐Ÿ–ฅ๏ธ

Hardware

Physical components โ€” CPU, memory, storage, and I/O devices that form the tangible machine.

๐Ÿ’พ

Software

Programs and operating systems that instruct hardware to perform specific tasks and operations.

๐Ÿ”—

Data

Raw input transformed into meaningful information through processing and computation.

๐Ÿ‘ค

Users

People who interact with the system through interfaces to accomplish real-world goals.

02 โ€” Hardware

Core Hardware Components

CPU
Central Processing Unit โ€” the brain of the computer. Executes instructions and performs calculations.
GHz clock speeds
RAM
Random Access Memory โ€” volatile, ultra-fast temporary storage for active processes.
DDR5 ยท up to 6400 MT/s
Storage
Non-volatile data persistence. HDD for capacity, SSD/NVMe for speed.
NVMe ยท up to 7000 MB/s
I/O Devices
Input (keyboard, mouse, sensors) and Output (display, speakers, printers) peripherals.
USB ยท HDMI ยท PCIe
CPU
โ†•
System Bus
RAM
Storage
I/O
03 โ€” Processor

The CPU Deep Dive

01

Control Unit (CU)

Directs the operation of the processor. Fetches instructions from memory, decodes them, and coordinates execution across all units.

02

Arithmetic Logic Unit

Performs all arithmetic (+, โˆ’, ร—, รท) and logical (AND, OR, NOT) operations. The computational core of the CPU.

03

Registers

Tiny, ultra-fast storage locations inside the CPU. Hold data currently being processed โ€” faster than any cache or RAM.

04

Clock Speed

Measured in GHz โ€” determines how many instruction cycles per second. Modern CPUs: 3โ€“6 GHz with multi-core parallelism.

FETCH โ†’ DECODE โ†’ EXECUTE โ†’ STORE
04 โ€” Memory

Memory Hierarchy

Faster memory is smaller and more expensive. Systems balance speed vs. capacity across multiple tiers.

Registers
~1 ns ยท Bytes ยท Inside CPU
L1 / L2 / L3 Cache
2โ€“10 ns ยท KBโ€“MB ยท On-chip
RAM (Main Memory)
~60 ns ยท GB ยท DIMM slots
SSD / NVMe Storage
~100 ยตs ยท TB ยท PCIe/SATA
HDD / Cloud Storage
~10 ms+ ยท TBโ€“PB ยท Magnetic/Remote
โฌ† Faster, Smaller, Costlier โฌ‡ Slower, Larger, Cheaper
05 โ€” Software

Operating Systems

The OS is the master control program โ€” it manages hardware resources and provides services to applications.

โš™๏ธ

Process Management

Schedules CPU time among multiple processes using algorithms like Round Robin, Priority Scheduling, and FCFS.

๐Ÿง 

Memory Management

Allocates and deallocates RAM. Implements virtual memory via paging and segmentation to extend available space.

๐Ÿ“

File System

Organizes data on storage devices. Manages directories, permissions, and file access (NTFS, ext4, APFS).

๐Ÿ”Œ

Device Drivers

Translates OS commands into hardware-specific instructions, enabling communication with peripherals.

Windows Linux macOS Android iOS RTOS
06 โ€” I/O

Input / Output Systems

โฌ‡ Input Devices

  • Keyboard & Mouse
  • Touchscreen
  • Microphone
  • Camera / Scanner
  • Sensors & Joysticks
CPU + OS
I/O Controller
System Bus

โฌ† Output Devices

  • Monitor / Display
  • Speakers / Headphones
  • Printer / Plotter
  • Projector
  • Haptic Feedback
USB 4.040 Gbps
PCIe 5.0128 GB/s
HDMI 2.148 Gbps
Thunderbolt 440 Gbps
07 โ€” Architecture

Computer Architecture Types

๐Ÿ›๏ธ

Von Neumann

Single shared memory for both data and instructions. Simple, universal โ€” used in most modern computers. Bottleneck: memory bus.

Most Common
๐Ÿ”€

Harvard

Separate memory for instructions and data. Faster execution โ€” used in microcontrollers, DSPs, and embedded systems.

Embedded Systems
โšก

RISC

Reduced Instruction Set Computing. Simple, fixed-length instructions. High performance per watt. ARM, RISC-V, Apple Silicon.

Mobile & Modern
๐Ÿ”ง

CISC

Complex Instruction Set Computing. Rich instruction set, variable length. x86/x64 architecture โ€” Intel & AMD processors.

Desktop & Server
Summary

Key Takeaways

1

A computer system integrates hardware, software, data, and users into a unified processing environment.

2

The CPU (CU + ALU + Registers) is the brain โ€” executing the Fetch-Decode-Execute-Store cycle billions of times per second.

3

The memory hierarchy balances speed and cost โ€” from nanosecond registers to petabyte cloud storage.

4

The Operating System manages all resources โ€” processes, memory, files, and devices โ€” as the master controller.

5

Modern computing is evolving toward AI acceleration, quantum systems, and distributed cloud/edge architectures.

โœฆ

Understanding computer systems is the foundation of all software engineering, networking, and AI development.