CPU, GPU, ROM, and RAM

Central Processing Unit (CPU)

The CPU is often called the “brain” of the computer. It performs all the basic calculations and logic operations (like adding numbers or comparing data) so your computer can do everything from browsing the web to playing video games. CPU performance is often indicated by its clock speed, measured in GHz (gigahertz), representing the number of operations per second.

Most processors today are 64-bit, which allows them to handle more data and memory compared to 32-bit processors.

When you’re streaming music, chatting, and browsing all at once, it feels like your computer is multitasking, but it’s not. A single-core processor can only do one thing at a time. It just switches between tasks very quickly. Many CPUs now have multiple cores (like dual-core or quad-core), allowing them to run multiple tasks at once. This makes your system more responsive when you’re using several apps at the same time. Instruction sets are the languages that the CPU understand. Common instruction sets include x86 (prevalent in most Windows and Linux PCs) and ARM (widely used in mobile devices and newer Mac computers). Servers, specialized workstations, and game consoles use different instruction sets entirely.

AMD Athlon 64 x2
An AMD multi-core CPU
Intel Pentium Core2 quad-core processor
An Intel multi-core CPU

Graphics Processing Unit (GPU)

The graphics processing unit (GPU) is a microprocessor, like the CPU, but is specialized to perform graphical operations. GPUs are often physically integrated into the CPU. An integrated GPU shares random access memory (RAM) with the CPU. Demanding graphical applications, such as video games and video editing, often require better performance than an integrated GPU. You can buy separate GPUs. Recently, GPUs have become extremely popular due to their use for cryptocurrency mining and machine learning.

Nvidia GeForce GTX 580 video card (desktop)
Nvidia GeForce GTX 580 Video Card (desktop)
Nvidia Mobile 6800 Ultra video card
Nvidia Mobile 6800 Ultra Video Card

ROM and RAM

Your computer relies on two primary types of memory for its operations:

ROM (Read-Only Memory)

BIOS ROM Chip
An example of a BIOS ROM Chip (essential for startup!)

ROM (Read-Only Memory) is a type of permanent, non-volatile memory. This means it retains its data even when your computer is turned off. ROM stores essential instructions your computer needs to start up, specifically the BIOS (Basic Input/Output System) or, in more modern systems, the UEFI (Unified Extensible Firmware Interface). This firmware checks your hardware and helps boot the operating system.

Think of ROM as the computer’s unchanging core instructions, like how you don’t forget how to ride a bike.

RAM (Random Access Memory)

RAM (Random Access Memory) is your computer’s fast, temporary, and volatile memory. Unlike ROM, RAM loses all its content when the computer is turned off. It stores the data and programs the CPU is actively working on. When you open an application, it gets loaded into RAM so the CPU can access it quickly.

The more RAM your computer has, the more applications it can run smoothly at the same time without slowing down. You can often upgrade your computer’s RAM by adding or replacing memory modules with higher capacities (e.g., upgrading from 8GB to 16GB). More RAM means better performance! Think of RAM as your computer’s “workbench” – more space allows for more tasks to be spread out and handled quickly.

Laptop RAM (SODIMM) – smaller for mobile devices
Desktop RAM (DIMM) – larger for desktop PCs

Exercises

  1. Imagine you are buying a new laptop for college. You need to use it for taking notes, browsing the web, and occasionally editing short videos for a class project. Based on what you’ve learned, what kind of CPU, GPU, and amount of RAM would you prioritize? Explain your reasoning.
  2. Your friend complains that their computer crashes every time they try to play a new video game, even though they have a powerful CPU. What piece of hardware would you ask them about first, and why?