--:-- --
↓ Scroll for more

Unit 3.1

Unit 3 Intro: CPU, Memory, and Hardware Interconnections | IT 231

IT 231: IT and Application

Learning Objectives

By the end of this introductory chapter, you will be able to:

  • ✅ Identify the three core components inside a computer: CPU, Memory, and Motherboard.
  • ✅ Explain the primary function of the Central Processing Unit (CPU).
  • ✅ Describe the concept of a memory hierarchy and its levels.
  • ✅ Understand the role of the motherboard and system buses in connecting components.

Let's Look Inside the Box 📦

This unit takes us inside the computer case to explore the fundamental hardware that powers everything you do.

🧠 The Brain

CPU (Central Processing Unit)

📚 The Workspace

Memory (RAM, Cache, Storage)

🛣️ The Nervous System

Interconnections (Motherboard, Buses)

The Brain: Central Processing Unit (CPU)

Definition: The CPU is the primary component of a computer that executes instructions. It performs most of the processing inside the computer.

  • Often called the "processor" or "microprocessor".
  • Its job is to fetch, decode, and execute program instructions.
  • Think of it as the chef in a kitchen, following a recipe (the program).

CPU Performance: Speed and Power

⚡ Clock Speed

  • Measured in Gigahertz (GHz).
  • Represents how many cycles the CPU can execute per second.
  • Higher GHz generally means a faster processor.

🧠 Cores

  • A core is an individual processing unit within the CPU.
  • Modern CPUs are "multi-core" (Dual-core, Quad-core, etc.).
  • More cores allow the CPU to handle multiple tasks simultaneously (multitasking).

The Workspace: Computer Memory

Not all memory is created equal. Computers use a memory hierarchy to balance speed, cost, and capacity.

🎯 The Trade-off: The faster the memory, the more expensive and smaller it is. The slower the memory, the cheaper and larger it is.

The Memory Hierarchy 📊

A pyramid model helps visualize the speed vs. size trade-off.

Level 1: Fastest & Smallest

CPU Registers & Cache

Instantly accessible by the CPU. Holds data being actively processed.

Level 2: Medium Speed & Size

Main Memory (RAM)

The computer's "working memory". Holds active programs and data. Volatile (loses data on power off).

Level 3: Slowest & Largest

Secondary Storage

Hard Drives (HDD), SSDs. Permanent storage for files and OS. Non-volatile.

Storage Showdown: SSD vs. HDD

SSD (Solid State Drive)

  • Uses flash memory (no moving parts).
  • Pros: Extremely fast, durable, quiet.
  • Cons: More expensive per GB.

HDD (Hard Disk Drive)

  • Uses spinning magnetic disks.
  • Pros: Cheap, high capacity.
  • Cons: Slower, fragile, noisy.

The Nervous System: The Motherboard

Definition: The motherboard is the main printed circuit board (PCB) that connects all the hardware components of a computer together.

🔍 Analogy: If the CPU is the brain, the motherboard is the central nervous system, allowing communication between the brain, memory, and all other body parts (peripherals).

Connecting It All: System Buses

How do the components talk to each other on the motherboard?

  • Buses are the communication pathways or "data highways" on the motherboard.
  • They transfer data between the CPU, RAM, and other components.
  • The speed of the bus (bus width and clock speed) is critical for overall system performance.

A fast CPU is useless if the bus connecting it to RAM is slow. It creates a bottleneck!

Practical Application: Building a PC in Nepal

What's the best value for a student in Kathmandu?

Scenario: A university student needs a laptop for coding, research, and presentations.

Priority 1: Storage ⚡
An SSD is non-negotiable. The speed boost for booting up, opening apps, and compiling code is massive. Even a smaller 256GB SSD is better than a large 1TB HDD for performance.

Priority 2: Memory 📚
Aim for at least 8GB of RAM. This allows for smooth multitasking between a web browser (with many tabs), a code editor, and other applications.

Priority 3: CPU 🧠
A modern mid-range CPU (like an Intel Core i5 or AMD Ryzen 5) is more than enough. The performance gains from an SSD and sufficient RAM will be more noticeable for daily tasks.

Unit 3.1: Key Takeaways

  • 🎯 The CPU is the computer's brain, executing all instructions.
  • 🎯 The Memory Hierarchy balances speed, cost, and size, from ultra-fast CPU cache to large, slow secondary storage.
  • 🎯 The Motherboard acts as a central hub, using buses to connect and allow communication between all components.
  • 🎯 For practical performance, a fast SSD and adequate RAM often provide a better user experience than just having the fastest CPU.

Thank You!

Any questions about the core components?


Next Up: Unit 3.2 - A Deeper Dive into the CPU