The average score of lab 7 is 13.7 out of 15, most of the students get a very good grade for this lab. Below are some comments on some of the common mistakes.

For question 1(b), some students think that the difference in program counter is due to the function call printf(). However, this is not the case. We can verify this by duplicating the line of printf() a few times, and observe the output.

For question 3(b), some students did not indicate the unit and some students get confuse with milliseconds (ms), microseconds (us) and nanosecond (ns).

Some of the questions require the answer to be within 500 characters, this is to encourage the students to answer only what is asked instead of putting down everything on the topic.

We received several emails about 3(c).  The right solution equation takes the form of (m+h = ..) and (m + 4h = ..) If you got this wrong, you should make sure that you understand why this is so.  I think understanding this part means that you have a good understanding of how page access/page faults work.

## 9 thoughts on “Lab 7: Comments”

1. alex says:

For 3(c), when the question said that m represented the overhead of a page fault, did that mean that it included the time to access the page together with the time needed to retrieve the page from memory?

• Ooi Wei Tsang says:

No — the term overhead means “extra work” so it does not include the time to read from the memory.

2. Judy Kane says:

Blog and all paths are paved for cycling for the students. The change of the story and topessaybrands.com is fit for the room. Payment is filed for the route of the turns for the approval of the terms for aloes for humans.

3. Anna says:

For question 1(b), some students think that the difference in program counter is due to the function call printf(). However, this is not the case. We can verify this by duplicating the line of printf() a few times, and observe the output.
couple ornaments

4. PaintNumbers says:

the question said that m represented the overhead of a page fault, did that mean that it included the time to access the page together with the time needed to retrieve the page from memory?PaintNumbers

5. lisa says:

I just like the valuable information you supply in your articles.
I will bookmark your weblog and test again right here frequently.
I am fairly sure I’ll be told plenty of new stuff right right here! Dog Booster Seat

6. peter says:

Blogs and all avenues have been paved for cycling for students. Suitable for story change and topessaybrands.com room. Payment is made to humans for the turn of the year to approve Elo’s terms. I will bookmark your weblog and check here again and again. braces