Ask your own question, for FREE!
Computer Science 21 Online
Ahu:

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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!