Refined CS 244 A1

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

1/45

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:46 PM on 8/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

46 Terms

1
New cards

Translation

Turns a whole program into another language before it runs (like compiling).

2
New cards

Interpretation

Runs the code directly, one line at a time, no translation step.

3
New cards

Microcode

The CPU's own tiny built-in instructions that carry out each of its "real" instructions.

4
New cards

Von Neumann architecture

One memory holds both the program and the data.

5
New cards

Von Neumann bottleneck

The slowdown from having just one bus shared by instructions and data.

6
New cards

Moore's Law

Chip transistor counts roughly double every ~2 years.

7
New cards

Registers

Tiny, super-fast storage spots built right into the CPU.

8
New cards

ALU

The part of the CPU that does the math and logic.

9
New cards

Control Unit

The part of the CPU that directs fetch, decode, and execute.

10
New cards

Fetch (cycle step)

Grab the next instruction from memory.

11
New cards

Decode (cycle step)

Figure out what that instruction means.

12
New cards

Execute (cycle step)

Actually carry it out.

13
New cards

RISC

Simple, small, fixed-size instructions, built for speed and pipelining.

14
New cards

CISC

Complex, variable-size instructions that do more per instruction, harder to pipeline.

15
New cards

Pipelining

Overlap instructions like a factory line, so more finish per second.

16
New cards

Superscalar architecture

Run more than one instruction at once using extra hardware.

17
New cards

Big-endian

Store the biggest byte first.

18
New cards

Little-endian

Store the smallest byte first.

19
New cards

Track

A ring on a disk platter.

20
New cards

Sector

A slice of a track.

21
New cards

Cylinder

The same track, stacked across every platter.

22
New cards

Platter

The actual spinning disk.

23
New cards

Seek time

Time for the head to move to the right track.

24
New cards

Rotational latency

Time waiting for the disk to spin to the right spot.

25
New cards

RAID 0

Splits data across disks for speed, no safety net.

26
New cards

RAID 1

Mirrors the same data on two disks.

27
New cards

RAID 5

Splits data plus a bit of backup info (parity); survives 1 disk dying.

28
New cards

RAID 6

Like RAID 5 with extra backup info; survives 2 disks dying.

29
New cards

ASCII

Basic English letters/numbers, 7 bits each.

30
New cards

Unicode

Every character in every language gets its own number.

31
New cards

UTF-8

Stores Unicode characters using 1-4 bytes each.

32
New cards

auto storage class

Default local variable; lives and dies with the function call.

33
New cards

static storage class (local var)

Local variable that remembers its value between calls.

34
New cards

extern storage class

Says "this variable is actually defined somewhere else."

35
New cards

register storage class

Old hint to keep a variable in the CPU for speed.

36
New cards

Array decay

An array's name basically turns into a pointer to its first item.

37
New cards

Preprocessor's role

Text substitution before real compiling starts (#include, #define).

38
New cards

Prefix (++x)

Increase first, then use the new value.

39
New cards

Postfix (x++)

Use the value first, then increase it.

40
New cards

First-class feature

Something you can store in a variable, pass around, and return, just like any other value.

41
New cards

Covariance

Sub-types keep the same order when built into something bigger.

42
New cards

Invariance

No such order is guaranteed; types must match exactly.

43
New cards

Pointer width

How many bytes a pointer takes, fixed by the system (4 on 32-bit, 8 on 64-bit).

44
New cards

malloc

Ask for a chunk of memory on the heap.

45
New cards

free

Give that memory back.

46
New cards

Memory leak

Forgot to free it, and lost the only way to find it again.