Computers 101: Hardware, Number Systems, CPU Architecture & Memory, Computer Architecture & Memory Hierarchy: Key Concepts and Components

0.0(0)
studied byStudied by 1 person
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/50

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

51 Terms

1
New cards

CPU (Central Processing Unit)

Executes instructions via registers and ALU.

2
New cards

Motherboard

Connects all components; includes CPU socket, RAM slots, SATA headers, PCIe slots.

3
New cards

Storage Devices

HDDs, SSDs, M.2/NVMe drives connected via SATA or PCIe.

4
New cards

Address Bus

Specifies memory location.

5
New cards

Data Bus

Transfers actual data.

6
New cards

Control Bus

Manages timing and coordination.

7
New cards

Binary

Base 2 number system.

8
New cards

Decimal

Base 10 number system.

9
New cards

Hexadecimal

Base 16 number system.

10
New cards

Two's Complement

Represents positive and negative integers in binary.

11
New cards

Method for Two's Complement

Invert bits + add 1.

12
New cards

Range for 8-bit

−128 to +127.

13
New cards

Von Neumann Architecture

Shared memory for data/instructions.

14
New cards

CPU Instruction Cycle

Fetch → Decode → Execute.

15
New cards

Cache

Temporary storage for frequent data, ~0.5-10 ns speed, volatile.

16
New cards

RAM

Active programs and data, ~10-70 ns speed, volatile.

17
New cards

ROM

Firmware, boot instructions, ~100-200 ns speed, non-volatile.

18
New cards

Bit

0 or 1.

19
New cards

Byte

8 bits.

20
New cards

Word

CPU's native size (e.g., 32-bit, 64-bit).

21
New cards

Moore's Law

Transistor count doubles ~every 2 years.

22
New cards

Cache Miss

CPU fetches data from slower memory, increasing latency.

23
New cards

Program Counter (PC)

Holds the address of the next instruction to execute.

24
New cards

CPU

Executes instructions using registers and the ALU (Arithmetic Logic Unit).

25
New cards

Motherboard

Connects all components, including CPU, memory, and storage.

26
New cards

Bus System

Transfers data between components; includes address, data, and control buses.

27
New cards

Memory Hierarchy

Balances speed and capacity; faster memory (like cache) is more expensive and smaller, while slower memory (like HDD) is larger and cheaper.

28
New cards

Registers

Fastest temporary storage inside CPU (e.g., RAX, RBX, PC, FLAGS).

29
New cards

Cache (L1, L2, L3)

Very fast, small capacity, close to CPU.

30
New cards

RAM (SD-RAM, DDR-SDRAM)

Volatile, fast, small capacity, used during active programs.

31
New cards

ROM

Non-volatile, stores firmware and boot instructions.

32
New cards

Solid State Drives (SSD)

Non-volatile, reasonably priced, moderate speed and capacity.

33
New cards

Mechanical Hard Drives (HDD)

Slow, large capacity, cost-effective virtual memory.

34
New cards

Trade-offs

Faster storage is more expensive; hierarchy optimizes performance and cost.

35
New cards

Caching

Moves data up/down the hierarchy as needed for efficiency.

36
New cards

Memory Bus Width & Speed

Example interfaces include PCIe 4.0 x16 (32 GB/s), DDR5-5600 (44 GB/s), SATA III (600 MB/s).

37
New cards

Binary

Base-2 system; uses 0 and 1, fundamental for digital logic.

38
New cards

Hexadecimal

Base-16; each digit represents 4 bits, making binary more readable.

39
New cards

Binary to decimal

Sum of bits times powers of 2.

40
New cards

Decimal to binary

Divide by 2 repeatedly, record remainders.

41
New cards

Hex to binary

Convert each hex digit to 4-bit binary.

42
New cards

Bits, Bytes, Words

1 Byte = 8 Bits; Word size varies (16, 32, 64 bits) depending on CPU architecture.

43
New cards

Two's Complement

Standard for signed integers.

44
New cards

Sign bit

0 for positive, 1 for negative.

45
New cards

Instruction Cycle

Fetch, Decode, Execute, Increment PC.

46
New cards

Von Neumann Architecture

Stores program instructions and data in the same memory.

47
New cards

Processor Components

ALU: Performs arithmetic and logic operations; Control Unit: Manages instruction flow and control signals.

48
New cards

Bus Width & Speed

Determines how much data can transfer per cycle.

49
New cards

Moore's Law

Predicted in 1965 that transistor count doubles roughly every two years.

50
New cards

Why Computers Speak Binary

Binary: Base-2 system, on/off electrical states.

51
New cards

Memory Bus

Transfers data between CPU and RAM.