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 6–10 of 56
Consider a software project with the following information domain characteristics for calculation of function point metric.
Number of external inputs (I) = 30
Number of external outputs (O) = 60
Number of external inquiries (E) = 23
Number of files (F) = 08
Number of external interfaces (N) = 02
It is given that the complexity weighting factors for I, O, E, F and N are 4, 5, 4, 10 and 7, respectively. It is also given that, out of fourteen value adjustment factors that influence the development effort, four factors are not applicable, each of the other four factors have value 3, and each of the remaining factors have value 4. The computed value of function point metric is ________.
Number of external inputs (I) = 30
Number of external outputs (O) = 60
Number of external inquiries (E) = 23
Number of files (F) = 08
Number of external interfaces (N) = 02
It is given that the complexity weighting factors for I, O, E, F and N are 4, 5, 4, 10 and 7, respectively. It is also given that, out of fourteen value adjustment factors that influence the development effort, four factors are not applicable, each of the other four factors have value 3, and each of the remaining factors have value 4. The computed value of function point metric is ________.
Answer: 612 to 613
Unadjusted function points (UFP) = sum of count weight:
Value adjustment factors (14 of them): 4 are not applicable (value 0), 4 have value 3 and the remaining 6 have value 4:
Function points:
Answer: 612.06
Value adjustment factors (14 of them): 4 are not applicable (value 0), 4 have value 3 and the remaining 6 have value 4:
Function points:
Answer: 612.06
Consider a software program that is artificially seeded with 100 faults. While testing this program, 159 faults are detected, out of which 75 faults are from those artificially seeded faults. Assuming that both real and seeded faults are of same nature and have same distribution, the estimated number of undetected real faults is ________.
Answer: 28
Testing found 75 of the 100 seeded faults, a detection rate of . Real faults are of the same nature, so take the same rate for them.
Real faults found
Estimated total real faults
Undetected real faults
Answer: 28
Real faults found
Estimated total real faults
Undetected real faults
Answer: 28
Consider three software items: Program-, Control Flow Diagram of Program- and Control Flow Diagram of Program- as shown below
Program-:

Control Flow Diagram of Program-:

The values of McCabe’s Cyclomatic complexity of Program-, Program-, and Program- respectively are
Program-:
sumcal(int maxint, int value)
{
int result=0, i=0;
if (value <0)
{
value = -value;
}
while((i<value) AND (result <= maxint))
{
i=i+1;
result = result + 1;
}
if(result <= maxint)
{
printf(result);
}
else
{
printf("large");
}
printf("end of program");
}Control Flow Diagram of Program-:
Control Flow Diagram of Program-:

The values of McCabe’s Cyclomatic complexity of Program-, Program-, and Program- respectively are
Answer: (A)
McCabe's cyclomatic complexity of a connected flow graph with E edges and N nodes is . For structured code it equals the number of decisions + 1.
Program-X: the decisions are if (value < 0), the while test and if (result <= maxint). The while condition is one test node in the flow graph. So .
Program-Y: the graph has N = 8 nodes. It has 7 edges down the chain and 3 back edges, so E = 10, and .
Program-Z: the graph of X followed by the graph of Y, joined by one extra edge. So and :
Answer: (A)
Program-X: the decisions are if (value < 0), the while test and if (result <= maxint). The while condition is one test node in the flow graph. So .
Program-Y: the graph has N = 8 nodes. It has 7 edges down the chain and 3 back edges, so E = 10, and .
Program-Z: the graph of X followed by the graph of Y, joined by one extra edge. So and :
Answer: (A)
Match the following:
| 1) Waterfall model | a) Specifications can be developed incrementally |
| 2) Evolutionary model | b) Requirements compromises are inevitable |
| 3) Component-based software engineering | c) Explicit recognition of risk |
| 4) Spiral development | d) Inflexible partitioning of the project into stages |
Answer: (B)
1) The waterfall model splits the project into fixed stages done one after another, with little going back: inflexible partitioning into stages (d).
2) The evolutionary model builds a first version and refines it with users, so the specification is developed incrementally (a).
3) Component-based software engineering reuses existing components, so requirements often have to be adjusted to what the components offer: compromises are inevitable (b).
4) The spiral model has a risk-analysis step in every loop, so it explicitly recognises risk (c).
So 1-d, 2-a, 3-b, 4-c.
Answer: (B)
2) The evolutionary model builds a first version and refines it with users, so the specification is developed incrementally (a).
3) Component-based software engineering reuses existing components, so requirements often have to be adjusted to what the components offer: compromises are inevitable (b).
4) The spiral model has a risk-analysis step in every loop, so it explicitly recognises risk (c).
So 1-d, 2-a, 3-b, 4-c.
Answer: (B)
Which one of the following is TRUE?
Answer: (C)
Requirements validation checks that the written requirements are what the customer really wants. A prototype lets users try the system early and spot missing or wrong requirements, so prototyping is a validation method.
(A) is wrong: a requirements document says what the system must do, not how it is implemented.
(B) is wrong: complete and consistent requirements are very hard to reach in practice.
(D) is wrong: a requirements review looks for errors in the requirements, not in the system design.
Answer: (C)
(A) is wrong: a requirements document says what the system must do, not how it is implemented.
(B) is wrong: complete and consistent requirements are very hard to reach in practice.
(D) is wrong: a requirements review looks for errors in the requirements, not in the system design.
Answer: (C)
Keep practising
Topics in Software Engineering and Web Technology
Software EngineeringYou are here
Web Technology