TEST FILES AND THE OUTPUTS USED BY THE GRADER ON PROJECT3 File name: bufftest1.txt Number of buffers: 1 Size of buffer: 4 Contents of the file: bufinsert 0 Ho w bufinsert 4 D o bufinsert 8 Y bufget 0 2 results in Ho bufget 2 2 results in w bufget 0 4 results in Ho w bufget 4 2 results in D bufget 6 2 results in o bufget 4 4 results in D o bufget 8 1 results in Y debug no of writes:3 , no of reads: 3 bufinsert 16 eeee debug no of writes:4 , no of reads: 3 bufget 8 4 results in Y bufget 12 4 results in …. bufget 16 4 results in eeee debug no of writes:5 , no of reads: 6 File name: multiplewrites.txt Number of buffers: 5 Size of buffer: 10 Contents of the file: bufinsert 0 aaaaaaaaaa bufinsert 10 bbbbbbbbbb bufinsert 20 cccccccccc bufinsert 30 dddddddddd bufinsert 40 eeeeeeeeee bufinsert 0 bbbbb bufinsert 20 ddddd bufinsert 40 fffff debug no of writes: 0, no of reads: 0 , block ids: 4 2 0 3 1 bufget 0 10 results in bbbbbaaaaa bufget 20 10 results in dddddccccc bufget 40 10 results in fffffeeeee bufinsert 5 bbbbb bufinsert 25 ddddd bufinsert 45 fffff debug no of writes: 0, no of reads: 0 , block ids: 4 2 0 3 1 bufget 0 10 results in bbbbbbbbbb bufget 20 10 results in dddddddddd bufget 40 10 results in ffffffffff bufinsert 0 a bufinsert 20 c bufinsert 40 e debug no of writes: 0, no of reads: 0 , block ids: 4 2 0 3 1 bufget 0 10 results in abbbbbbbbb bufget 20 10 results in cddddddddd bufget 40 10 results in efffffffff debug no of writes: 5, no of reads: 0 , block ids: 4 2 0 3 1 Output: The above debug occurs as a result of the program ending. File name: beyondeof.txt Number of buffers: 5 Size of buffer: 10 Contents of the file: bufinsert 0 aaaaaaaaaa bufinsert 10 bbbbbbbbbb bufinsert 20 cccccccccc bufinsert 30 dddddddddd bufinsert 40 eeeeeeeeee bufinsert 0 bbbbb bufinsert 20 ddddd bufinsert 40 fffff debug bufget 0 10 bufget 20 10 bufget 40 10 bufinsert 5 bbbbb bufinsert 25 ddddd bufinsert 45 fffff debug bufget 0 10 bufget 20 10 bufget 40 10 bufinsert 0 a bufinsert 20 c bufinsert 40 e debug bufget 0 10 bufget 20 10 bufget 40 10 debug bufget 100 4 Output : the last bufget - (bufget 1004 ) is not valid and so some sort of error message should printed. Otherwise the output is same as the previous file File name: buffpooltest1.txt Number of buffers: 2 Size of buffer: 8 Contents of the file: bufinsert 0 sunnyday bufinsert 16 rainyday bufinsert 8 clearday bufget 0 8 results in sunnyday bufget 8 8 results in clearday bufget 16 8 results in rainyday debug no of reads: 3 no of writes: 3 , block ids: 2 1 bufget 16 8 results in rainyday bufget 8 8 results in clearday bufget 0 8 results in sunnyday debug no of reads: 4 no of writes: 3 , block ids: 0 1 bufget 8 8 results in clearday bufget 16 8 results in rainyday bufget 0 8 results in sunnyday debug no of reads: 6 no of writes: 3 , block ids: 0 2 bufget 0 8 bufget 8 8 bufget 16 8 debug bufget 16 8 bufget 8 8 bufget 0 8 debug bufget 8 8 bufget 16 8 ….. ….. File name: buffpooltest2.txt Number of buffers: 4 Size of buffer: 10 Contents of the file: bufinsert 30 aaaaaaaaaa bufinsert 20 bbbbbbbbbb bufinsert 10 cccccccccc bufinsert 0 dddddddddd debug no of reads: 0 , no of writes: 0 , block ids: 0 1 2 3 bufinsert 40 eeeeeeeeee bufinsert 50 ffffffffff bufinsert 70 gggggggggg bufinsert 60 hhhhhhhhhh debug no of reads: 0 , no of writes: 4 , block ids: 6 7 5 4 bufget 70 10 results in 10 g’s bufget 60 10 results in 10 h’s bufget 20 10 results in 10 b’s bufget 30 10 results in 10 a’s debug no of reads: 2 , no of writes: 6 , block ids: 3 2 6 7 bufget 0 10 results in 10 d’s bufget 10 10 results in 10 c’s bufget 20 10 results in 10 b’s bufget 30 10 results in 10 a’s debug no of reads: 4 , no of writes: 8 , block ids: 3 2 1 0 bufget 60 10 results in 10 h’s bufget 50 10 results in 10 f’s bufget 70 10 results in 10 g’s bufget 40 10 results in 10 e’s debug no of reads: 8 , no of writes: 8 , block ids: 4 7 5 6