COMPUTER SYSTEM ARCHITECTURE MCQS PART 93
1. ______ semaphore provides mutual exclusion for accesses to the buffer pool and is initialized to the value:
a. Mutex
b. Mutual
c. Memory
d. All of these
ANSWER A
2. Which processes access and manipulate the shared data concurrently:
a. Micro processes
b. Several processes
c. Both
d. None of these
ANSWER B
3. Which section is basically a sequence of instruction with a clear indication of beginning and end for updating shared variables:
a. Racing section
b. Critical section
c. Both
d. None of these
ANSWER B
4. In which section only one process is allowed to access the shared variable and all other have to wait:
a. Critical section
b. Racing section
c. Entry section
d. Remainder section
ANSWER A
5. Which are the problem of critical section:
a. Mutual exclusion
b. Progress
c. Bounded wait
d. All of these
ANSWER D
6. Which section refer to the code segment of a process that is executed when the process intends to enter its critical section:
a. Critical section
b. Entry section
c. Reminder section
d. None of these
ANSWER B
7. Which section refer to the code segment where a shared resource is accessed by the process:
a. Reminder section
b. Entry section
c. Both
d. None of these
ANSWER D
8. Which section is the remaining part of a process’s code:
a. Racing section
b. Critical section
c. Entry section
d. Reminder section
ANSWER D
9. How many conditions for controlling access to critical section:
a. 2
b. 4
c. 3
d. 5
ANSWER C
10. Which instruction provides a direct hardware support to mutual exclusion:
a. SP instruction
b. TS instruction
c. Both
d. None of these
ANSWER B
a. Mutex
b. Mutual
c. Memory
d. All of these
ANSWER A
2. Which processes access and manipulate the shared data concurrently:
a. Micro processes
b. Several processes
c. Both
d. None of these
ANSWER B
3. Which section is basically a sequence of instruction with a clear indication of beginning and end for updating shared variables:
a. Racing section
b. Critical section
c. Both
d. None of these
ANSWER B
4. In which section only one process is allowed to access the shared variable and all other have to wait:
a. Critical section
b. Racing section
c. Entry section
d. Remainder section
ANSWER A
5. Which are the problem of critical section:
a. Mutual exclusion
b. Progress
c. Bounded wait
d. All of these
ANSWER D
6. Which section refer to the code segment of a process that is executed when the process intends to enter its critical section:
a. Critical section
b. Entry section
c. Reminder section
d. None of these
ANSWER B
7. Which section refer to the code segment where a shared resource is accessed by the process:
a. Reminder section
b. Entry section
c. Both
d. None of these
ANSWER D
8. Which section is the remaining part of a process’s code:
a. Racing section
b. Critical section
c. Entry section
d. Reminder section
ANSWER D
9. How many conditions for controlling access to critical section:
a. 2
b. 4
c. 3
d. 5
ANSWER C
10. Which instruction provides a direct hardware support to mutual exclusion:
a. SP instruction
b. TS instruction
c. Both
d. None of these
ANSWER B
No comments:
Post a Comment