Skip to learning content

Learning Center

2.1 What RAM does

Lesson

Practice lab

0 / 1solved

Saved on this device. Practice is ungraded.

Build and test

Keep a support call responsive

A developer’s PC stalls while sharing a coding project with support. The OS needs 3 GB, the video call 2 GB, and the project 3 GB; at least four reference tabs must stay open. Plan RAM and browser load within a $55 upgrade budget. Supplied working-set sizes add; real systems also use caches, compression, and paging.

Active RAM demand—
RAM remaining—
Upgrade cost—

Change choices to compare results, then check the requirements.

  • All active work fits
  • At least four reference tabs
  • Upgrade stays within $55
Lesson notes

RAM gives running apps fast, temporary workspace.

Active data

Programs load active data into RAM for fast CPU access. Powering off clears RAM; saved files remain on storage.

Memory pressure

Tabs, apps, and large projects share RAM. If demand exceeds available memory, paging and other memory management can delay loading or app switching.

Desk and filing cabinet

RAM is the desk holding current work; storage is the filing cabinet holding saved material. The CPU works with the active data on the desk.

Observe multitasking

Open browser tabs, a document, and a music app together. Compare memory use and app-switching responsiveness. Slow switching can suggest memory pressure; check the readings.

Worked example

Inputs: 8 GB RAM; apps use about 6 GB and a new app needs 4 GB; the drive has 200 GB free.

Task: Calculate demand and explain the likely constraint.

Check the reasoning

About 10 GB exceeds 8 GB. Paging to storage may add latency; drive free space is not RAM.

Actual cache, compression, and working-set behavior require observation.

StorageRAMCPU
Storage supplies active data to RAM; the CPU executes instructions. Saving writes changes back to storage. Arrows represent data flow, not wiring.

OpenDesk

Choose an Ubuntu desktop for coding and coursework, with compatible CPU and RAM options and 64 GB–1 TB of storage. Resource changes keep the selected Ubuntu version. Disks can grow but cannot shrink.

This optional workspace keeps this lesson open. Windows-specific instructions and physical hardware tasks may need another device. Course progress stays in the Learning Center.

Open OpenDesk in a new tab