CPA Software Development Lifecycle 2 ā Questions and Answers
Question 1: Which SDLC phase is responsible for converting business requirements into technical specifications?
- Planning
- System Design (Correct answer)
- Implementation
- Testing
Correct answer: System Design
The System Design phase translates business requirements gathered during analysis into detailed technical specifications that developers will implement.
Question 2: In Agile methodology, what is the primary purpose of a 'Definition of Done' (DoD)?
- To list features planned for the next sprint
- To establish a shared understanding of when a work item is complete (Correct answer)
- To document bugs found during testing
- To assign tasks to team members
Correct answer: To establish a shared understanding of when a work item is complete
The Definition of Done is a shared checklist that specifies the criteria every work item must meet before it can be considered complete.
Question 3: Which type of testing verifies that individual units of code work correctly in isolation?
- Integration testing
- System testing
- Unit testing (Correct answer)
- Acceptance testing
Correct answer: Unit testing
Unit testing focuses on verifying the smallest testable parts of an applicationāindividual functions or methodsāin isolation from the rest of the system.
Question 4: What does the term 'technical debt' refer to in software development?
- The cost of purchasing software licenses
- The accumulated cost of shortcuts and poor design decisions made to deliver faster (Correct answer)
- Money owed to third-party API providers
- The time spent on code documentation
Correct answer: The accumulated cost of shortcuts and poor design decisions made to deliver faster
Technical debt represents the future rework required because quick or suboptimal solutions were chosen over better approaches during development.
Question 5: In the Waterfall model, what happens if a critical defect is discovered during the Testing phase?
- The project continues and defects are logged for a future release
- The team must return to an earlier phase, increasing cost and time (Correct answer)
- The project is cancelled and restarted from scratch
- Testing is skipped for that module
Correct answer: The team must return to an earlier phase, increasing cost and time
Waterfall's sequential nature means discovering late defects forces costly rework by returning to design or development phases.
Question 6: Which artifact produced during requirements analysis formally documents what the system must do?
- Source code repository
- Software Requirements Specification (SRS) (Correct answer)
- Deployment diagram
- Bug tracking report
Correct answer: Software Requirements Specification (SRS)
A Software Requirements Specification (SRS) document captures both functional and non-functional requirements agreed upon by stakeholders and developers.
Question 7: What is the main advantage of using version control systems like Git during the Implementation phase?
- They automatically fix bugs in the code
- They track changes, enable collaboration, and allow rollback to previous states (Correct answer)
- They generate documentation from source code
- They deploy code directly to production servers
Correct answer: They track changes, enable collaboration, and allow rollback to previous states
Version control systems track every change to the codebase, allowing teams to collaborate, branch safely, and revert to stable versions when needed.
Which SDLC phase is responsible for converting business requirements into technical specifications?