Free Online Flashcard Deck

09 — How Computers and Systems Work Free Online FlashCards

Study 09 — How Computers and Systems Work with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What makes a computer a system?

Back

A computer is a system of cooperating components that represents information, executes instructions, stores data, and communicates with other systems.

02
Front

How do RAM and persistent storage differ?

Back

Main memory holds programs and data currently in use, while persistent storage retains them when power is removed.

03
Front

What are the main stages of the processor cycle?

Back

The processor fetches an instruction, decodes it, executes it, and retires or writes back the result while updating processor state.

04
Front

What does the program counter store?

Back

The program counter holds the address of the next instruction to be executed.

05
Front

What does an instruction set architecture define?

Back

An instruction set architecture defines the programmer-visible instructions, registers, data types, memory addressing, encodings, and exception behavior of a processor.

06
Front

Why does locality of reference improve performance?

Back

Locality of reference is the tendency of programs to reuse nearby data or instructions, allowing caches to serve later requests quickly.

07
Front

What triggers a page fault?

Back

A page fault occurs when a referenced page is not currently available in the required physical-memory location, so the operating system must load or reconstruct it.

08
Front

What does a file system organize?

Back

A file system organizes persistent storage into files and directories and records names, contents, sizes, permissions, timestamps, and storage blocks.

09
Front

What is the main role of an operating system?

Back

The operating system manages hardware and provides applications with services for processor time, memory, files, devices, security, and communication.

10
Front

What is a system call?

Back

A system call is an application’s request for an operating-system service, such as opening a file, allocating memory, creating a process, or sending network data.

11
Front

How does a process differ from a thread?

Back

A process is a running program with resources such as a virtual address space and open files; a thread is a schedulable instruction sequence within a process.

12
Front

What happens during a context switch?

Back

A context switch saves one thread’s execution state and restores another’s, allowing a single core to alternate among threads.