Computer Fundamentals: CPU, GPU, and Primary Memory

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

flashcard set

Earn XP

Description and Tags

Comprehensive practice flashcards covering CPU components, register functions, bus operations, GPU architecture and applications, and primary memory types (RAM, ROM, and Cache).

29 Terms

1
New cards

What is the system unit of a computer?

The main case of a computer or mobile device that houses processing hardware, as well as other components such as storage devices, the power supply, and cooling hardware.

2
New cards

What is the central processing unit (CPU)?

The chip located on the motherboard of a computer that performs most of the processing for the computer; also referred to as the microprocessor in personal computers.

3
New cards

What distinct roles do the ALU and FPU perform within the CPU?

The arithmetic/logic unit (ALU) performs integer arithmetic and logical operations (AND\text{AND}, OR\text{OR}, XOR\text{XOR}, NOT\text{NOT}), whereas the floating-point unit (FPU) performs arithmetic involving real numbers.

4
New cards

What is the primary function of the Control Unit (CU)?

It coordinates and controls the operations and activities taking place within the CPU, directing electronic traffic and instructing the ALU, FPU, and registers based on instructions from the decode unit.

5
New cards
<p>Based on this CPU core diagram, what are the functions of the Prefetch Unit and Decode Unit?</p>

Based on this CPU core diagram, what are the functions of the Prefetch Unit and Decode Unit?

The prefetch unit requests instructions and data from cache or RAM ahead of time in the proper order so other components do not have to wait; the decode unit translates these instructions into a format the control unit can understand.

6
New cards

What is a CPU register?

A small-capacity, high-speed memory location built into the CPU that temporarily holds data, intermediary calculations, and processing results during the execution of programs.

7
New cards

What is the function of the Program Counter (PC)?

It holds the address of the next instruction to be executed and automatically increments after execution to point to the subsequent instruction in memory.

8
New cards

What is the function of the Memory Address Register (MAR)?

It holds the address of the data or instruction currently being fetched, receiving copies of the content from the PC and interfacing directly with the memory address bus.

9
New cards

What is the function of the Memory Data Register (MDR)?

It holds the data that has been fetched or is about to be written to the memory address currently stored in the MAR.

10
New cards

What is the role of the (Current) Instruction Register (IR)?

It holds the current instruction being executed by the CPU, serving as a temporary holding area before the instruction is decoded and executed.

11
New cards

What is the role of the Accumulator (AC)?

It holds intermediate arithmetic or logical results produced by the ALU and can also function as temporary storage for various types of data.

12
New cards

What is the difference between bandwidth and throughput in computer buses?

Bandwidth is the theoretical maximum amount of data that can be transferred through a communications medium in a given period of time, while throughput is the amount of data actually transferred under real-life conditions.

13
New cards

How do the control bus, data bus, and address bus differ in directionality and function?

The control bus transmits timing, interrupt, and read/write control signals (unidirectional or bidirectional); the data bus carries data between the CPU and memory (bidirectional); the address bus transmits memory addresses to be accessed (unidirectional from CPU, with its width determining system memory capacity, such as a 32-bit32\text{-bit} bus addressing 2322^{32} locations).

14
New cards

What is a co-processor, and what are two common examples?

A special type of processor built to perform a specific task to optimize performance and free the main CPU for general processing; examples include graphics processing units (GPUs) and digital signal processors (DSPs).

15
New cards

How does the core architecture of a GPU differ from that of a CPU?

A CPU has a few powerful cores optimized for generalized, sequential processing, whereas a GPU consists of thousands of smaller, efficient cores designed for specialized, parallel processing.

16
New cards

Why are GPUs superior to CPUs for artificial intelligence and machine learning calculations?

Many AI models rely heavily on matrix and vector multiplications, and GPUs can perform thousands of these simple calculations simultaneously through parallel processing.

17
New cards

How are GPUs utilized in scientific bioinformatics and genome sequencing?

They enable rapid parallel alignment of millions of DNA sequences against reference genomes to quickly identify mutations and genetic variations.

18
New cards

Why did GPU demand and pricing for cryptocurrency mining stabilize by 2025?

Demand decreased due to lower mining profitability, increased manufacturer output, and the widespread adoption of Application-specific integrated circuits (ASICs) designed specifically for mining.

19
New cards

What is the difference between memory and storage?

Memory refers to fast, chip-based storage used to hold active data and program instructions temporarily; storage refers to more permanent media, such as internal hard drives or removable media (DVDs, USB drives).

20
New cards

How is primary memory logically organized?

It is organized into individual storage locations called cells (typically one byte in size), each assigned a unique numerical address.

21
New cards

What does it mean for RAM to be 'volatile'?

Data and program instructions held in RAM are lost when electrical power to the computer system is turned off.

22
New cards
<p>What electrical mechanism requires Dynamic RAM (DRAM) to be periodically refreshed?</p>

What electrical mechanism requires Dynamic RAM (DRAM) to be periodically refreshed?

DRAM stores data in capacitors that leak electrical charge over time, requiring them to be recharged (refreshed) every few milliseconds to preserve the stored bits.

23
New cards

What are the key trade-offs between DRAM and Static RAM (SRAM)?

DRAM uses fewer components per bit (capacitors), making it cheaper and higher in density; SRAM uses flip-flops, which do not need refreshing, making it significantly faster and ideal for CPU cache, though more expensive and lower density.

24
New cards

What is Read-Only Memory (ROM), and what type of software does it typically store?

Nonvolatile memory chips that permanently store non-modifiable or rarely modified data and instructions; it typically stores firmware, such as startup instructions for the computer.

25
New cards

What are the four main types of ROM technology?

Standard ROM (written during manufacturing), Programmable ROM (PROM, programmed once after manufacturing), Erasable ROM (EPROM, erased using ultraviolet light off the board), and Electrically-erasable PROM (EEPROM, erased electrically while remaining on the motherboard).

26
New cards

What are the differences among L1, L2, and L3 cache memory?

L1 is on the CPU, fastest, smallest (32 kB32\text{ kB} to 256 kB256\text{ kB} per core); L2 is on or very near the CPU (256 kB256\text{ kB} to 2 MB2\text{ MB} per core); L3 is farthest from the CPU, shared across multiple cores, and largest (256 kB256\text{ kB} to 64 MB64\text{ MB} total).

27
New cards
<p>What is the difference between a cache hit and a cache miss?</p>

What is the difference between a cache hit and a cache miss?

A cache hit occurs when requested data is successfully found in the cache; a cache miss occurs when the data is not present in cache, requiring retrieval from slower main memory (RAM) or storage.

28
New cards
<p>What does this memory hierarchy pyramid represent regarding speed, capacity, and distance from the CPU?</p>

What does this memory hierarchy pyramid represent regarding speed, capacity, and distance from the CPU?

As you move from the top (Registers) to the bottom (Secondary Storage), memory transitions from closest, fastest, smallest, and lowest latency to farthest, slowest, largest, and highest latency.

29
New cards

What are the typical access times for registers, L1 cache, L2 cache, L3 cache, and RAM?

Registers: 0.2–0.5 ns0.2\text{--}0.5\,\text{ns}; L1 cache: 3–7 ns3\text{--}7\,\text{ns}; L2 cache: 5–10 ns5\text{--}10\,\text{ns}; L3 cache: 10–40 ns10\text{--}40\,\text{ns}; RAM: 50–70 ns50\text{--}70\,\text{ns}.