Parts of Tasks 5 and 6 in figure 210 are done both concurren
Parts of Tasks 5 and 6 in figure 2-10 are done both concurrently and sequentially. (a) How can this be? (b) How does it help the students meet the term paper deadline? (c) What is the main advantage of scheduling tasks concurrently rather than sequentially?
Solution
Please explain the parts of the tasks 5 and 6, Figure is not available in the question.
What is the main advantage of scheduling tasks concurrently rather than sequentially?
| Sequential | Concurrent |
| The object needs a meaning state between the method calls | Method calls overlap andobject can never be between method calls. |
| A single thread of execution is done in the program | Multiple threads of execution is done in the program. |
| A Single Program Counter is only active | Multiple Program Counters um simultnsoulsy. |
| Statements are executed sequentially, and the result is only known when all the statements are done executing. | Every task can have 2 o rmore next scheduled tasks, so either way you need wait till all the task statements are executed |
