Machine-translated by Google. Questions are authored in English.
Top

Discussion

Match the following :

List - IList - II
a. Critical region1. Hoares Monitor
b. Wait/signal2. Mutual exclusion
c. Working set3. Principal of locality
d. Dead lock4. Circular wait

Codes : a b c d

  • A.2 1 3 4
  • B.1 2 4 3
  • C.2 3 1 4
  • D.1 3 2 4

Answer: A

A critical region is the section of code that needs mutual exclusion (2). Wait and signal are the operations of a monitor, which was proposed by Hoare (1). A working set is the set of pages a process is using, which rests on the principle of locality (3). Deadlock requires a circular wait among processes (4). The code is 2 1 3 4. In the other codes a pair is wrong, for example the third code gives the working set to Hoare's monitor, which is a synchronisation device and has nothing to do with paging. The keyed answer is the first code.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.