Software Engineering: GATE CS Previous Year Questions

Software Engineering · Software Engineering and Web Technology

56 questions · asked in 11 of 27 years (2000–2026)

MCQ 53 · NAT 31-mark 42 · 2-mark 14

2000Questions per year2026

Questions 36–40 of 56

Q36GATE 20061 markMCQ−0.33 if wrong
A software project has four phases P1, P2, P3 and P4. Of these phases, P1 Is the first one and needs to be completed before any other phase can commence. Phases P2 and P3 can be executed in parallel. Phase P4 cannot commence until both P2 and P3 are completed. The optimistic, most likely, and pessimistic estimates of the phase completion times in days, for Pl, P2, P3 and P4 are, respectively, (11, 15, 25), (7, 8, 15), (8, 9, 22), and (3, 8, 19). The costs (in Rupees per day) of crashing the expected phase completion times for the four phases, respectively, are 100, 2000, 50, and 1000. Assume that the expected phase completion times of the phases cannot be crashed below their respective most likely completion times. The minimum and the maximum amounts (in Rupees) that can be spent on crashing so that ALL paths are critical are, respectively.

Q37GATE 20061 markMCQ−0.33 if wrong
A software project has four phases P1, P2, P3 and P4. Of these phases, P1 Is the first one and needs to be completed before any other phase can commence. Phases P2 and P3 can be executed in parallel. Phase P4 cannot commence until both P2 and P3 are completed. The optimistic, most likely, and pessimistic estimates of the phase completion times in days, for Pl, P2, P3 and P4 are, respectively, (11, 15, 25), (7, 8, 15), (8, 9, 22), and (3, 8, 19). The critical path for the above project and the slack of P2 are, respectively,

Q38GATE 20061 markMCQ−0.33 if wrong
 void swap(float* A1, float* A2)
{
    float temp;
    if (*A1 = = *A2) return;
    temp = *A1;
    *A1 = *A2;
    *A2 = temp;
    return;
}

The program volume for the above module using Halstead's method is

Q39GATE 20061 markMCQ−0.33 if wrong
Consider the following structure chart diagram. The boxes have function names embedded in them, while the variables are indicated along the arcs.
F1 F2 F3 F4 F6 F4 A2 A1 A5 A3 A4 A8 A7 A1 A6 A9 A1

Given below are a set of statements relevant to the above diagram.

I. F3 and F6 can be in the same module.
II. F4 and F6 can be in the same module.
III. A4 is both an output and a control variable.
IV. It is incorrect to pass A1 as data and use it as a control variable.

Which combination of these statements is TRUE?

Q40GATE 20061 markMCQ−0.33 if wrong
A software program consists of two modules M1M_1 and M2M_2 that can fail independently, but never simultaneously. The program is considered to have failed if any of these modules fails. Both the modules are 'repairable' and so the program starts working again as soon as the repair is done. Assume that the mean time to failure (MTTF) of M1M_1 is T1T_1 with a mean time to repair (MTTR) of R1R_1. The MTTF of M2M_2 is T2T_2 with an MTTR of R2R_2. What is the availability of the overall program given that the failure and repair times are all exponentially distributed random variables?

Keep practising

Topics in Software Engineering and Web Technology

All CS topics ›
Software EngineeringYou are here56 questions · asked in 11 years
Web Technology15 questions · asked in 7 years