


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Class: Operating Systems; Subject: Computer Science and Engineering; University: Arizona State University - Tempe; Term: Unknown 1989;
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



(25) 1. (7) (a) Place a P in the space next to each of the following instructions if it should be privileged and an NP if the instruction need not be privileged. turn off interrupts turn on timer interrupts switch from kernel to user mode switch from user to kernel mode write to kernel memory read value of the timer divide contents of two registers and place quotient in a third register (18) (b) For each instruction in part (a) that you said should be privileged, give one reason why the instruction should be privileged. Note: your answer needs to be specific. For example, simply saying that the operating system will be protected will not do. You need to say why or how.
(15) 2. (a) (5) As pointed out in class, there is a very important difference between the virtual machine presented by the IBM Virtual Machine OS and the virtual machine presented by Java. What is this difference? (b) (5) Give an advantage available when using the IBM VM operating system that is essentially not available on the Java virtual machine. (c) Give an advantage when using the Java virtual machine that is essentially not available when using the IBM VM operating system