Which of the following statement regarding concurrency is correct? (A) In a sing
ID: 3865355 • Letter: W
Question
Which of the following statement regarding concurrency is correct?
(A) In a single processor multiprogramming system, processes are interleaved in time to yield the appearance of simultaneous execution.
(B) The solution to the concurrency problem is to control access to the shared resources.
(C) In a uniprocessor system, the reason to cause the concurrency problem is that an interrupt can stop instruction execution anywhere in a process.
(D) In a multiprocessor system, one or more processors may be executing the same global variables at the same time.
(E) All of the above
PLZ EXPLAIN WHY
Explanation / Answer
Correct answer B)
- A) also seems to be valid but the definition here does not deals with concurrency but with multiprogramming.
- C) highlights situation that can cause concurrency to fail. Interrupt usually results in context switching to occur so that all the process states are stored first and then the new process takes over the hardware control. So its a false presumption that interrupt causes concurrency to fail.
- D) talks about situation in multiprocessor system which is not directly with concurrency discussed here.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.