Sample Inputs and Outputs

Full Assignment

Note: In the debugging output, the printout of the IPT (Inverted Page Table) shows, for each frame, the following six fields: page number, process number, R bit, M bit, timestamp, pinned. The printout of the PT (process table) shows, for each process, the state, the clock, and the time when the process will unblock.


Job Mixture 1: Types 0 0 1 1
PRA Input Output Verbose Debug
GLRU click here click here click here click here
LLRU click here click here click here click here
GNRU click here click here click here click here
LNRU click here click here click here click here


Job Mixture 2: Types 1 2 3 4 5
PRA Input Output Verbose Debug
GLRU click here click here click here click here
LLRU click here click here click here click here
GNRU click here click here click here click here
LNRU click here click here click here click here


Job Mixture 3: Types 0 1 2 3 4 5 6
PRA Input Output Verbose Debug
GLRU click here click here click here click here
LLRU click here click here click here click here
GNRU click here click here click here click here
LNRU click here click here click here click here

Simplified Assignment

In the simplified assignment, the only PRA is GLRU, and the instructions generated by the processes are only reads, not writes. In the debugging output, the printout of the IPT (Inverted Page Table) shows, for each frame, the following six fields: page number, process number, timestamp, pinned. The printout of the PT (process table) shows, for each process, the state, the clock, and the time when the process will unblock. (The difference from the full assignment is that the R bit and M bit are omittted from the IPT.)

Job Mixture Input Output Verbose Debug
0 0 1 1 click here click here click here click here
1 2 3 4 5 click here click here click here click here
0 1 2 3 4 5 6 click here click here click here click here