This covers the whole course. Take it after the last module.
Final quiz
Practical assessment: A memory system model
Without using hints, write a Python program that models a small memory system: a TLB in front of a page table, and a cache behind the translation.
Translate each virtual address with a page table and an LRU TLB, and report TLB hits, misses and page faults
Send each successful physical address to a set-associative LRU cache and report hits and misses
Compute the average memory access time from given hit times and penalties, and report it with the hit rates
Final project
A cache simulator: Build a configurable cache simulator that replays a trace of memory addresses, and use it to find out how block size, associativity and replacement change the hit rate of a small program.
How it is evaluated
Correctness: small traces match a hand simulation
Method: every address is split with shifts and masks, and every structure uses the stated replacement rule
Reasoning: the report links the numbers to locality and to the size of each structure
Clarity: the output reads as a short report
To complete this course
Score at least 70% on the final quiz
Solve the easy and medium exercises in every lesson
Finish a project and check it against the evaluation criteria