Module 1 · Computer Fundamentals · Lesson 2 of 75

Inside the machine: CPU, memory, storage and binary

The parts of a computer, how they work together, and why bits, bytes and hexadecimal show up everywhere in security.

In this lesson · about 30 minutes

  • Name the main hardware parts and what each does
  • Explain the difference between memory (RAM) and storage
  • Convert small numbers between decimal, binary and hexadecimal

The main parts

PartJobWhy security people care
CPU (processor)Runs instructions, one tiny step at a time, very fast. Has cores (several workers) and small built-in caches.Some attacks (such as Spectre and Meltdown) abused CPU shortcuts to leak secrets between programs.
RAM (memory)Holds running programs and their data. Volatile: cleared when power is lost.Passwords, keys and malware often live only in RAM. Forensic investigators capture memory before switching a machine off (Module 17).
Storage (SSD, HDD)Keeps files when the power is off.Deleted files can often be recovered. Full-disk encryption protects a stolen laptop.
Motherboard and firmware (UEFI/BIOS)Connects the parts and starts the computer.Firmware runs before the operating system, so malware there (a "bootkit") is hard to remove. Secure Boot checks it.
Network card (NIC)Sends and receives data on a network, wired or Wi-Fi. Has a MAC address.Everything in Modules 2 and 10 travels through it.
TPM (Trusted Platform Module)A small security chip that stores keys and measures the boot.Holds disk-encryption keys (BitLocker) and is required by Windows 11.

Bits and bytes

Inside the machine, everything is a bit: a 0 or a 1 (off or on). Eight bits make a byte, which can hold 256 different values (0 to 255). Text, pictures, programs and network packets are all just long rows of bytes.

  • 1 KB ≈ a thousand bytes, 1 MB ≈ a million, 1 GB ≈ a billion, 1 TB ≈ a trillion.
  • Network speeds are given in bits per second (100 Mbps), file sizes in bytes. 100 Mbps moves about 12.5 MB each second.

Binary and hexadecimal

Binary counts in base 2. Each place is worth double the one to its right: 128, 64, 32, 16, 8, 4, 2, 1. So 1010 0001 = 128 + 32 + 1 = 161.

Hexadecimal ("hex") counts in base 16, using 0 to 9 then A to F (A = 10 ... F = 15). One hex digit is exactly four bits, so a byte is always two hex digits: A1 = 1010 0001 = 161. You will see hex in MAC addresses (00:1A:2B:3C:4D:5E), hashes, memory addresses, colour codes and malware dumps.

Whiteboard · watch and try

Converting 200 to binary and hex

Press Play and follow along. Pause and try the next step yourself before the tutor writes it.

4 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Flashcards

Quick conversions

0 of 6 known

Work each one out on paper before you flip it.

6 left in the deck

Check your understanding0 of 4 correct

Question 1

1.Which part loses its contents when the power is cut?

Question 2

2.What is the hexadecimal form of decimal 16?

Question 3

3.A broadband plan offers 200 Mbps. Roughly how many megabytes per second is that?

Question 4

4.Which chip stores disk-encryption keys and checks the boot process?

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 4

Tip: answer every quiz question correctly first.

Written by Noviq Academy in its own words. All labs are simulations: no real systems are touched, and every name, address, password and hash is made up. The offensive techniques taught here are for defending systems and for authorised testing only; never scan, access or test a system without the owner's written permission. Tool and product names belong to their owners, and command output may differ slightly from yours. Read-aloud uses your device's built-in voices.