INTRODUCTION TO COMPILER DESIGN
TYPES OF COMPILERS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
instructions which are done one after the other to complete a task
|
|
instructions which are run concurrently to complete a task
|
|
Always possible
|
|
Not always possible
|
Detailed explanation-1: -Serial processing uses a single processor whereas parallel processing uses multiple processors. Since there is only one processor in serial processing, the workload that is being processed is much higher by the one processor which is not the case in parallel processing.
Detailed explanation-2: -Parallel computing is closely related to concurrent computing-they are frequently used together, and often conflated, though the two are distinct: it is possible to have parallelism without concurrency, and concurrency without parallelism (such as multitasking by time-sharing on a single-core CPU).
Detailed explanation-3: -Cons of Parallel Computation: Talking about the Design, it is very difficult to implement and design a parallel computation sometimes depending on the nature of problems. Some problems are very difficult to parallelize. Sometimes even impossible.