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 16–20 of 56
Which of the following is NOT desired in a good Software Requirement Specifications (SRS) document?
Answer: (D)
An SRS tells what the system must do. This covers functional requirements, non-functional requirements and goals. Algorithms belong to design and implementation. They are not part of the requirements.
Answer: Algorithms for Software Implementation
Answer: Algorithms for Software Implementation
A company needs to develop digital signal processing software for one of its newest inventions. The software is expected to have 40000 lines of code. The company needs to determine the effort in person-months needed to develop this software using the basic COCOMO model. The multiplicative factor for this model is given as 2.8 for the software development on embedded systems, while the exponentiation factor is given as 1.20. What is the estimated effort in personmonths?
Answer: (A)
Basic COCOMO effort formula: .
Value of the power term: , so E 2.8 83.66 = 234.25 person-months
Answer: 234.25
Value of the power term: , so E 2.8 83.66 = 234.25 person-months
Answer: 234.25
A company needs to develop a strategy for software product development for which it has a choice of two programming languages L1 and L2. The number of lines of code (LOC) developed using L2 is estimated to be twice the LOC developed with L1. the product will have to be maintained for five years. Various parameters for the company are given in the table below.
Total cost of the project includes cost of development and maintenance. What is the LOC for L1 for which the cost of the project using L1 is equal to the cost of the project using L2?
Total cost of the project includes cost of development and maintenance. What is the LOC for L1 for which the cost of the project using L1 is equal to the cost of the project using L2?
Answer: (B)
Let L be the LOC for L1. Then L2 needs 2L.
- Cost of the project with L1 =
- Cost of the project with L2 =
Set the two costs equal: 50L = 2,50,000 L = 5000
Answer: 5000
- Cost of the project with L1 =
- Cost of the project with L2 =
Set the two costs equal: 50L = 2,50,000 L = 5000
Answer: 5000
The following program is to be tested for statement coverage:
T1 : a, b, c and d are all equal
T2 : a, b, c and d are all distinct
T3 : a=b and c !=d
T4 : a !=b and c=d
Which of the test suites given below ensures coverage of statements S1, S2, S3 and S4?
begin
if (a ==b) {S1; exit;}
else if (c ==d) {S2;}
else {S3; exit;}
S4;
end The test cases T1, T2, T3 and T4 given below are expressed in terms of the properties satisfied by the values of variables a, b, c and d. The exact values are not given. T1 : a, b, c and d are all equal
T2 : a, b, c and d are all distinct
T3 : a=b and c !=d
T4 : a !=b and c=d
Which of the test suites given below ensures coverage of statements S1, S2, S3 and S4?
Answer: (D)
Check each statement:
- S1 runs when a = b (T1 or T3).
- S2 and S4 run when a b and c = d (T4).
- S3 runs when a b and c d (T2).
T1, T2, T4 cover all four.
Answer: T1, T2, T4
- S1 runs when a = b (T1 or T3).
- S2 and S4 run when a b and c = d (T4).
- S3 runs when a b and c d (T2).
T1, T2, T4 cover all four.
Answer: T1, T2, T4
What is the appropriate pairing of items in the two columns listing various activities encountered in a software life cycle?
Answer: (B)
Match each activity with its item:
- Requirements capture goes with domain analysis (2)
- Design goes with structural and behavioural modelling (3)
- Implementation goes with module development and integration (1)
- Maintenance goes with performance tuning (4)
Answer: P-2, Q-3, R-1, S-4
- Requirements capture goes with domain analysis (2)
- Design goes with structural and behavioural modelling (3)
- Implementation goes with module development and integration (1)
- Maintenance goes with performance tuning (4)
Answer: P-2, Q-3, R-1, S-4
Keep practising
Topics in Software Engineering and Web Technology
Software EngineeringYou are here
Web Technology