Introduction to Processors

Welcome to the "engine room" of the digital world! In this chapter, we are going to explore Processors. You have probably heard people talk about how "fast" their computer or phone is—usually, they are talking about the processor. Think of the processor as the brain of any digital device. Whether it is a giant mainframe or a tiny chip inside a microwave, the processor is what makes things happen.

By the end of this page, you will understand exactly what a processor does and how we measure its "brain power."

1. The Central Processing Unit (CPU)

The main processor in a computer is called the CPU, which stands for Central Processing Unit. Every time you click a mouse, press a key, or touch a screen, you are sending instructions to the CPU.

The Function of the CPU

The CPU has one primary job: to process data. It does this by following instructions provided by the software (apps and programs) currently running on the device. Its main functions include:

  • Executing Instructions: It carries out the commands from your software (like "add these two numbers" or "move this image").
  • Processing Data: It takes raw data (input) and turns it into something useful (output).
  • Controlling the System: It acts as a coordinator, telling other parts of the computer—like the memory or the screen—what to do and when to do it.

A Simple Analogy: Imagine a chef in a busy kitchen. The recipe is the software, the ingredients are the data, and the chef is the CPU. The chef follows the instructions in the recipe to turn the raw ingredients into a finished meal.

Note: For more on how the CPU interacts with other parts of the computer, you can look at our chapter on Memory (RAM and ROM).

Key Takeaway:

The CPU is the "brain" of the device. It processes data and carries out instructions from software.


2. Measuring Processor Speed

Not all processors are created equal. Some can think much faster than others. When we talk about how "fast" a processor is, we are actually talking about its clock speed.

What is Clock Speed?

Inside every processor is a tiny "clock" that pulses at a steady bit. Every time that clock pulses, the processor can perform a tiny piece of an instruction. This is called a cycle.

The more pulses (cycles) the clock makes per second, the more instructions the CPU can finish. We measure this speed in Hertz (Hz).

Units of Measurement

Modern processors are so fast that they perform millions or even billions of cycles every single second. Because these numbers are so huge, we use special terms to describe them:

  • Megahertz (MHz): One million cycles per second.
  • Gigahertz (GHz): One billion cycles per second.

In your exam, you will most likely see speeds written in GHz. For example, a processor might be described as \(2.4 \text{ GHz}\). This means it can perform \(2.4\) billion cycles every second!

Quick Review of the Math:

\(1 \text{ Hz} = 1\) cycle per second

\(1 \text{ MHz} = 1,000,000\) cycles per second

\(1 \text{ GHz} = 1,000,000,000\) cycles per second

Did you know? Even though a high clock speed usually means a faster computer, the CPU can only work as fast as the rest of the system allows. If you have very little RAM, your fast processor might end up waiting around for data to arrive!

Key Takeaway:

Processor speed is measured by clock speed in Hertz (Hz). Most modern devices use Gigahertz (GHz).


3. Real-World Application

In Topic 1.1 (Types of digital devices), you learned that processors are found in many places, not just laptops. The type of processor chosen depends on what the device needs to do:

  • Mainframes: These have incredibly powerful processors (or many processors working together) because they need to handle complex processing for thousands of users at once.
  • Microprocessors: These are smaller, simpler processors embedded in products like washing machines, smart bulbs, or microwaves. They only need to do a few specific tasks, so they don't need to be as fast as a desktop CPU.
  • Smartphones: These use powerful but energy-efficient processors to make sure your apps run smoothly without draining the battery too quickly.

Quick Review: Don't Get Caught Out!

Students often find this section tricky because they try to learn too much about how the chips are made. Remember these simple rules for your IGCSE:

Common Mistakes to Avoid:

  • Mistake: Thinking "Processor" and "Storage" are the same.
    Correction: The Processor is for thinking/doing; Storage (like an HDD or SSD) is for keeping files.
  • Mistake: Thinking a faster processor makes your internet speed faster.
    Correction: A fast processor helps your computer load the browser and display images quickly, but it doesn't change how fast your Wi-Fi is!
  • Mistake: Forgetting the units.
    Correction: Always remember that Hz is the unit for speed.

Summary Checklist

Can you answer these questions?

1. What does CPU stand for? (Central Processing Unit)

2. What are the two main functions of the CPU? (Process data and execute instructions)

3. What unit is used to measure the speed of a processor? (Hertz / Hz)

4. How many cycles per second is \(1 \text{ GHz}\)? (One billion)