SE
Question 1 |
A software project involves execution of 5 tasks T1, T2, T3, T4 and T5 of duration 10, 15, 18, 30 and 40 days, respectively. T2 and T4 can start only after T1 completes. T3 can start after T2 completes. T5 can start only after both T3 and T4 complete. What is the slack time of the task T3 in days?
0 | |
3 | |
18 | |
30 |
Question 2 |
Consider the following program module:
int module1 (int x, int y) { while (x! = y) { if (x > y) x = x - y, else y = y - x; } return x; }What is Cyclomatic complexity of the above module?
1 | |
2 | |
3 | |
4 |
Question 3 |
Assume that the delivered lines of code L of a software is related to the effort E in person months and duration t in calendar months by the relation L = P* (E/B)1/3 * t4/3, where P and B are two constants for the software process and skills factor. For a software project, the effort was estimated to be 20 person months and the duration was estimated to be 8 months. However, the customer asked the project team to complete the software project in 4 months. What would be the required effort in person months?
10 | |
40 | |
160 | |
320 |
Question 4 |
A software was tested using the error seeding strategy in which 20 errors were seeded in the code. When the code was tested using the complete test suite, 16 of the seeded errors were detected. The same test suite also detected 200 non-seeded errors. What is the estimated number of undetected errors in the code after this testing?
4 | |
50 | |
200 | |
250 |