Question: Name Instructions: This examination is open notes and closed book. This is worth 8% of your final grade. There t: (20 Peints) We assum are

Name Instructions: This examination is open notes and closed book. This is worth 8% of your final grade. There t: (20 Peints) We assum are d pages to this exam. Please print your name and student ID at the top of this page. The total value of alt questions is 80 points machine (i.e, /es161/aro) e the source code files of os 161 are located in the home directory of your L.i (4 Points) Where can you find the prototypes of the following functions? int writetint filehandle, const void .buf, size_t size) 1.2 (10 Points) Please complete the change_turn) function in project 4. /*There are waiting mice*/ if (there are waiting mice) turn type- mice in this turn print "It is mice turn now. " else if (there are waiting cats) /let cats eat / catsinthisturn - else (/*no waiting cats or mice*/ turn type /* Wake up those waiting for turn change*/ 1.3 (6 Points) When we impliement a system call, 05/161 should load a system call code into register OS/161 also loads the arguments into registers -if there is any argument. Name Instructions: This examination is open notes and closed book. This is worth 8% of your final grade. There t: (20 Peints) We assum are d pages to this exam. Please print your name and student ID at the top of this page. The total value of alt questions is 80 points machine (i.e, /es161/aro) e the source code files of os 161 are located in the home directory of your L.i (4 Points) Where can you find the prototypes of the following functions? int writetint filehandle, const void .buf, size_t size) 1.2 (10 Points) Please complete the change_turn) function in project 4. /*There are waiting mice*/ if (there are waiting mice) turn type- mice in this turn print "It is mice turn now. " else if (there are waiting cats) /let cats eat / catsinthisturn - else (/*no waiting cats or mice*/ turn type /* Wake up those waiting for turn change*/ 1.3 (6 Points) When we impliement a system call, 05/161 should load a system call code into register OS/161 also loads the arguments into registers -if there is any argument
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
