GATE 2004 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2004

199 questions

MCQ 1991-mark 199

Questions 186–190 of 199

Q186Software Engineering1 markMCQ−0.33 if wrong
What is the availability of a software with the following reliability figures?
Mean Time Between Failure (MTBF) = 25 days
Mean Time To Repair (MTTR) = 6 hours

Q187Software Engineering1 markMCQ−0.33 if wrong
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?

Q188Software Engineering1 markMCQ−0.33 if wrong
Assume that the delivered lines of code LL of a software is related to the effort EE in person months and duration tt in calendar months by the relation LP∗(E/B)1/3∗t4/3L P* (E/B)^{1/3} * t^{4/3}, where PP and BB 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?

Q189Software Engineering1 markMCQ−0.33 if wrong
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?

Q190Software Engineering1 markMCQ−0.33 if wrong
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?