Spaced Repetition

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

1/30

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:24 PM on 10/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

31 Terms

1
New cards

What is a parallel computer?

A system that runs multiple processing elements at the same time to solve one computational problem, using techniques that make it more performant.

2
New cards

What is the difference between concurrency and parallelism?

Concurrency: one core runs task 1, then task 2, then task 1 again, until both finish. Parallelism is that plus hardware: task 1 on core 1 while core 2 runs task 2. One cook switching between two pans is concurrency. Two cooks and two pans at the same moment is parallelism.

3
New cards

What is a machine cycle?

One clock tick inside the processor.

4
New cards

What does clock rate measure?

How many ticks per second. A higher rate lets one core do more work per second, until the chip overheats.

5
New cards

What is throughput, and what is FLOPS?

Throughput is how much finished work you get per second. FLOPS is how many decimal operations finish per second.

6
New cards

How does a parallel system differ from a distributed one?

Parallel systems chase performance: shared memory, fast links, one shared job. A weather model on a supercomputer is this. Distributed systems chase scale, sharing, and staying up: many machines, own memory, slower network, no single clock. A bank is this.

7
New cards

How do parallel systems and distributed systems differ in terms of memory, clock synchronization, and communication links?

Parallel: tightly coupled shared memory and a global clock, links on the order of Tbps. Distributed: distributed memory, no global clock so sync algorithms are needed, links on the order of Gbps.

8
New cards

How do serial and parallel processing differ?

Serial: instructions wait and run one after another. Parallel: instructions run at the same time.

9
New cards

What are the four levels of parallelism?

Job: separate scheduled jobs. Program: parts and threads. Instruction: the compiler and processor overlap instructions. Bit: vector operations and arithmetic on bits.

10
New cards

What do IPC and IPS measure?

IPC is instructions per machine cycle. IPS is IPC times the clock rate, so instructions per second.

11
New cards

What does Moore's law say?

The number of transistors in microchips doubles about every 2 years.

12
New cards

Why did chips add cores instead of raising the clock?

Raising the clock overheated the chip and used more power. Extra transistors went into more cores.

13
New cards

What does a circuit breaker wrap and what does it count?

It wraps a protected call like an external supplier or API call and counts failures.

14
New cards

What happens when the circuit is closed?

The call reaches the supplier, where a failure increases the failure count and a success resets it to 0, opening when the threshold is reached.

15
New cards

What happens when the circuit is open?

The call is not made and the client gets an error immediately.

16
New cards

What happens during the half-open state after a reset timeout?

A trial call is made, where success marks the state as closed and failure makes it open until the reset timeout finishes.

17
New cards

How can a hanging remote call cause thread exhaustion and cascading failures?

Many callers waiting on it take new threads and exhaust the thread pool, which can also trigger the breaker.

18
New cards

In harness engineering, what two components make up an AI agent?

An AI agent consists of the model plus the harness (Agent = Model + Harness).

19
New cards

Why is there a natural trust barrier when working with AI models?

AI models are non-deterministic by nature because they think in tokens, which context and harness engineering help close.

20
New cards

What are the two goals of a well-built outer harness?

It increases the probability the model gets it right first time and provides a feedback loop for it to self-correct.

21
New cards

What is the difference in execution between computational and inferential controls?

Computational controls are deterministic and fast (run by the CPU), while inferential controls are slower, costly, and more non-deterministic (run by the GPU or NPU).

22
New cards

What does "keeping quality left" mean in software development?

It means catching and fixing problems when you write the code because doing it in production is more expensive.

23
New cards

What factors make a codebase more harnessable?

Strong typing, clear module boundaries, and frameworks that hide details from the agent.

24
New cards

What different types of harnesses appear based on usage?

Maintainability harness, architecture fitness harness, and behavioral harness.

25
New cards

What are the three steps of controls?

Measurements, comparison, and corrective action against a standard or goal.

26
New cards

How do feedforward and feedback controls differ in when they act?

Feedforward acts before problems happen to prevent them, whereas feedback acts after results occur to adjust based on outcomes.

27
New cards

Why do systems use feedforward, feedback, and concurrent controls together?

They are all used because they cover each other's weaknesses.

28
New cards

What is an architecture fitness function?

An automated check that tells you if architectural constraints like speed, security, or clean structure are met.

29
New cards

According to evolutionary architecture, how should architecture qualities be handled instead of being written in a document?

They should be tested continuously like code.

30
New cards

In a harness, how does a guide differ from a sensor?

A guide is feedforward: it steers the agent before it acts, with rules, permissions, and context. A sensor is feedback: it watches after the agent acts, with tests and linters, so the agent can self-correct.

31
New cards

What is feedforward's weakness, and what is feedback's weakness?

Feedforward needs good predictions, and you cannot foresee everything. Feedback uses real results, but the damage is already done and there is a delay before you can correct it.