logo

Crowdly

Written 3: Myriad of Memory Management Matters (25 marks) Let's see if you rem...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Written 3: Myriad of Memory Management Matters (25 marks)

Let's see if you remember Unit 5 material...

4 marks a) Define paging and virtual memory in a way that computing science students that didn't take this course could understand. Suggested Length: 2-4 sentences. Note that there is an emphasis on avoiding too complex descriptions or course terminology.

2 marks b) Could you run virtual memory without using paging? Suggested Length: 1-2 sentences.

4 marks c) One situation is that programs often have two parts: code and data. Give suggestions for improving memory management using this information. Suggested Length: 2-4 sentences. Marking Focus: Demonstrating insight from the suggested length.

4 marks d) Explain why setting your virtual memory to be 1 terabyte is a bad idea using only course/textbook concepts. Suggested Length: 2-4 sentences.

6 marks e) A common use case is a process looping over the same set of data. For example in Machine Learning, a data set may be split into pages 1, 2, 3, 4 and an algorithm would continuously loop over data on page 1 then page 2 then page 3 then 4 then loop back to 1 always in that order to adjust the neural network's parameters.

e.1) What is the worst performing page request policy for such a loop? Why? Suggested Length: 1-2 sentence.

e.2) Design an improved paging policy for this situation. Suggested Length: 1-2 sentence.

More questions like this

Want instant access to all verified answers on learn.twu.ca?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!