All mock tests are FREE till 31 December — register to save your progress
Unit 6 · Software Engineering Paper 2 CS · 22 June 2026

In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code the program in FORTRAN, it takes 100 man-days. Coding in assembly language is 10 times harder than coding in FORTRAN, but runs 5 times faster. Converting (rewriting) an existing FORTRAN program to an assembly language program is 4 times harder than coding in FORTRAN.

How many days will it take for 2 programmers to write the entire code in FORTRAN and then rewrite the 1% code to assembly language?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 52

Explanation

As found above, the total effort to write the entire program in FORTRAN and then convert the hot 1% into assembly is 100 + 4 = 104 man-days. With only 2 programmers sharing this effort, the calendar time required is 104 / 2 = 52 days.

More Software Engineering questions