10 15 20 5. 1. When the scheduler overlooks a process that is runnable, this situation is called (A) Deadlock (B) Livelock (C) 2. Which of the following condition will cause the final result depending on the order of execution of instructions? 3. Which of the following is not a hardware approach to mutual exclusion? (A) Interrupt disabling (B) Compare 4. Which of the following statement regarding semaphore is untrue? (A) A binary semaphore may be initialized Race (D) Starvation (E) This situation cannot happen. (A) Deadlock (B) Livelock (C) Mutual Exclusion (D) Race (E) Starvation and Swap instruction (C) Spin waiting (D) Exchange instruction (E) Semaphores to any nonnegative integer value. (B) Mutex must be unlocked by the same process that locks it. (C) Both semWait and semSignal are atomic. (D) A semaphore that does not specify the order in which processes are removed from the waiting queue is a weak semaphore. (E) None of the above 5. A programming-language construct that provides equivalent functionality to that of semaphores is called (A) 6. Which type of the deadlock below may never delay process initiation? (A) Deadlock Prevention (B) Deadlock 7. In Android systems, which of the following is used to mediate all interaction between two processes? (A) 8. In Android systems, which of the following is typically used to perform background operations? (A) Activity 9. Which of the following mechanism is used to convert a blocking system call into a non-blocking system call? Monitor (B) Broadcast (C) Message (D) Addressing (E) None of the above Avoidance (C) Deadlock Detection (D) Integrated Deadlock (E) None of the above Binder (B) ioctl calls (C) RPC (D) IPC (E) None of the above (B) Service (C) Broadcast (D) Content provider (E) None of the above (A) KLT (B) API (C) Jacketing (D) ULT (E) Spawn Page I of 2