






































































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. Which of the following best defines software engineering? A) The study of computer hardware components B) The systematic application of engineering approaches to software development C) Writing code without documentation D) Testing software after deployment Answer: B Explanation: Software engineering involves applying systematic, disciplined, and quantifiable approaches to the development, operation, and maintenance of software systems to ensure quality and efficiency. Question 2. Which attribute of good software focuses on its ability to be modified with minimal effort? A) Reliability B) Maintainability C) Usability D) Security Answer: B Explanation: Maintainability refers to how easily software can be modified to correct faults, improve performance, or adapt to a changing environment. Question 3. What is the primary goal of software engineering? A) To develop hardware systems B) To produce high-quality software within time and budget constraints C) To execute code efficiently D) To replace computer science principles Answer: B Explanation: The main goal of software engineering is to develop reliable, maintainable, and efficient software that meets user needs within scheduled timeframes and budgets. Question 4. How does software engineering differ from computer science?
A) Software engineering emphasizes process and management, while computer science focuses on theory and algorithms B) Computer science only deals with hardware C) Software engineering does not require formal methods D) They are essentially the same discipline Answer: A Explanation: Software engineering emphasizes systematic processes, project management, and quality assurance, whereas computer science primarily deals with theoretical foundations, algorithms, and programming. Question 5. Which of the following is NOT a core principle of software engineering? A) Modularity B) Abstraction C) Rigor and formalism D) Randomness Answer: D Explanation: Randomness is not a core principle; core principles include modularity, abstraction, and rigor to manage complexity and ensure quality. Question 6. What does the software crisis refer to? A) The decline of software industry profits B) The difficulty in developing high-quality software on time and within budget C) The shortage of software engineers D) The failure of hardware components Answer: B Explanation: The software crisis describes historical difficulties in managing software projects, including cost overruns, delays, and poor quality due to complexity and lack of proper processes. Question 7. Which paradigm emphasizes the use of objects that encapsulate data and behavior? A) Structured programming
C) Design D) Maintenance Answer: B Explanation: Validation occurs during the testing phases in the V-Model, ensuring the system meets requirements and functions correctly. Question 11. What is a key feature of the Spiral Model? A) Strict linear progression B) Risk-driven iterative development C) Fixed requirements D) No user involvement Answer: B Explanation: The Spiral Model emphasizes risk analysis at each iteration, combining iterative development with risk management. Question 12. The Rational Unified Process (RUP) includes which of the following phases? A) Planning, Coding, Testing B) Inception, Elaboration, Construction, Transition C) Requirements, Design, Implementation, Deployment D) Analysis, Design, Implementation, Maintenance Answer: B Explanation: RUP organizes development into four phases: Inception, Elaboration, Construction, and Transition, supporting iterative development. Question 13. Which value is NOT part of the Agile Manifesto? A) Individuals and interactions over processes and tools B) Working software over comprehensive documentation C) Following a plan over responding to change D) Customer collaboration over contract negotiation
Answer: C Explanation: Agile values respond to change over following a fixed plan, emphasizing flexibility and adaptability. Question 14. In Scrum, who is responsible for managing the product backlog? A) Scrum Master B) Development Team C) Product Owner D) Stakeholders Answer: C Explanation: The Product Owner manages the product backlog, prioritizing features and requirements. Question 15. Which practice is central to Kanban methodology? A) Fixed-length iterations B) Visualizing workflow and limiting WIP C) Daily stand-up meetings D) Pair programming Answer: B Explanation: Kanban emphasizes visualizing work, limiting work-in-progress (WIP), and managing flow to improve efficiency. Question 16. Extreme Programming (XP) promotes which of the following practices? A) Waterfall planning B) Pair programming C) Heavy documentation D) Long development cycles Answer: B Explanation: Pair programming is a core XP practice where two programmers work together at one workstation to improve code quality.
A) Requirements should be clear and verifiable B) Requirements are static and never change C) Requirements should be traceable D) Requirements must meet user needs Answer: B Explanation: Requirements are expected to evolve; thus, they should be manageable and adaptable, not static. Question 21. Which technique involves stakeholders creating simple models or prototypes to clarify requirements? A) Brainstorming B) Prototyping C) Use case analysis D) Ethnographic study Answer: B Explanation: Prototyping helps stakeholders visualize and validate requirements early, reducing misunderstandings. Question 22. Which UML diagram type is primarily used to model interactions between objects over time? A) Class Diagram B) Sequence Diagram C) Deployment Diagram D) State Machine Diagram Answer: B Explanation: Sequence diagrams depict interactions among objects arranged in a time sequence. Question 23. The MoSCoW method is used for what purpose? A) Cost estimation B) Requirements prioritization
C) Risk management D) Testing coverage Answer: B Explanation: MoSCoW categorizes requirements into Must have, Should have, Could have, and Won't have to prioritize development efforts. Question 24. Which document typically contains functional and non-functional requirements, constraints, and acceptance criteria? A) Software Design Document B) Software Requirements Specification (SRS) C) Test Plan D) User Manual Answer: B Explanation: The SRS comprehensively documents system requirements, serving as a reference for developers and testers. Question 25. What is the purpose of requirements validation? A) To ensure requirements are feasible and meet user needs B) To develop test cases C) To design system architecture D) To code the software Answer: A Explanation: Validation verifies that the documented requirements accurately reflect stakeholder needs and are achievable. Question 26. Which technique helps in identifying the impact of proposed requirement changes on the project? A) Traceability analysis B) Cost estimation C) Risk assessment
Explanation: Class diagrams depict classes, attributes, operations, and relationships, representing the static structure. Question 30. The SOLID principles are associated with which aspect of software design? A) Architectural styles B) Object-oriented design C) Requirements gathering D) Testing methodologies Answer: B Explanation: SOLID principles guide good object-oriented design practices to create maintainable and scalable systems. Question 31. Which design pattern provides a way to create objects without specifying the exact class of object that will be created? A) Singleton B) Factory Method C) Observer D) Decorator Answer: B Explanation: The Factory Method pattern defines an interface for object creation, allowing subclasses to decide which class to instantiate. Question 32. Which is a key goal of detailed design phase? A) Defining high-level system architecture B) Specifying precise component interfaces and data structures C) Gathering user requirements D) Deploying the system Answer: B Explanation: Detailed design focuses on specifying how each component will function, including interfaces and data handling.
Question 33. Which UML diagram is used to show the dynamic behavior of a system by illustrating state changes? A) Class Diagram B) State Machine Diagram C) Deployment Diagram D) Use Case Diagram Answer: B Explanation: State Machine diagrams model the states an object can be in and transitions triggered by events. Question 34. Which of the following is NOT a typical component of a design review? A) Inspecting code quality B) Evaluating compliance with requirements C) Confirming adherence to standards D) Executing the system Answer: D Explanation: Executing the system is part of testing, not design review; reviews focus on design quality and correctness. Question 35. Which coding principle emphasizes avoiding repetition of code? A) DRY (Don't Repeat Yourself) B) KISS (Keep It Simple, Stupid) C) YAGNI (You Ain't Gonna Need It) D) SOLID Answer: A Explanation: The DRY principle encourages reducing code duplication to improve maintainability. Question 36. Which programming paradigm is characterized by functions as first-class citizens and avoiding mutable state?
D) Improve software performance Answer: B Explanation: VCS allows teams to track changes, collaborate effectively, and manage different development branches. Question 40. Which branching strategy involves developers working on short-lived branches that are integrated into the main branch frequently? A) GitFlow B) Trunk-Based Development C) Feature Branching D) Forking Answer: B Explanation: Trunk-Based Development encourages small, frequent integrations into the main trunk, reducing integration issues. Question 41. Which requirement type describes constraints imposed by external factors like regulations or standards? A) Functional requirements B) Non-functional requirements C) Domain requirements D) System requirements Answer: C Explanation: Domain requirements specify constraints related to the specific application domain, such as regulations or standards. Question 42. What is the primary purpose of use case diagrams? A) To model system structure B) To describe interactions between users and the system C) To show system deployment D) To specify data schemas
Answer: B Explanation: Use case diagrams depict interactions between actors (users or other systems) and the system to capture functional requirements. Question 43. Which UML diagram models the sequence of messages exchanged between objects? A) Class Diagram B) Sequence Diagram C) State Machine Diagram D) Deployment Diagram Answer: B Explanation: Sequence diagrams illustrate the chronological sequence of interactions among objects. Question 44. Which requirement prioritization technique categorizes requirements as 'Must have,' 'Should have,' 'Could have,' and 'Won't have'? A) Kano Model B) MoSCoW Method C) Analytic Hierarchy Process D) Cost-Benefit Analysis Answer: B Explanation: MoSCoW method categorizes requirements based on their importance to prioritize development efforts. Question 45. Which technique is used for verifying that requirements meet user needs and are correctly implemented? A) Code review B) Requirements validation C) System testing D) Performance testing Answer: B
Question 49. Which UML diagram type is used to model the physical deployment of software components? A) Class Diagram B) Deployment Diagram C) Sequence Diagram D) Activity Diagram Answer: B Explanation: Deployment diagrams illustrate how software components are mapped onto hardware nodes. Question 50. Which is NOT a typical goal of architectural design? A) To ensure system scalability B) To define detailed UI layouts C) To ensure system maintainability D) To meet quality attribute requirements Answer: B Explanation: Architectural design focuses on high-level structure and quality attributes; detailed UI layouts are part of detailed design. Question 51. Which is an example of a structural design pattern? A) Observer B) Singleton C) Factory D) Strategy Answer: B Explanation: Singleton is a structural pattern ensuring a class has only one instance and provides global access.
Question 52. Which UML diagram type is used to model the deployment of hardware and software nodes? A) Class Diagram B) Deployment Diagram C) State Machine Diagram D) Use Case Diagram Answer: B Explanation: Deployment diagrams depict hardware nodes and the software components deployed on them. Question 53. What is the main purpose of code refactoring? A) To improve code structure without changing external behavior B) To add new features C) To fix bugs D) To optimize performance only Answer: A Explanation: Refactoring improves internal code structure, readability, and maintainability without altering functionality. Question 54. Which programming paradigm emphasizes functions as first-class objects and avoiding mutable state? A) Object-Oriented Programming B) Functional Programming C) Procedural Programming D) Logic Programming Answer: B Explanation: Functional programming emphasizes pure functions, immutability, and avoiding side effects. Question 55. Which feature of an IDE helps in quickly locating and fixing errors during development?
C) No branching support D) Limited collaboration Answer: B Explanation: Distributed VCS enable developers to work independently with local repositories and later synchronize changes. Question 59. Which process model is characterized by an iterative risk-driven approach, often involving multiple cycles? A) Waterfall B) Spiral C) V-Model D) Linear Sequential Answer: B Explanation: The Spiral Model emphasizes iterative development with risk analysis at each cycle, allowing for risk mitigation. Question 60. Which attribute of software ensures that it performs its intended functions accurately and consistently? A) Maintainability B) Reliability C) Usability D) Efficiency Answer: B Explanation: Reliability pertains to the software's ability to perform correctly over time without failure. Question 61. Which principle promotes designing software to anticipate future changes? A) Separation of concerns B) Anticipation of change C) Rigor and formality D) Modularity
Answer: B Explanation: Anticipation of change involves designing systems that can accommodate future modifications with minimal effort. Question 62. What is the main purpose of a use case diagram? A) To model system structure B) To visualize interactions between users and the system C) To specify data storage D) To depict hardware deployment Answer: B Explanation: Use case diagrams depict how users (actors) interact with the system to achieve goals, capturing functional requirements. Question 63. Which UML diagram shows the sequence of messages exchanged during an operation? A) Class Diagram B) Sequence Diagram C) State Machine Diagram D) Deployment Diagram Answer: B Explanation: Sequence diagrams model interactions over time, illustrating message exchanges between objects during operations. Question 64. Which requirement prioritization technique is based on customer satisfaction and features' ability to satisfy needs? A) MoSCoW B) Kano Model C) Analytic Hierarchy Process D) Cost-Bactor Analysis Answer: B