Question: For a certain program, 2% of the code accounts for 50% of the execution time. Assume that it would take 100 man-months to write it
For a certain program, 2% of the code accounts for 50% of the execution time. Assume that it would take 100 man-months to write it in C and that it would take 10 minutes to execute. Take note that assembly code is 10 times slower to write and four times more efficient than C. Compare the following three strategies with respect to programming time and execution time. List the programming time and execution time for each.
Entire program in C.
Entire program in assembler.
First all in C, then the key 2% rewritten in assembler.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
