Answer:
I suggest Kevin use Excel to be able to have a better result in hisfinancial project which involves enter numerical data anddepict it in the form of graphs.
Explanation:
Answer:
2.6 seconds
Explanation:
We first start by calculating the speed up
The formula is given as:
n/1+(n-1)F
We have n = 3 which is the number of processors
F = 20% = percentage of algorithm
When we put values into the formula
3/1+(3-1)0.20
= 3/1+2*0.20
= 3/1+0.4
= 3/1.4
Speed up = 2.14
From here we calculate the expected time
T/speedups
= 5.6/2.14
= 2.6
Therefore the expected time is 2.6 seconds
Answer:
b. <em>After each calculation within your program, insert a temporary statement that displays the most recently calculated value. When running your program, compare the displayed values with the expected values to identify where in the program the error is being introduced.</em>
Explanation:
Logging statements are an effective debugging technique. It is a good way of finding the location of faulty logic in a program.
One can trace the root problem through logging intermediary outputs.
We can find out from where the program is producing unexpected or unintended calculations, when their's a weird output logged.
Answer: So have you done assignment 5? and have you read back the previous one?