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 41–45 of 56

Q41GATE 20061 markMCQ−0.33 if wrong
With respect to software testing, consider a flow graph G with one connected component. Let E be the number of edges, N be the number of nodes, and P be the number of predicate nodes of G. Consider the following four expressions:

I. E - N + P
II. E - N + 2
III. P + 2
IV. P + 1

The cyclomatic complexity of G is given by

Q42GATE 20061 markMCQ−0.33 if wrong
The cyclomatic complexity of the flow graph of a program provides

Q43GATE 20051 markMCQ−0.33 if wrong
In a data flow diagram, the segment shown below is identified as having transaction flow characteristics, with p2p_2 identified as the transaction center
p1 p2 p3 p4 p5
A first level architectural design of this segment will result in a set of process modules with an associated invocation sequence. The most appropriate architecture is

Q44GATE 20051 markMCQ−0.33 if wrong
Tb carry out white box testing of a program, its flow chart representation is obtained as shown in the figure below:

S:=0 i:=1 Read, f S:= S + f S:= S + i i:= i + 1 Print, S i:>k i <=2
For basis path based testing of this program, its cyclomatic complexity is

Q45GATE 20051 markMCQ−0.33 if wrong
The availability of a complex software is 90%. Its Mean Time Between Failure (MTBF) is 200 days. Because of the critical nature of the usage, the organization deploying the software further enhanced it to obtain an availability of 95%. In the process, the Mean Time To Repair (MTTR) increased by 5 days. What is the MTBF of the enhanced software?

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