Question: For a certain program, 2 % of the code accounts for 5 0 % of the execution time. Com pare the following three strategies with

For a certain program, 2% of the code accounts for 50% of the execution time. Com pare the following three strategies with respect to programming time and execution time. Assume that it would take 100 man-months to write it in C, and that assembly code is 10 times slower to write and four times more efficient. a. Entire program in C. b. Entire program in assembler. c. First all in C, then the key 2% rewritten in assembler.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!