Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

10. In a process model, when a running process needs to wait for a certain event

ID: 3918397 • Letter: 1

Question

10. In a process model, when a running process needs to wait for a certain event to continue, the process will be
placed into the state of (A) New (B) Blocked/Suspend (C) Exit (D) Ready (E) None of the above
11. In Android systems, the contacts with related data are shared and handled by (A) XMPP (B) Resources
Manager (C) Package Manager (D) Telephony Manager (E) Content Providers
12. A section of code within a process that requires access to shared resources and that must not be executed while
another process is in the corresponding section of the code is called (A) Mutual exclusion (B) Critical session
(C) Critical section (D) Atomic operation (E) None of the above
13. When a process is in the situation of Starvation, it must be in the following state: (A) Ready (B) Blocked (C)
Swapped (D) Exit (E) None of the above
14. In the race situation, when multiple processes or threads are trying to read and write certain data items, the final
value of the variable is determined by (A) the winner of the race (B) the loser of the race (C) sometimes winner,
sometimes loser (D) both values combined (E) None of the above
15. Which of the following statement is untrue regarding concurrency mechanisms: (A) Binary semaphore has to
be either ‘0’ or ‘1’ (B) Mutex has to be either ‘0’ or ‘1’ (C) Semaphore has to be either ‘0’ or ‘1’ (D) Spinlocks
execute in an infinite loop waiting for the value of the lock (E) None of the above

Explanation / Answer

10. Blocked/Suspend
11. Content Provider
12. Mutual Exclusion
13. Blocked
14 Winner of the race
15. C) is not true because we have counting emaphores whose values is not restricted to just 0 and 1.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote