C8 Computer organization · Practice
Computer organization lab
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 5 kinds solid
Check
A trace of 4 instructions has one load-use pair and one taken branch. How many cycles does the five-stage pipeline take?
Check
A branch's outcome alternates taken, not taken, for 5 pairs. How many times does a 2-bit counter that starts at 1 mispredict it?
Check
A 4 KiB array is swept 5 times through a bigger cache with 32-byte lines. How many misses?
Check
5 instructions with 1 load-use pairs and 3 taken branches: how many pipeline cycles?
Check
A 10-iteration loop is run 3 times. How many times does a 2-bit counter starting at 1 mispredict its closing branch?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C8