Information & AI guides →

Information & AI · Devices and operating systems

Devices and operating systems: processing, storage and power

Edited by: Hitoiki Arcade / Hitoiki Learning team · Published: · References and presentation updated: · Editorial policy

Before comparing a computer's speed and capacity figures, identify what each component does. Executing instructions, retaining data and restoring a working session are related tasks, but they are not interchangeable. Describing those roles gives the numbers a useful context.

This guide moves from processors and storage to Windows power states. Available states depend on the hardware and configuration. A dark screen is one observation, not a complete account of what the computer is doing or how it preserves your work.

Attach a quantity to every CPU figure

A CPU executes program instructions. Its clock frequency measures cycles per second. A figure in GHz does not specify memory capacity or core count. Before comparing two numbers, name the quantity and unit so that a familiar-looking specification does not answer the wrong question.

Different CPU designs can perform different amounts of work per cycle and have different caches and core counts. Higher frequency alone does not establish better performance for every task. Consider the actual workload together with the architecture that carries it out.

CPU expands to Central Processing Unit and GPU to Graphics Processing Unit. Clock timing is measured in units such as GHz, or gigahertz. A core is a processing unit; a cache is fast memory retaining frequently used instructions and data. Frequency, unit count and storage capacity describe different quantities rather than one interchangeable performance number.

Try a quiz on Devices and operating systems

Each section link opens a quiz on related topics. Questions may cover more than that section, so check the range and difficulty before starting.

Distinguish storage mechanisms from retention

A hard disk drive uses spinning magnetic platters and read/write heads. An SSD based on NAND flash uses a different mechanism. Both serve as storage, but a shared purpose does not imply a shared physical design. The examples begin with this distinction rather than a product ranking.

NAND flash is nonvolatile: it retains stored data without continuous power. That does not mean it cannot fail or that a separate copy is unnecessary. Separating persistent storage, working memory and recovery copies also helps you interpret capacity figures without treating them as the same resource.

SSD means Solid-State Drive; RAM means Random Access Memory. Here RAM supplies working memory while an SSD provides persistent storage. Keeping the place used during editing separate from the saved copy’s location explains why adding working memory and adding storage capacity are different changes.

Ask where a power state keeps the work

During ACPI S1–S3 sleep, main DRAM remains powered and refreshed. Windows hibernation writes memory contents to a hibernation file. Both can allow work to resume, but the state is preserved in different places with different power requirements.

A computer may continue running while its display is off. Windows fast startup can also end user sessions while preserving kernel state. Alongside everyday descriptions such as off or resumed, ask what was saved and what was newly started. That produces a more precise explanation of the observed behavior.

Separate execution flows from their supporting resources

A saved program file differs from the process running it. A process owns resources such as an address space and open handles; threads within it are scheduled for execution. Several threads can share the process’s resources. The scheduler chooses which thread receives the next processor time slice, rather than changing the CPU’s clock frequency.

Virtual addresses are translated to physical locations through a page table. The same virtual number in different processes need not identify the same storage. A page fault can also be resolved by supplying the needed page and continuing. Distinguish the number, its mapping and current residency instead of concluding that any event called a fault is a crash.

Environment variables are another form of process input. MODE=test associates a name with a value a program may read as a setting. Not every program assigns the same meaning to every variable. Inspect the information actually received and used by the running process rather than assuming that a saved setting has universal effect.

OS means Operating System, the foundational software managing resources such as memory and processes. A memory page is one unit of that memory management, not a web document. Distinguish the whole resource manager, individual executions and memory blocks to follow the relationships behind the terminology.

Execution flows share resources

Execution flows share resourcesOne process contains threads A and B. Both have arrows to one shared-resource region within the process.processthread Athread BShared resourcesAddress space, etc.
This shows relationships inside one process. Two execution flows can use the resources in that same process.

Locate the data and identify the completion stage

A file cache can supply previously read data from system memory instead of another disk access. That changes the current read path, not the need for the persistent file. For writing, distinguish a change held only in cache from a flush to disk. A fast response does not by itself establish protection against losing an unwritten update in a power failure.

Asynchronous I/O allows a thread to continue other work after request acceptance. Acceptance is not completion, so check the completion status before using the result. Trace starting the operation, completing it and obtaining usable output separately. Overlapping waiting with useful work does not justify skipping the result check.

TRY & READ

Check your understanding with examples

Compare the choices before opening the answer and explanation. Reading an example does not save a test answer or score.

Example 1 · Devices and operating systems

What is a basic role of a computer CPU?

  1. Retain files for persistent storage
  2. Perform graphics-specific parallel computation
  3. Executing program instructions
  4. Keep working data in main memory
Read the answer and explanation

Answer: Executing program instructions

The CPU executes instructions from programs, including operations such as arithmetic. This processing role differs from storing a large collection of documents or physically printing a page. When investigating a slow operation, distinguish instruction execution from waiting for storage, communication or another device.

Read reasoning and more detail

Naming the CPU alone does not explain where an application spends its time. CPU means Central Processing Unit. The name identifies its instruction-processing role, rather than a storage-capacity unit or a display-resolution measurement.

Sources for this example

Example 2 · Devices and operating systems

What basic mechanism does a hard disk drive use?

  1. Record on optical discs with a laser
  2. Record in powered DRAM
  3. Spinning magnetic platters and read/write heads
  4. Record in semiconductor NAND flash
Read the answer and explanation

Answer: Spinning magnetic platters and read/write heads

An HDD records data on spinning magnetic platters and uses moving heads to read and write it. Those mechanical components distinguish it from an SSD using NAND flash and from laser-based optical-disc storage. Identify the recording medium and read/write mechanism first; performance and failure behavior depend separately on the actual products and conditions.

Sources for this example

Example 3 · Devices and operating systems

How does Windows hibernation primarily preserve system state?

  1. Reread executables from the beginning at startup
  2. By saving memory contents to a file on nonvolatile storage
  3. Retain state only by keeping DRAM powered
  4. Rewrite only kernel instructions into ROM
Read the answer and explanation

Answer: By saving memory contents to a file on nonvolatile storage

Hibernation preserves the memory contents in a hibernation file on nonvolatile storage, allowing restoration without continuously refreshing DRAM. Ordinary S1–S3 sleep retains volatile memory through refresh instead. These are different preservation mechanisms even if the screen is dark in both cases.

Read reasoning and more detail

To distinguish them, identify where the working state is kept rather than relying only on how the machine looks.

Sources for this example

Sources for this guide

Continue with a quiz

Topics: Devices and operating systems. Range: Everyday knowledge, Broader knowledge, General knowledge. Difficulty: Basic, Standard. These are selected initially. You can change these on the setup screen.

Try this topic in a quiz

This opens the setup screen with this subject and topic selected. Check the mode and question count before you start.

A test shows explanations after submission. Continuous challenge explains each answer. Review uses unresolved mistakes recorded on this device. Casual mode does not update learning records.

Enjoyed it? Share the link

Only the page address is shared. Your saves and results are not included.

Link to this page