Study guide

4.1 Computer components, CPU/memory/storage & operating systems

DoD Cyber Test Military Cyber Aptitude Test

Track your progress as you read

Finished sections get a check mark.

1 Logical Reasoning

1.1 Pattern recognition & number/letter sequences 1.2 Deductive logic & conditional (if-then) statements 1.3 Algorithmic thinking & flowchart/decision logic

2 Problem Solving

2.1 Structured troubleshooting method & root-cause analysis 2.2 Process flow, debugging approaches & elimination 2.3 Word & quantitative reasoning problems

3 Networking Basics

3.1 IP addressing, subnets, IPv4/IPv6 & DNS 3.2 Protocols: TCP/UDP/HTTP(S)/FTP & common ports 3.3 OSI & TCP/IP models & network topologies

4 Hardware & Software

4.1 Computer components, CPU/memory/storage & operating systems 4.2 Binary, hexadecimal & data representation

5 Cybersecurity Fundamentals

5.1 Encryption, authentication & access control (CIA triad) 5.2 Threats, vulnerabilities, malware & social engineering

6 Test Strategy & Mixed Practice

6.1 Test-taking strategy, timing & mixed full-length practice

4.1 Computer components, CPU/memory/storage & operating systems

Key Takeaways Explain This Topic AI

The CPU runs a fetch-decode-execute cycle; clock speed (GHz) and core count determine how much work it does per second.

RAM is volatile working memory that clears at power-off; storage (HDD/SSD) is non-volatile and keeps data permanently.

The memory hierarchy runs fastest-to-slowest: registers, cache, RAM, then storage - each level larger, slower, and cheaper.

Firmware (BIOS or UEFI) runs the POST and loads the bootloader, which starts the operating system.

The OS kernel manages processes, memory, file systems, drivers, and permissions; Linux uses root and a single / tree, Windows uses Administrator and drive letters.

Last updated: July 2026

How a Computer Is Organized

Every computer follows the same basic plan: a central processor that does the work, memory that holds what it is working on, storage that keeps data when the power is off, and buses that carry signals between them. The motherboard is the main circuit board that ties these parts together. It hosts the CPU socket, memory (RAM) slots, expansion slots, storage connectors, and the firmware chip that starts the machine. Many systems also include a GPU (Graphics Processing Unit) , a specialized processor with thousands of small cores built for the parallel math behind graphics and, increasingly, machine learning.

The CPU

The CPU (Central Processing Unit) is the "brain." It executes instructions in a repeating fetch-decode-execute cycle: fetch an instruction from memory, decode what it means, execute it, then repeat. Its speed is measured in clock cycles per second (hertz) ; a 3.0 GHz CPU steps three billion times per second. Modern CPUs have multiple cores , so a quad-core chip can run four instruction streams at once. The width of the CPU - commonly 32-bit or 64-bit - is how many bits it handles at once; a 64-bit CPU can address far more RAM than a 32-bit one, which tops out near 4 GB. Inside the CPU are tiny, extremely fast cells called registers that hold the operands it is actively using.

The memory hierarchy

Computers use several kinds of memory arranged by a trade-off: the faster the memory, the smaller and more expensive it is. From fastest to slowest:

  • Level Example Volatile? Typical size Speed
  • Registers Inside CPU Yes Bytes Fastest
  • Cache (L1/L2/L3) On/near CPU Yes KB-MB Very fast
  • Main memory RAM Yes GB Fast
  • Storage SSD / HDD No GB-TB Slowest

RAM (Random Access Memory) is the computer's working memory. It is volatile , meaning its contents vanish when power is lost. Cache is a small pool of very fast memory that keeps copies of data the CPU used recently, so it does not have to wait on slower RAM. Registers sit at the very top - smallest and fastest.

Worked example: when the CPU needs a value, it first checks its registers, then L1 cache, then L2/L3 cache, then RAM, and only if none hold it does it read from storage. Each step down is roughly ten times slower, which is why keeping "hot" data high in the hierarchy makes programs fast. Because storage is far slower than RAM, a program forced to swap heavily to disk - called thrashing - feels sluggish.

Storage

Storage keeps data permanently and is non-volatile - it survives a power-off. A hard disk drive (HDD) stores bits magnetically on spinning platters read by a moving head. A solid-state drive (SSD) stores bits in flash memory chips with no moving parts, so it is far faster and more shock-resistant. The key distinction to remember: RAM is volatile working memory; storage is non-volatile permanent memory. Turning the computer off empties RAM but not the SSD.

Buses and I/O

A bus is a set of wires that moves data between components - for example, the memory bus between the CPU and RAM. Wider, faster buses move more data per second. I/O (input/output) covers devices that move data in and out of the machine: keyboards and mice are input; monitors and printers are output; a touchscreen and a network card are both. Ports such as USB let these devices attach to the motherboard.

Booting: BIOS and UEFI

When you press power, firmware on the motherboard runs first. Older machines use the BIOS (Basic Input/Output System) ; modern machines use UEFI (Unified Extensible Firmware Interface) , which supports larger disks, faster boot, and security features like Secure Boot. The firmware runs a POST (power-on self-test) to check hardware, then loads a small bootloader from storage, which in turn loads the operating system.

The Operating System

The operating system (OS) is the software layer that manages the hardware and gives programs a consistent way to use it. Its core is the kernel , which has privileged access to hardware. Programs request services through system calls , which switch the CPU from unprivileged user mode into privileged kernel mode so the kernel can act safely. Key OS jobs:

Process management - schedules which program runs on the CPU and when, giving each a fair time slice so many programs appear to run at once.

Memory management - hands out RAM to programs, isolates them so one cannot corrupt another, and uses virtual memory (swapping to disk) when RAM runs low.

File systems - organize storage into files and folders (NTFS on Windows, ext4 on Linux) and track where each file's bits live.

Device drivers - translate general OS requests into the specific commands each piece of hardware understands.

Permissions and users - control who may read, write, or execute each file.

Windows vs Linux

Windows uses drive letters (such as C:), the NTFS file system, and a graphical shell. Linux uses a single rooted tree (/), file systems like ext4, and is common on servers and security tooling. On Linux the administrator account is called root ; on Windows the equivalent is Administrator . Linux permissions are shown as read/write/execute bits for the owner, group, and others - worth knowing because so much cyber work happens on Linux systems.