


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



































What is the primary purpose of software requirements specification (SRS)? A. To design the software B. To document what the software should do C. To code the software D. To test the software Correct Answer: B Rationale: An SRS defines what the system must achieve, not how. 2. Which model includes repeated cycles of planning, designing, implementing, and testing? A. Waterfall B. V-model C. Iterative development D. Spiral model
Correct Answer: C Rationale: Iterative models revisit phases in cycles. 3. Which process is responsible for ensuring the product meets user needs? A. Coding B. Validation C. Debugging D. Configuration Correct Answer: B Rationale: Validation checks correctness relative to user requirements. 4. What is cohesion in software design? A. Degree components are independent B. Degree a module performs a single task C. Degree modules communicate D. Degree of code reuse Correct Answer: B Rationale: High cohesion means focused responsibilities. 5.
C. Stress testing D. Regression testing Correct Answer: B Rationale: Prototypes help clarify requirements before final development. 8. What is encapsulation in object-oriented design? A. Code reuse B. Inheritance C. Hiding internal object details D. Sequence control Correct Answer: C Rationale: Encapsulation protects internal state. 9. Which parameter is checked in black-box testing****? A. Code statements B. Input/output behavior C. Execution paths D. Variable values Correct Answer: B Rationale: Black-box testing ignores internal implementation.
What is the main goal of software maintenance? A. Rewrite software B. Fix defects and improve performance C. Document code D. Sell software Correct Answer: B Rationale: Maintenance involves corrections and improvements. 11. Which project management tool shows task dependencies? A. Pareto chart B. Gantt chart C. Histogram D. Use case Correct Answer: B Rationale: Gantt charts map schedules and dependencies. 12. Which quality metric measures software reliability? A. Cyclomatic complexity B. Mean time between failures
What is the purpose of use cases****? A. Document system architecture B. Describe user interactions C. Store design patterns D. Track bugs Correct Answer: B Rationale: Use cases model end-user behavior. 16. Which design principle suggests “open for extension, closed for modification”? A. Liskov substitution B. Don’t repeat yourself C. Open/Closed principle D. YAGNI Correct Answer: C Rationale: OCP promotes extendibility without changing existing code. 17. What is code refactoring****? A. Adding new features B. Improving structure without changing behavior
C. Adding comments only D. Fixing bugs only Correct Answer: B Rationale: Refactoring improves readability and design. 18. Which test level focuses on entire system behavior? A. Unit test B. Integration test C. System test D. Component test Correct Answer: C Rationale: System testing verifies the full application. 19. Which document tracks changes and versions of deliverables? A. SRS B. Configuration management plan C. Use case D. Quality plan Correct Answer: B Rationale: Configuration management maintains control of artifacts.
Correct Answer: B Rationale: CI merges code frequently to prevent integration problems. 23. Which UML shows relationships among classes? A. Use case B. Activity C. Class diagram D. Sequence Correct Answer: C Rationale: Class diagrams depict static structure. 24. What is a software metric****? A. Programming language B. Measure of attribute or quality C. Test suite D. Code editor Correct Answer: B Rationale: Metrics quantify software properties. 25.
What does risk mitigation involve? A. Ignoring risks B. Reducing risk probability or impact C. Adding more risks D. Releasing software early Correct Answer: B Rationale: Mitigation alleviates possible issues. 26. Which type of maintenance adds new features? A. Corrective B. Adaptive C. Perfective D. Preventive Correct Answer: C Rationale: Perfective maintenance enhances functionality. 27. What is the scope in project management? A. Testing strategy B. Work to be done for project completion C. Bug list D. Deployment plan
What does traceability ensure? A. Fewer tests B. Linking requirements to work products C. Faster coding D. Less documentation Correct Answer: B Rationale: Traceability tracks requirements through development. **(Continuing in the same format…)
What is** baseline in configuration management? A. First draft code B. Approved configuration item snapshot C. Test script D. Bug database Correct Answer: B Rationale: Baselines mark stable reference points. 32. Which document outlines software architecture decisions? A. SRS B. Test plan
C. Software architecture description D. Deployment script Correct Answer: C Rationale: It records architectural rationale. 33. What does YAGNI mean? A. You Always Get New Ideas B. You Aren’t Gonna Need It C. Your Application Gets Newness D. None Correct Answer: B Rationale: YAGNI avoids unnecessary features. 34. What is cyclomatic complexity****? A. Memory usage B. Measure of independent paths in code C. File size D. Test duration Correct Answer: B Rationale: It gauges structural complexity.
Correct Answer: B Rationale: Agile prioritizes stakeholders. 38. What is functional decomposition****? A. Code optimization B. Breaking system into smaller functions C. Database design D. User training Correct Answer: B Rationale: It simplifies complex systems. 39. Which test best identifies boundary errors? A. Stress test B. Boundary value analysis C. Load test D. Smoke test Correct Answer: B Rationale: It tests edges of input ranges. 40.
Who approves the SRS? A. Developers B. Testers C. All stakeholders D. Designers Correct Answer: C Rationale: Stakeholders ensure requirements are correct. 41. What is the primary goal of software configuration management (SCM)? A. Write code faster B. Design user interfaces C. Control changes to software artifacts D. Test software performance Correct Answer: C Rationale: SCM tracks and manages changes to maintain integrity. 42. Which type of testing is performed by end-users? A. Unit test B. Integration test
Which software quality factor measures adaptability to new environments? A. Reliability B. Efficiency C. Portability D. Correctness Correct Answer: C Rationale: Portability indicates ease of transfer to different platforms. 46. What is the function of a test oracle****? A. Generate code B. Execute tests C. Determine expected outcomes D. Record defects Correct Answer: C Rationale: Test oracles provide reference results for comparison. 47.
Which software metric evaluates design complexity? A. Lines of code B. Cyclomatic complexity C. Function points D. Response time Correct Answer: B Rationale: Cyclomatic complexity measures possible execution paths. 48. Which design pattern is used to ensure a class has only one instance? A. Observer B. Factory C. Singleton D. Adapter Correct Answer: C Rationale: Singleton restricts instantiation to a single object. 49. What does mean time to failure (MTTF) indicate? A. Time to repair B. Expected time before first failure