1. Consider this formula: G = (A3+B) * 4 - C2 a. Show the order that a single processor would follow to calculate G following the standard order of operations. To do so, break down the equation into the correct order of operations, with one calculation per step. Show the formula for each step, assigning new letters to your calculations as necessary. Notice that this is not a multiprocessing system so these tasks are performed sequentially. b. Find the value of G: if A = 3, B = 4, and C = 5 2. Rewrite each of the following arithmetic expressions in (a-d) to take advantage of concurrent processing system with five available processors, and then use pseudocode to show the order of your calculations. Use the terms COBEGIN and COEND to delimit the concurrent sections. a.B * R + Y * Z – N * M + C2 b. B * (R + Y) * (Z – N) * M + C2 Notice that the equation in (b) is the same as in (a) but with added parentheses which changes the answer completely. c. (A * (B * C) * (D * E) + F + G - H) d. ((J + K * L * M * N) * I)
pls send me answer of this question of all parts with expalnation and i will rate you sure sir.
1. Consider this formula:
G = (A3+B) * 4 - C2
a. Show the order that a single processor would follow to calculate G following the standard order of operations. To do so, break down the equation into the correct order of operations, with one calculation per step. Show the formula for each step, assigning new letters to your calculations as necessary.
Notice that this is not a multiprocessing system so these tasks are performed sequentially.
b. Find the value of G: if A = 3, B = 4, and C = 5
2. Rewrite each of the following arithmetic expressions in (a-d) to take advantage of concurrent processing system with five available processors, and then use pseudocode to show the order of your calculations. Use the terms COBEGIN and COEND to delimit the concurrent sections.
a.B * R + Y * Z – N * M + C2 b. B * (R + Y) * (Z – N) * M + C2
Notice that the equation in (b) is the same as in (a) but with added parentheses which changes the answer completely.
c. (A * (B * C) * (D * E) + F + G - H) d. ((J + K * L * M * N) * I)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps