MCQs / Computer Science / NSCT: Software Engineering
NSCT: Software Engineering MCQs — Computer Science (page 4) 117 multiple-choice questions on NSCT: Software Engineering from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.
76. A human mistake that introduces a defect in code, which later causes wrong behaviour, follows the chain: Fault → failure → error Error → fault → failure Bug → test → release Failure → error → fault Answer: B) Error → fault → failure
Explanation: The failure is what users observe. Lesson 5.5 · Software Engineering
Discuss this question
77. The Waterfall model is best suited when: The customer is unavailable for feedback forever Requirements are well understood and stable Requirements change every week The team is building a quick prototype Answer: B) Requirements are well understood and stable
Explanation: Waterfall handles change poorly. Lesson 5.1 · Software Engineering
Discuss this question
78. RAD (Rapid Application Development) is suitable when: Hardware must be designed first There is no customer involvement The system is huge and safety-critical Time is short and requirements are well modularised Answer: D) Time is short and requirements are well modularised
Explanation: RAD relies on prototyping and reuse. Lesson 5.1 · Software Engineering
Discuss this question
79. A form accepts a quantity from 1 to 10 (inclusive). Using boundary value analysis, which set of test values is best? 0, 1, 10, 11 1, 10 5 2, 9 Answer: A) 0, 1, 10, 11
Explanation: Test just below, on, and just above each boundary. Lesson 5.5 · Software Engineering
Discuss this question
80. A major risk of the prototyping model is that: Users give feedback Requirements become clearer Development starts early Customers may treat the throw-away prototype as the final product Answer: D) Customers may treat the throw-away prototype as the final product
Explanation: Quick-and-dirty prototypes are not built for production. Lesson 5.1 · Software Engineering
Discuss this question
81. A control-flow graph has 20 edges and 15 nodes. What is its cyclomatic complexity? 5 9 7 35 Answer: C) 7
Explanation: V(G) = E − N + 2 = 20 − 15 + 2 = 7. Lesson 5.5 · Software Engineering
Discuss this question
82. A risk has a probability of 0.25 and an impact of Rs. 400,000. What is its risk exposure? Rs. 200,000 Rs. 100,000 Rs. 1,600,000 Rs. 400,000 Answer: B) Rs. 100,000
Explanation: Risk exposure = probability × impact. Lesson 5.5 · Software Engineering
Discuss this question
83. Project tasks: A (2 days); B (6 days, after A); C (3 days, after A); D (4 days, after C); E (2 days, after B & D). Which is the critical path? E–D–C–B–A A–C–D–E A–B–E A–B–C–D–E Answer: B) A–C–D–E
Explanation: It is the longest path (11 days). Lesson 5.5 · Software Engineering
Discuss this question
84. Which model makes risk analysis a central activity in every cycle? Spiral model Code-and-fix Big-bang Waterfall Answer: A) Spiral model
Explanation: Boehm's spiral has a risk-analysis quadrant in each loop. Lesson 5.1 · Software Engineering
Discuss this question
85. Being able to trace each requirement to its design, code and test cases is called: Coupling Elicitation Traceability Cohesion Answer: C) Traceability
Explanation: It supports change impact analysis. Lesson 5.3 · Software Engineering
Discuss this question
86. A form accepts a loan amount from 1000 to 50000 (inclusive). Using boundary value analysis, which set of test values is best? 1000, 50000 1001, 49999 999, 1000, 50000, 50001 25500 Answer: C) 999, 1000, 50000, 50001
Explanation: Test just below, on, and just above each boundary. Lesson 5.5 · Software Engineering
Discuss this question
87. "The system shall generate a monthly sales report" is a: Functional requirement Test case Non-functional requirement Design constraint Answer: A) Functional requirement
Explanation: It states what the system must do. Lesson 5.3 · Software Engineering
Discuss this question
88. Project tasks: A (4 days); B (2 days, after A); C (7 days, after A); D (3 days, after B); E (1 day, after C & D). Which is the critical path? A–B–C–D–E A–C–E E–D–C–B–A A–B–D–E Answer: B) A–C–E
Explanation: It is the longest path (12 days). Lesson 5.5 · Software Engineering
Discuss this question
89. In UML, a filled diamond on an association line represents: Inheritance Dependency Aggregation Composition Answer: D) Composition
Explanation: The part cannot exist without the whole. Lesson 5.3 · Software Engineering
Discuss this question
90. "The page must load within 2 seconds" is a: Business rule Functional requirement Non-functional (performance) requirement User story only Answer: C) Non-functional (performance) requirement
Explanation: It describes how well the system performs. Lesson 5.3 · Software Engineering
Discuss this question
91. A Scrum team completed 100 story points in 4 sprints. The backlog has 200 points in total. At the same velocity, how many more sprints are needed? 4 8 3 5 Answer: A) 4
Explanation: Velocity = 100 ÷ 4 = 25; remaining 100 ÷ 25 → 4 sprints. Lesson 5.2 · Software Engineering
Discuss this question
92. A module of 15,000 lines of code has 30 known defects. What is its defect density? 30 defects/KLOC 20 defects/KLOC 2 defects/KLOC 500 defects/KLOC Answer: C) 2 defects/KLOC
Explanation: 30 ÷ 15 KLOC = 2. Lesson 5.5 · Software Engineering
Discuss this question
93. Beta testing is performed: Before any code is written By real users in their own environment By developers at their desks Only by automated tools Answer: B) By real users in their own environment
Explanation: Alpha testing is done at the developer's site. Lesson 5.5 · Software Engineering
Discuss this question
94. The meeting where the team reflects on how to improve its own process is the: Sprint review Sprint retrospective Sprint planning Daily Scrum Answer: B) Sprint retrospective
Explanation: Review demos the product; retrospective improves the process. Lesson 5.2 · Software Engineering
Discuss this question
95. The shared checklist that defines when a backlog item is finished is the: Product vision Burndown chart Definition of Done Risk plan Answer: C) Definition of Done
Explanation: It ensures consistent quality. Lesson 5.2 · Software Engineering
Discuss this question
96. A three-tier architecture consists of: Presentation, business logic and data tiers HTML, CSS and JavaScript Client, cable and server Compiler, linker and loader Answer: A) Presentation, business logic and data tiers
Explanation: Each tier can be scaled separately. Lesson 5.4 · Software Engineering
Discuss this question
97. Project tasks: A (5 days); B (3 days); C (4 days, after A); D (7 days, after B); E (2 days, after C & D). Which is the critical path? A–B–C–D–E A–C–E B–D–E E–D–C–B–A Answer: C) B–D–E
Explanation: It is the longest path (12 days). Lesson 5.5 · Software Engineering
Discuss this question
98. A module of 2,000 lines of code has 8 known defects. What is its defect density? 40 defects/KLOC 8 defects/KLOC 4 defects/KLOC 250 defects/KLOC Answer: C) 4 defects/KLOC
Explanation: 8 ÷ 2 KLOC = 4. Lesson 5.5 · Software Engineering
Discuss this question
99. Project tasks: A (5 days); B (3 days); C (4 days, after A); D (7 days, after B); E (2 days, after C & D). What is the minimum project duration? 21 days 10 days 15 days 12 days Answer: D) 12 days
Explanation: The critical path B–D–E takes 12 days. Lesson 5.5 · Software Engineering
Discuss this question
100. A UML diagram showing classes, attributes, operations and relationships is a: Use case diagram Class diagram Timing diagram Activity diagram Answer: B) Class diagram
Explanation: It shows the static structure. Lesson 5.3 · Software Engineering
Discuss this question
Previous Page 4 of 5 Next
Practise NSCT: Software Engineering MCQs
More Computer Science chapters