Computer Architecture Types IB Computer Science

A clear SL/HL study page comparing Von Neumann, Harvard, Modified Harvard, and processor types: CPU, GPU, NPU, TPU, plus Dataflow.

SL = core ideas + comparisons HL = deeper mechanisms + exam-style nuance Includes mini-quiz
Tip: type “bottleneck”

Search highlights matching cards and collapses non-matching ones (within the selected tab).

1) Von Neumann Architecture SL

Definition: Instructions and data share the same memory and same bus.

Key features

  • Single memory for both instructions and data
  • Sequential execution controlled by a program counter
  • Simple design

Exam tip (must mention)

Von Neumann bottleneck: the CPU cannot fetch an instruction and data at the same time, so throughput can be limited.

Simple diagram

CPU ── single bus ── Memory (instructions + data)

3) Processor Types: CPU vs GPU vs NPU vs TPU SL

Know the “role sentence” for each, then compare how they’re optimized.

Processor Role Typical core design Best for
CPU General-purpose processor Few, powerful cores Sequential tasks, OS + apps, complex instructions
GPU Parallel processor (originally graphics) Many smaller cores (massive parallelism) Graphics rendering, simulation, AI training
NPU AI accelerator Specialized neural-network units Neural networks efficiently (often inference, low power)
TPU Google’s type of NPU Tensor-optimized design Large-scale deep learning (esp. data centers / cloud)
One-line distinction: CPU = sequential + flexible, GPU = massively parallel, NPU/TPU = neural-network math (very efficient).

4) Dataflow Architecture SL

Definition: Execution is driven by data availability (not mainly by a program counter).
  • Instructions run when their inputs are ready
  • Good fit for parallel workloads
  • Less common as a general-purpose design, but used in specialized processors

SL Exam-Style FAQ (Quick Answers) SL

Why is the Von Neumann bottleneck a problem?

Because the CPU can’t fetch an instruction and access data simultaneously, reducing throughput.

Do all processors use Harvard architecture?

Not purely. Many use modified Harvard: separate instruction/data caches, unified main memory.

Is a TPU the same as an NPU?

A TPU is a specific type of NPU built by Google for large-scale AI workloads.

Which is best for general-purpose computing?

CPU. GPUs/NPUs are specialized accelerators.

Mini Quiz (SL + HL) Mixed

Click an answer to get immediate feedback.