202 lines
10 KiB
Markdown
202 lines
10 KiB
Markdown
# Weeks 1–2: Computer Hardware & Peripheral Devices
|
||
**Hours:** 4 (2 lectures)
|
||
|
||
---
|
||
|
||
## Learning Objectives
|
||
By the end of this unit, students will be able to:
|
||
- Identify the major internal components of a computer and explain their function
|
||
- Distinguish between input, output, processing, and storage devices
|
||
- Explain how data flows through a computer system (input → processing → output → storage)
|
||
- Compare different types of computers (desktop, laptop, tablet, smartphone, server)
|
||
- Make informed decisions about hardware purchases
|
||
|
||
---
|
||
|
||
## Lecture 1: Inside the Computer
|
||
|
||
### Key Concepts
|
||
|
||
**What is a computer?**
|
||
A computer is an electronic device that accepts input, processes data, produces output, and stores results. This is the **IPOS cycle** (Input → Processing → Output → Storage) — the foundational concept for the whole course.
|
||
|
||
> 💡 **Teaching idea:** Start with something they already know. Hold up a smartphone. "This is a computer. So is a gaming console. So is the chip in your car's dashboard. What makes them all computers?" Lead into the IPOS cycle.
|
||
|
||
**The Motherboard**
|
||
The main circuit board — everything connects to it. Think of it as the nervous system.
|
||
- Houses the CPU, RAM slots, expansion slots, and connectors
|
||
- Contains the chipset that manages data flow between components
|
||
|
||
**Central Processing Unit (CPU)**
|
||
The "brain." Executes instructions. Key metrics:
|
||
- **Clock speed** (GHz) — how many cycles per second
|
||
- **Cores** — modern CPUs have multiple cores (like having multiple brains working in parallel)
|
||
- **Cache** — tiny, fast memory built into the CPU
|
||
|
||
> 💡 **Analogy:** The CPU is like a chef in a kitchen. Clock speed is how fast they chop. Cores are how many chefs you have. Cache is the counter space right next to them — small but instantly accessible.
|
||
|
||
**Memory (RAM)**
|
||
- Volatile (disappears when power off)
|
||
- Measured in GB (8GB, 16GB typical today)
|
||
- More RAM = more programs running smoothly at once
|
||
|
||
> 💡 **Analogy:** RAM is your desk. The bigger your desk, the more papers (programs) you can spread out. But when you go home (power off), the desk gets cleared.
|
||
|
||
**Storage**
|
||
- **HDD (Hard Disk Drive):** Spinning magnetic platters. Cheaper, slower, larger capacity.
|
||
- **SSD (Solid State Drive):** No moving parts. Faster, more expensive, increasingly standard.
|
||
- **NVMe:** Even faster SSD connected directly via PCIe bus.
|
||
|
||
> 💡 **Analogy:** Storage is your filing cabinet. It keeps things even when you leave. HDD = big metal cabinet. SSD = well-organized digital filing system that retrieves anything instantly.
|
||
|
||
**Graphics Processing Unit (GPU)**
|
||
- Specialized processor for rendering images/video
|
||
- Important for gaming, video editing, AI/ML
|
||
- Can be integrated (built into CPU) or discrete (separate card)
|
||
|
||
**Power Supply Unit (PSU)**
|
||
- Converts AC wall power to DC for components
|
||
- Rated in watts
|
||
|
||
### Diagram Ideas
|
||
1. **IPOS Cycle Diagram** — Simple flow: Input → Processing → Output, with Storage branching off. Use icons (keyboard, CPU chip, monitor, hard drive).
|
||
2. **Motherboard Layout** — Labeled top-down view showing CPU socket, RAM slots, PCIe slots, storage connectors, I/O ports. Keep it simplified.
|
||
3. **Storage Speed Comparison** — Bar chart: HDD vs SSD vs NVMe read/write speeds.
|
||
4. **Inside a Desktop PC** — Photo or illustration with labeled callouts.
|
||
|
||
### Slide Concepts
|
||
| Slide | Content |
|
||
|-------|---------|
|
||
| 1 | Title: "What's Inside Your Computer?" + photo of open PC case |
|
||
| 2 | The IPOS Cycle — animated diagram |
|
||
| 3 | The Motherboard — labeled photo |
|
||
| 4 | CPU: The Brain — clock speed, cores, cache with chef analogy |
|
||
| 5 | RAM vs Storage — desk vs filing cabinet analogy, side by side |
|
||
| 6 | HDD vs SSD — comparison table with speeds, prices, use cases |
|
||
| 7 | GPU — what it does, integrated vs discrete |
|
||
| 8 | Quick Quiz: "Which component..." matching exercise |
|
||
|
||
---
|
||
|
||
## Lecture 2: Peripheral Devices & Types of Computers
|
||
|
||
### Key Concepts
|
||
|
||
**Input Devices**
|
||
Devices that send data TO the computer:
|
||
- Keyboard, mouse, trackpad, touchscreen
|
||
- Microphone, webcam, scanner
|
||
- Biometric readers (fingerprint, face recognition)
|
||
- Game controllers, stylus/pen
|
||
|
||
**Output Devices**
|
||
Devices that receive data FROM the computer:
|
||
- Monitor/display (LCD, LED, OLED — resolution, refresh rate)
|
||
- Printer (inkjet vs laser)
|
||
- Speakers, headphones
|
||
- Projector
|
||
|
||
**Input/Output (I/O) Devices**
|
||
Some do both:
|
||
- Touchscreen (input + output)
|
||
- USB flash drive (storage + transfer)
|
||
- Network adapter (send + receive)
|
||
- VR headset
|
||
|
||
**Ports and Connectors**
|
||
- **USB** (Type-A, Type-C, Micro) — universal standard
|
||
- **HDMI / DisplayPort** — video output
|
||
- **Ethernet (RJ-45)** — wired network
|
||
- **3.5mm audio jack** — headphones/mic
|
||
- **Thunderbolt** — high-speed data + video + power (via USB-C connector)
|
||
- **Bluetooth / Wi-Fi** — wireless connectivity
|
||
|
||
> 💡 **Teaching idea:** Bring a bag of cables and adapters. Have students identify each one. Or show photos and do a matching activity.
|
||
|
||
**Types of Computers**
|
||
- **Desktop:** Powerful, upgradeable, stationary
|
||
- **Laptop:** Portable, integrated display/keyboard/battery
|
||
- **Tablet:** Touchscreen-centric, lightweight
|
||
- **Smartphone:** Pocket computer, always connected
|
||
- **Server:** Serves data to other computers, runs 24/7
|
||
- **Mainframe / Supercomputer:** Enterprise/scientific scale
|
||
- **Embedded systems:** Computers inside other devices (cars, appliances, ATMs)
|
||
- **Wearables:** Smartwatches, fitness trackers
|
||
|
||
> 💡 **Discussion:** "How many computers do you interact with in a day?" Students often don't think about the computer in their car, microwave, or elevator.
|
||
|
||
**Buying a Computer: What Matters?**
|
||
Walk through a real spec sheet (e.g., from Best Buy or Amazon):
|
||
- CPU, RAM, storage, display, battery life, ports
|
||
- What specs matter for different users (student, gamer, video editor, office worker)
|
||
|
||
### Diagram Ideas
|
||
1. **Input/Output Classification** — Three-column layout: Input | Both | Output, with device icons in each.
|
||
2. **Common Ports Guide** — Visual reference showing each port type with label and what it's used for.
|
||
3. **Computer Types Spectrum** — From embedded → smartphone → tablet → laptop → desktop → server → supercomputer, showing trade-offs (portability vs power).
|
||
4. **Spec Sheet Breakdown** — Annotated screenshot of a real laptop listing.
|
||
|
||
### Slide Concepts
|
||
| Slide | Content |
|
||
|-------|---------|
|
||
| 1 | Title: "Connecting to Your Computer" |
|
||
| 2 | Input Devices — grid of photos with labels |
|
||
| 3 | Output Devices — grid of photos with labels |
|
||
| 4 | Ports & Connectors — visual guide |
|
||
| 5 | Types of Computers — spectrum from small to large |
|
||
| 6 | "How Many Computers Did You Use Today?" — discussion prompt |
|
||
| 7 | Reading a Spec Sheet — annotated real example |
|
||
| 8 | Activity: "Build Your Ideal Computer" — given a budget, pick components |
|
||
|
||
---
|
||
|
||
## Vocabulary
|
||
|
||
| Term | Definition |
|
||
|------|-----------|
|
||
| **IPOS Cycle** | Input → Processing → Output → Storage; the fundamental computer operation cycle |
|
||
| **CPU (Central Processing Unit)** | The processor; executes instructions and performs calculations |
|
||
| **Clock Speed** | How fast a CPU executes instructions, measured in GHz |
|
||
| **Core** | An independent processing unit within a CPU; multi-core = parallel processing |
|
||
| **Cache** | Small, very fast memory built into or near the CPU |
|
||
| **RAM (Random Access Memory)** | Volatile memory used for currently running programs and data |
|
||
| **Volatile** | Memory that loses its contents when power is turned off |
|
||
| **Non-volatile** | Memory/storage that retains data without power (e.g., SSD, HDD) |
|
||
| **HDD (Hard Disk Drive)** | Storage device using spinning magnetic platters |
|
||
| **SSD (Solid State Drive)** | Storage device using flash memory chips; no moving parts |
|
||
| **NVMe** | A fast SSD interface that connects directly to the PCIe bus |
|
||
| **GPU (Graphics Processing Unit)** | Specialized processor for rendering graphics and parallel computation |
|
||
| **Motherboard** | The main circuit board connecting all computer components |
|
||
| **PSU (Power Supply Unit)** | Converts AC power from the wall to DC power for components |
|
||
| **Peripheral** | Any external device connected to a computer (keyboard, monitor, printer, etc.) |
|
||
| **Input Device** | Hardware that sends data to the computer |
|
||
| **Output Device** | Hardware that receives and displays/produces data from the computer |
|
||
| **USB (Universal Serial Bus)** | Standard connector/protocol for peripherals and data transfer |
|
||
| **HDMI** | High-Definition Multimedia Interface; carries video and audio |
|
||
| **Bluetooth** | Short-range wireless technology for connecting devices |
|
||
| **Embedded System** | A computer built into another device (car, appliance, ATM) |
|
||
| **Resolution** | The number of pixels on a display (e.g., 1920×1080 = Full HD) |
|
||
| **Gigabyte (GB)** | A unit of digital storage/memory, roughly 1 billion bytes |
|
||
| **Terabyte (TB)** | A unit of digital storage, roughly 1 trillion bytes (1,000 GB) |
|
||
|
||
---
|
||
|
||
## Activities & Assignments
|
||
|
||
### In-Class
|
||
1. **IPOS Scavenger Hunt:** Give students a list of devices/scenarios. They classify each as Input, Processing, Output, or Storage.
|
||
2. **Cable Identification:** Show photos (or real cables) — students name the port type and what it connects.
|
||
3. **Spec Sheet Showdown:** Two laptop listings side-by-side. Students decide which is better for a given user (student, gamer, office worker) and justify their choice.
|
||
|
||
### Homework
|
||
1. **Component Research Paper (1–2 pages):** Pick one component (CPU, RAM, SSD, GPU). Explain what it does, how it's measured, and what a good current spec looks like. Include at least one comparison (e.g., Intel vs AMD, HDD vs SSD).
|
||
2. **"My Computer" Inventory:** Students find and document the specs of a computer they use (their own laptop, family desktop, school computer). Identify CPU, RAM, storage type/size, and ports available.
|
||
|
||
---
|
||
|
||
## Discussion Questions
|
||
1. Why is RAM volatile but storage is not? Why did engineers design it that way?
|
||
2. If SSDs are faster than HDDs, why do HDDs still exist?
|
||
3. What's the most surprising "computer" you interact with daily?
|
||
4. How would you decide between a laptop and a desktop for a college student?
|