CPSC 457 Study Guide - Final Guide: Message Passing, Inode, Open Network Computing Remote Procedure Call

136 views11 pages

Document Summary

Textbooks, notes, laptops, calculators, personal digital assistants, cell phones, and internet access are not allowed. It is a 120-minute exam, with a total of 100 marks. There are 18 questions, and 11 pages (including this cover page). Please read each question carefully, and write your answers legibly in the space provided. You may do the questions in any order you wish, but please. When you are nished, please hand in your exam paper and sign out. Choose the best answer for each of the following 12 questions, for a total of 12 marks. 1: implementing lru precisely in an os is expensive, so practical implementations often use an approximation called: (a) mru (b) mfu (c) lfu (d) lfu with aging (e) none of the above. 1: for two processes accessing a shared variable, peterson"s algorithm provides: (a) mutual exclusion (b) progress (c) bounded waiting (d) all of the above (e) none of the above.