COMPUTER SYSTEM ARCHITECTURE MCQS PART 94
1. Which instruction also improves the efficiency of the system:
a. Swap instruction
b. TS instruction
c. Both
d. None of these
ANSWER B
2. Which instruction allows only one concurrent process to enter the critical section:
a. RP instruction
b. SP instruction
c. TS instruction
d. None of these
ANSWER C
3. 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:
a. Entry section
b. Critical section
c. Non-critical section
d. None of these
ANSWER B
4. The problem of readers and writers was first formulated by ________:
a. P.J. Courtois
b. F.Heymans
c. D.L. Parnas
d. All of these
ANSWER D
5. Which is a situation in which some process wait for each other’s actions indefinitely:
a. Operating system
b. Deadlock
c. Mutex
d. None of these
ANSWER B
6. _________system handles only deadlocks caused by sharing of resources in the system:
a. Operating system
b. Deadlock
c. Mutex
d. None of these
ANSWER A
7. A deadlocks occurs when the how many conditions are met:
a. 1
b. 2
c. 3
d. 4
ANSWER A
8. Which are the characteristics of deadlocks:
a. Mutual exclusion
b. Hold and wait
c. No pre-emption
d. Circular wait
e. All of these
ANSWER E
9. RAG stands for: Resource allocation graph
10. How many events concerning RAG can occur in a system:
a. 1
b. 2
c. 3
d. 4
ANSWER C
a. Swap instruction
b. TS instruction
c. Both
d. None of these
ANSWER B
2. Which instruction allows only one concurrent process to enter the critical section:
a. RP instruction
b. SP instruction
c. TS instruction
d. None of these
ANSWER C
3. 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:
a. Entry section
b. Critical section
c. Non-critical section
d. None of these
ANSWER B
4. The problem of readers and writers was first formulated by ________:
a. P.J. Courtois
b. F.Heymans
c. D.L. Parnas
d. All of these
ANSWER D
5. Which is a situation in which some process wait for each other’s actions indefinitely:
a. Operating system
b. Deadlock
c. Mutex
d. None of these
ANSWER B
6. _________system handles only deadlocks caused by sharing of resources in the system:
a. Operating system
b. Deadlock
c. Mutex
d. None of these
ANSWER A
7. A deadlocks occurs when the how many conditions are met:
a. 1
b. 2
c. 3
d. 4
ANSWER A
8. Which are the characteristics of deadlocks:
a. Mutual exclusion
b. Hold and wait
c. No pre-emption
d. Circular wait
e. All of these
ANSWER E
9. RAG stands for: Resource allocation graph
10. How many events concerning RAG can occur in a system:
a. 1
b. 2
c. 3
d. 4
ANSWER C
No comments:
Post a Comment