1 / 12

Computer Architecture

How Computers Work

Lesson 1: Introduction to Computer Science

Understanding the building blocks of computing

What We'll Learn Today

What is a Computer?

A computer is a machine that:

Think of it as a very fast calculator that can remember things!

Computer Architecture Overview

Computer Architecture Diagram

This is how all the components work together to process information!

The CPU - The Brain

Modern CPUs can execute billions of instructions per second!

Your phone's CPU is more powerful than room-sized computers from the 1960s

RAM - Short-term Memory

Think of RAM like your desk when doing homework - you keep papers you're actively using close at hand

Storage - Long-term Memory

Like a filing cabinet - lots of space for long-term storage, but takes time to find what you need

Data Units: From Tiny to Huge

Understanding how computers measure and organize information:

📱 Bit

Smallest unit: 1 or 0
Like a single light switch

📦 Byte

8 bits together
Can store 1 character (A-Z, 0-9)

🏠 Word

CPU's natural data size
32-bit or 64-bit chunks

🏢 Double Word

2 words together
For bigger numbers/addresses

🎯 Memory Address Game

Click to see how your computer finds data:

How Computers Think: Binary

Computers only understand two states:

ON (1) or OFF (0)

Like a light switch: 💡 or ⚫

Everything is made from combinations of 1s and 0s:

Letter 'A' = 01000001
Number 5 = 00000101
Your favorite emoji = lots of 1s and 0s!

🎯 Let's Explore Your Computer!

Open your computer's system information:

  • Windows: Right-click "This PC" → Properties
  • Mac: Apple menu → About This Mac

Find and write down:

  • CPU/Processor name and speed
  • Amount of RAM/Memory
  • Storage space available

🔢 Binary Counting Challenge

Let's count to 10 in binary!

Decimal → Binary

0 → 0000

1 → 0001

2 → 0010

3 → 0011

4 → 0100

Can you figure out 5-10?

Why Learn Computer Architecture?

When you write JavaScript, it eventually becomes instructions for the CPU!

Coming Up Next...

From Hardware to Software

Ready to start creating? 🚀