Project 4 Grading Criteria

  1. Turning On Paging:
    - Modify the line Enable_Paging(); to be checkPaging(); Enable_Paging(); checkPaging();

    Launching bochs should output:

     
    Paging on?: 0
    Paging on?: 1
    
    when bochs starts up. Nothing should crash and the shell prompt must come up. Enabling paging is worth 25 points.

  2. Dynamically Growing Stack using rec1.c
    At the shell prompt, typing:

     /c/rec1.exe 
    should output
    300
    349
    348
    ...
    1
    %
    
    Correct implementation is worth 30 points.

  3. Paging Out to a Swapfile using rec2.c
    At the shell prompt, typing:

     /c/rec2.exe 
    should output
    3500
    3499
    3498
    ...
    1
    %
    
    Correct implementation is worth 35 points.

  4. Paging Out to Launch a Program using rec3.c and using a.c
    At the prompt typing:

     /c/rec3.exe 
    should output
    3500
    3499
    3498
    ...
    1
    Hello from program a.exe
    %
    
    Correct implementation gets you 10 points

Note1: If you are unable to run the rec programs in one bochs session, you can still recieve partial credit.
  • For running rec2.exe correctly but not after rec1.exe you will recieve 17 points
  • For running rec3.exe correctly but not after rec1.exe or rec2.exe you will recieve 5 points.
    Note2: Points will be deducted if the shell crashes from typing a non-existent file.