I have this previous year exam question which i need to understand. This uses 8bit Atmel processor
Can you explain to me what would happen?
Image file : http://i.stack.imgur.com/Sv6fJ.jpg
Please view image file for clear description of the problem.
Thank you very muc开发者_JS百科h!
The exam question says "this process is only allowed to have one page in main memory".
- The program takes two pages. If a process can only have one page in memory, what does that imply?
- Where in the program does the break between pages fall? What is the program doing on either side of the break?
- Given the answers to (1) and (2), what does that mean for the efficiency of the program?
- Given (3), where might you want the page break to fall?
- How could you change where in the program the page break is?
精彩评论