MCQs / Computer Science / NSCT: Software Engineering
NSCT: Software Engineering MCQs — Computer Science 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.
1. Testing performed by the customer to decide whether to accept the system is: White-box testing Acceptance testing Unit testing Integration testing Answer: B) Acceptance testing
Explanation: Also called UAT. Lesson 5.5 · Software Engineering
Discuss this question
2. 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). What is the minimum project duration? 12 days 15 days 17 days 10 days Answer: A) 12 days
Explanation: The critical path A–C–E takes 12 days. Lesson 5.5 · Software Engineering
Discuss this question
3. Re-running tests after a change to make sure old features still work is: Regression testing Smoke testing Alpha testing Stress testing Answer: A) Regression testing
Explanation: It catches side effects of changes. Lesson 5.5 · Software Engineering
Discuss this question
4. A UML diagram showing actors and their goals with the system is a: Class diagram Use case diagram Deployment diagram Sequence diagram Answer: B) Use case diagram
Explanation: It captures functional requirements. Lesson 5.3 · Software Engineering
Discuss this question
5. Unlike hardware, software: Cannot have defects Wears out physically Does not wear out but deteriorates due to changes Is manufactured in factories Answer: C) Does not wear out but deteriorates due to changes
Explanation: Changes introduce side effects over time. Lesson 5.1 · Software Engineering
Discuss this question
6. A burndown chart shows: Remaining work over time in a sprint Server CPU usage Budget spent per month only Number of team members Answer: A) Remaining work over time in a sprint
Explanation: Ideal vs actual remaining work. Lesson 5.2 · Software Engineering
Discuss this question
7. The pattern in which subscribers are notified automatically when an object changes is: Facade Observer Builder Singleton Answer: B) Observer
Explanation: Event listeners follow the observer pattern. Lesson 5.4 · Software Engineering
Discuss this question
8. Delivering a system in parts, each adding new functionality, is the: Incremental model V-model Big-bang model Waterfall model Answer: A) Incremental model
Explanation: Users get core features early. Lesson 5.1 · Software Engineering
Discuss this question
9. A function contains 7 independent decision points (if/while). What is its cyclomatic complexity? 8 14 9 7 Answer: A) 8
Explanation: V(G) = decisions + 1 = 8. Lesson 5.5 · Software Engineering
Discuss this question
10. A quick, rough model of the system shown to users to clarify requirements is a: Prototype Baseline Use case Release candidate Answer: A) Prototype
Explanation: Prototyping reduces requirement misunderstandings. Lesson 5.1 · Software Engineering
Discuss this question
11. CMMI measures an organisation's: Server uptime Code size Process maturity (levels 1–5) Network bandwidth Answer: C) Process maturity (levels 1–5)
Explanation: Level 5 = optimising. Lesson 5.5 · Software Engineering
Discuss this question
12. Choosing between different sorting algorithms at run time by passing an object is the: Singleton pattern Adapter pattern Composite pattern Strategy pattern Answer: D) Strategy pattern
Explanation: Strategies are interchangeable algorithms. Lesson 5.4 · Software Engineering
Discuss this question
13. A control-flow graph has 15 edges and 11 nodes. What is its cyclomatic complexity? 8 6 26 4 Answer: B) 6
Explanation: V(G) = E − N + 2 = 15 − 11 + 2 = 6. Lesson 5.5 · Software Engineering
Discuss this question
14. Testing individual functions or methods in isolation is: Unit testing System testing Acceptance testing Beta testing Answer: A) Unit testing
Explanation: The smallest testable parts. Lesson 5.5 · Software Engineering
Discuss this question
15. Static testing includes: Load testing Beta testing Executing unit tests Code reviews and inspections without running the code Answer: D) Code reviews and inspections without running the code
Explanation: Defects are found by examining artefacts. Lesson 5.5 · Software Engineering
Discuss this question
16. In the MVC pattern, the component that holds data and business rules is the: Model View Controller Router Answer: A) Model
Explanation: The view displays; the controller handles input. Lesson 5.4 · Software Engineering
Discuss this question
17. A control-flow graph has 10 edges and 8 nodes. What is its cyclomatic complexity? 18 6 2 4 Answer: D) 4
Explanation: V(G) = E − N + 2 = 10 − 8 + 2 = 4. Lesson 5.5 · Software Engineering
Discuss this question
18. Testing based only on requirements, without looking at code, is: Code review Static analysis White-box testing Black-box testing Answer: D) Black-box testing
Explanation: The tester checks inputs and outputs. Lesson 5.5 · Software Engineering
Discuss this question
19. "Are we building the product right?" describes: Verification Deployment Validation Maintenance Answer: A) Verification
Explanation: Validation asks "Are we building the right product?" Lesson 5.5 · Software Engineering
Discuss this question
20. A control-flow graph has 11 edges and 10 nodes. What is its cyclomatic complexity? 3 21 1 5 Answer: A) 3
Explanation: V(G) = E − N + 2 = 11 − 10 + 2 = 3. Lesson 5.5 · Software Engineering
Discuss this question
21. Agile development prefers: Processes over people Working software over comprehensive documentation Following a plan over responding to change Contracts over collaboration Answer: B) Working software over comprehensive documentation
Explanation: One of the four Agile Manifesto values. Lesson 5.2 · Software Engineering
Discuss this question
22. A Scrum team completed 60 story points in 3 sprints. The backlog has 120 points in total. At the same velocity, how many more sprints are needed? 4 2 6 3 Answer: D) 3
Explanation: Velocity = 60 ÷ 3 = 20; remaining 60 ÷ 20 → 3 sprints. Lesson 5.2 · Software Engineering
Discuss this question
23. The 15-minute daily meeting in Scrum is the: Retrospective Sprint review Daily Scrum (stand-up) Backlog grooming Answer: C) Daily Scrum (stand-up)
Explanation: The team syncs on progress and blockers. Lesson 5.2 · Software Engineering
Discuss this question
24. The V-model pairs each development phase with a: Marketing phase Maintenance release Corresponding testing phase Coding sprint Answer: C) Corresponding testing phase
Explanation: e.g. requirements ↔ acceptance testing. Lesson 5.1 · Software Engineering
Discuss this question
25. Replacing a parent class object with a child class object without breaking the program follows the: Single Responsibility Principle Interface Segregation Principle Liskov Substitution Principle DRY principle Answer: C) Liskov Substitution Principle
Explanation: Subtypes must honour the parent's contract. Lesson 5.4 · Software Engineering
Discuss this question
Page 1 of 5 Next
Practise NSCT: Software Engineering MCQs
More Computer Science chapters