a certain computer has two identical processors that are able to run in parallel. the table below indicates…

a certain computer has two identical processors that are able to run in parallel. the table below indicates the amount of time it takes each processor to execute each of two processes. assume that neither process is dependent on the other.\n\n| process | execution time on either processor |\n| ---- | ---- |\n| p | 30 seconds |\n| q | 45 seconds |\n\nwhich of the following best approximates the difference in execution time between running the two processes in parallel instead of running them one after the other on a single processor?\n\na 15 seconds\n\nb 30 seconds
Answer
Explanation:
Step1: Calculate sequential execution time
The sequential execution time is the sum of the execution - times of the two processes. So, $T_{seq}=30 + 45=75$ seconds.
Step2: Calculate parallel execution time
Since the two processors run in parallel and the processes are independent, the parallel execution time is equal to the time of the longer - running process. So, $T_{par}=45$ seconds.
Step3: Calculate the time difference
The time difference $\Delta T=T_{seq}-T_{par}$. Substitute the values: $\Delta T = 75 - 45=30$ seconds.
Answer:
B. 30 seconds