




























































































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!





























































































Question 1. What is a primary goal of requirements elicitation in software development? A) To design the system architecture B) To gather comprehensive stakeholder needs and constraints C) To implement coding standards D) To perform system testing Answer: B Explanation: Requirements elicitation focuses on gathering detailed information from stakeholders to understand their needs and constraints for the system. Question 2. Which model emphasizes iterative refinement and stakeholder feedback during requirements specification?
A) Waterfall model B) Spiral model C) V-Model D) Incremental model Answer: B Explanation: The Spiral model emphasizes iterative refinement, risk analysis, and stakeholder feedback throughout the requirements and development process. Question 3. Which UML diagram is primarily used for modeling system behavior over time? A) Class diagram B) Sequence diagram
Answer: B Explanation: Requirements reviews aim to verify that requirements accurately reflect stakeholder needs and are correctly documented, reducing errors early. Question 5. Which is an example of a non-functional requirement? A) The system shall authenticate users B) The system shall respond within 2 seconds under load C) The system shall generate monthly reports D) The system shall allow password resets Answer: B
Explanation: Non-functional requirements specify quality attributes like performance, response time, and reliability, whereas functional requirements describe behaviors. Question 6. Which process model is best suited for projects with well- understood requirements? A) Waterfall B) Spiral C) Agile D) Incremental Answer: A Explanation: The Waterfall model is most suitable when requirements are well-understood and unlikely to change, following a linear sequence.
A) Formal analysis B) Prototyping C) Data modeling D) Requirements tracing Answer: B Explanation: Prototyping involves building a simplified version of the system to validate requirements and gather stakeholder feedback. Question 9. What is the main purpose of requirements tracing? A) To develop source code B) To track requirements throughout the development lifecycle C) To perform system testing
D) To create user documentation Answer: B Explanation: Requirements tracing links requirements to design, implementation, and testing artifacts, ensuring all requirements are addressed. Question 10. Which architectural style is characterized by a layered organization of components? A) Client-server B) Layered architecture C) Microservices D) Event-driven architecture Answer: B
Question 12. Which UML diagram type is primarily used to model static structure? A) Sequence diagram B) Class diagram C) State diagram D) Deployment diagram Answer: B Explanation: Class diagrams depict the static structure of a system, showing classes, attributes, operations, and relationships. Question 13. Which design pattern provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation?
A) Singleton B) Iterator C) Factory D) Observer Answer: B Explanation: The Iterator pattern allows sequential access to elements of a collection without exposing its internal structure. Question 14. In software design, what is the primary benefit of applying modularity? A) Increased execution speed B) Easier maintenance and understanding C) Reduced number of classes needed
Explanation: Exception handling manages unexpected errors during execution, ensuring system robustness and graceful recovery. Question 16. What is a primary focus of user interface design? A) Optimizing database queries B) Enhancing user interaction and usability C) Defining system architecture D) Implementing security protocols Answer: B Explanation: User interface design aims to create intuitive, effective, and user-friendly interfaces to improve usability.
Question 17. Which of the following is a measure of a system's usability? A) Response time B) Error rate during user tasks C) Throughput D) Availability Answer: B Explanation: Error rate during user tasks reflects usability by measuring how easily users can perform tasks without mistakes. Question 18. Which UML view describes the dynamic behavior of objects in a system? A) Structural view
Answer: B Explanation: Function-oriented design organizes software into procedures or functions, emphasizing sequential logic. Question 20. In software construction, what is the purpose of code reviews? A) To test the system B) To identify and fix coding errors and improve code quality C) To deploy the software D) To document requirements Answer: B Explanation: Code reviews involve examining code to find errors, improve quality, and ensure adherence to standards.
Question 21. Which activity is part of construction planning? A) Requirements elicitation B) Scheduling tasks and allocating resources for coding and testing C) Developing UML diagrams D) Performing acceptance testing Answer: B Explanation: Construction planning involves scheduling and resource allocation to organize development tasks efficiently. Question 22. What is the primary goal of test-first programming? A) To complete coding faster
Answer: B Explanation: Requirements management tools help in capturing, organizing, and tracking requirements throughout the project. Question 24. What is a key advantage of using design patterns in software design? A) Increased code complexity B) Reusable and proven solutions to common problems C) Reduced need for documentation D) Faster compilation times Answer: B Explanation: Design patterns provide reusable solutions to recurring design problems, improving maintainability and clarity.
Question 25. Which process activity involves transforming requirements into architectural structures? A) Requirements validation B) Requirements analysis and architectural design C) Coding and implementation D) User training Answer: B Explanation: Requirements analysis leads to architectural design, translating requirements into system structure. Question 26. Which approach reduces software complexity by encapsulating details within modules?