Computer Architecture exercises with solutions
42 practice problems from the 14 lessons of the Computer Architecture course, in lesson order and from easy to hard inside each lesson. Open a problem, write your code and press Submit: the tests run in your browser and nothing is sent to a server.
14 easy problems 14 medium problems 14 hard problems
Inside a computer: CPU, memory and buses
3 problems · Read the lesson
The fetch–decode–execute cycle
3 problems · Read the lesson
Instruction sets and addressing modes
3 problems · Read the lesson
Measuring performance
3 problems · Read the lesson
Multiplication and division in hardware
3 problems · Read the lesson
The datapath and the control unit
3 problems · Read the lesson
Pipelining
3 problems · Read the lesson
Pipeline hazards
3 problems · Read the lesson
The memory hierarchy
3 problems · Read the lesson
Cache memory
3 problems · Read the lesson
Virtual memory, page tables and the TLB
3 problems · Read the lesson
Input and output: polling, interrupts and DMA
3 problems · Read the lesson
Parallel processors and multicore
3 problems · Read the lesson
Cache coherence and the MESI protocol
3 problems · Read the lesson