Computer System Architecture

151. Which are the problem of critical section:

  1. Mutual exclusion
  2. Progress
  3. Bounded wait
  4. All of these

Correct answer: (D)
All of these

152. Which section refer to the code segment of a process that is executed when the process intends to enter its critical section:

  1. Critical section
  2. Entry section
  3. Reminder section
  4. None of these

Correct answer: (B)
Entry section

153. Which section refer to the code segment where a shared resource is accessed by the process:

  1. Reminder section
  2. Entry section
  3. Both
  4. None of these

Correct answer: (D)
None of these

154. Which section is the remaining part of a process’s code:

  1. Racing section
  2. Critical section
  3. Entry section
  4. Reminder section

Correct answer: (D)
Reminder section

155. How many conditions for controlling access to critical section:

  1. 2
  2. 4
  3. 3
  4. 5

Correct answer: (C)
3

156. Which instruction provides a direct hardware support to mutual exclusion:

  1. SP instruction
  2. TS instruction
  3. Both
  4. None of these

Correct answer: (B)
TS instruction

157. Which instruction also improves the efficiency of the system:

  1. Swap instruction
  2. TS instruction
  3. Both
  4. None of these

Correct answer: (B)
TS instruction

158. Which instruction allows only one concurrent process to enter the critical section:

  1. RP instruction
  2. SP instruction
  3. TS instruction
  4. None of these

Correct answer: (C)
TS instruction

159. Which section problem can be solved simply in a uniprocessor environment if the we are able to prevent the occurrence of interrupt during the modification of a shared variable:

  1. Entry section
  2. Critical section
  3. Non-critical section
  4. None of these

Correct answer: (B)
Critical section

160. The problem of readers and writers was first formulated by ____________:

  1. P.J. Courtois
  2. F.Heymans
  3. D.L. Parnas
  4. All of these

Correct answer: (D)
All of these

Page 16 of 75