Software Development Life Cycle (SDLC) Practice Exam, Exams of Technology

A practice exam focused on the software development life cycle (sdlc) and related software engineering principles. It includes multiple-choice questions covering topics such as sdlc phases, agile methodologies, devops, uml diagrams, testing techniques, and software maintenance. Each question is accompanied by a detailed explanation of the correct answer, making it a valuable resource for students and professionals preparing for software engineering exams or seeking to reinforce their understanding of key concepts in software development. The exam covers a wide range of topics, including waterfall model, spiral model, scrum, lean software development, and more, providing a comprehensive review of essential software engineering practices.

Typology: Exams

2025/2026

Available from 12/07/2025

shilpi-jain-1
shilpi-jain-1 🇮🇳

4.2

(5)

29K documents

1 / 85

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
SOFTWARE Practice Exam
Question 1. What is the primary purpose of the Software Development Life Cycle (SDLC)?
A) To increase project costs
B) To provide a structured process for software development
C) To eliminate testing phases
D) To reduce documentation requirements
Answer: B
Explanation: The SDLC provides a systematic approach to software development to ensure quality,
predictability, and effective management throughout the project.
Question 2. Which phase of the SDLC involves gathering and analyzing requirements from stakeholders?
A) Design
B) Implementation
C) Analysis
D) Deployment
Answer: C
Explanation: The Analysis phase focuses on understanding and documenting the software requirements
through stakeholder interactions.
Question 3. Which is a characteristic of the Waterfall model?
A) Iterative development
B) Flexible changes during development
C) Sequential and linear process
D) Emphasis on customer feedback after deployment
Answer: C
Explanation: The Waterfall model follows a strict sequence of phases, making it linear and less flexible to
changes once a phase is completed.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55

Partial preview of the text

Download Software Development Life Cycle (SDLC) Practice Exam and more Exams Technology in PDF only on Docsity!

Question 1. What is the primary purpose of the Software Development Life Cycle (SDLC)? A) To increase project costs B) To provide a structured process for software development C) To eliminate testing phases D) To reduce documentation requirements Answer: B Explanation: The SDLC provides a systematic approach to software development to ensure quality, predictability, and effective management throughout the project. Question 2. Which phase of the SDLC involves gathering and analyzing requirements from stakeholders? A) Design B) Implementation C) Analysis D) Deployment Answer: C Explanation: The Analysis phase focuses on understanding and documenting the software requirements through stakeholder interactions. Question 3. Which is a characteristic of the Waterfall model? A) Iterative development B) Flexible changes during development C) Sequential and linear process D) Emphasis on customer feedback after deployment Answer: C Explanation: The Waterfall model follows a strict sequence of phases, making it linear and less flexible to changes once a phase is completed.

Question 4. What is a disadvantage of the Waterfall model? A) High flexibility for changes B) Difficult to accommodate changes late in development C) Encourages iterative development D) Promotes early testing Answer: B Explanation: The Waterfall model’s sequential nature makes it difficult to modify requirements or design after completing earlier phases. Question 5. Which model emphasizes risk management through iterative cycles and risk analysis? A) V-Model B) Spiral Model C) Waterfall Model D) Big Bang Model Answer: B Explanation: The Spiral Model combines iterative development with risk management by repeatedly refining the project through risk analysis. Question 6. Which of the following is a core principle of Agile methodologies? A) Extensive documentation before coding B) Customer collaboration over contract negotiation C) Strict adherence to initial plans D) Sequential phase completion Answer: B

Answer: A Explanation: Lean focuses on reducing waste and delivering value efficiently throughout the development process. Question 10. What does DevOps aim to achieve? A) Isolate development and operations teams B) Automate and integrate software delivery processes C) Increase manual deployment efforts D) Limit continuous feedback Answer: B Explanation: DevOps promotes automation, continuous integration, continuous delivery, and collaboration between development and operations teams. Question 11. Which software engineering principle involves hiding internal details and exposing only necessary parts? A) Encapsulation B) Abstraction C) Modularity D) Cohesion Answer: A Explanation: Encapsulation hides internal object details and exposes a controlled interface to reduce complexity and improve security. Question 12. Which principle suggests that a module should have only one reason to change? A) Single Responsibility Principle B) Open/Closed Principle

C) Liskov Substitution Principle D) Interface Segregation Principle Answer: A Explanation: The Single Responsibility Principle states that a module or class should have only one reason to change, promoting maintainability. Question 13. Which technique is used for gathering requirements through visual prototypes? A) Brainstorming B) Observation C) Prototyping D) Interviews Answer: C Explanation: Prototyping involves creating mock-ups or early versions of software to gather feedback and clarify requirements. Question 14. What are the two main types of requirements in software engineering? A) Functional and Technical B) Explicit and Implicit C) Functional and Non-functional D) User and System Answer: C Explanation: Functional requirements describe what the system should do, while non-functional requirements specify how the system performs. Question 15. Which characteristic is essential for a well-written Software Requirements Specification (SRS)?

Question 18. What is the main goal of user interface (UI) design? A) Maximize system complexity B) Improve user efficiency and satisfaction C) Minimize usability D) Eliminate feedback mechanisms Answer: B Explanation: Good UI design aims to enhance usability, user satisfaction, and efficiency in interacting with the system. Question 19. Which coding practice involves reviewing code written by peers to find defects and improve quality? A) Pair programming B) Code review C) Static analysis D) Refactoring Answer: B Explanation: Code review involves systematic examination of code by peers to identify issues and improve code quality. Question 20. Which version control strategy involves developers working on a shared main trunk with frequent commits? A) Git Flow B) Trunk-Based Development C) Feature Branch Workflow D) Forking Workflow Answer: B

Explanation: Trunk-Based Development encourages continuous integration by committing small changes frequently to the main branch. Question 21. Which debugging technique involves examining program execution at specific points using breakpoints? A) Logging B) Tracing C) Breakpoint debugging D) Static analysis Answer: C Explanation: Breakpoint debugging pauses execution at specific points, allowing step-by-step inspection of program state. Question 22. Which refactoring technique involves renaming variables to improve code clarity? A) Extract Method B) Rename Variable C) Introduce Explaining Variable D) Inline Variable Answer: B Explanation: Renaming variables helps improve code readability and maintainability without changing functionality. Question 23. Which testing principle states that exhaustive testing is impossible? A) Pesticide Paradox B) Testing shows the presence of defects, not their absence C) Tests can only prove correctness

D) To eliminate all bugs before release Answer: A Explanation: The defect lifecycle tracks the states of a defect from identification through resolution and closure. Question 27. Which type of maintenance involves fixing defects after the system is in use? A) Corrective B) Adaptive C) Perfective D) Preventive Answer: A Explanation: Corrective maintenance addresses bugs and defects identified during or after deployment. Question 28. Which activity involves modifying a system to keep it compatible with changing environments? A) Corrective maintenance B) Adaptive maintenance C) Perfective maintenance D) Preventive maintenance Answer: B Explanation: Adaptive maintenance updates the system to adapt to environmental changes like new hardware or OS versions. Question 29. What is the primary goal of reengineering in software maintenance? A) To rewrite the entire system from scratch B) To improve system structure and performance without changing core functionality

C) To add new features D) To remove outdated components Answer: B Explanation: Reengineering involves analyzing and modifying the system to improve its structure, performance, or maintainability. Question 30. Which project estimation technique uses historical data and expert judgment to estimate effort? A) COCOMO B) Function Point Analysis C) Wideband Delphi D) All of the above Answer: D Explanation: All listed techniques use expert judgment and/or historical data to estimate project effort. Question 31. Which is a common risk management activity? A) Risk mitigation B) Risk ignoring C) Risk escalation D) Risk avoidance Answer: A Explanation: Risk mitigation involves implementing actions to reduce the likelihood or impact of risks. Question 32. Which metric measures the size of software based on the number of function points? A) Lines of Code (LOC) B) Function Points (FP)

C) Buffer Overflow D) Man-in-the-middle Answer: B Explanation: SQL Injection exploits input fields to execute malicious SQL commands, compromising databases. Question 36. Which security principle involves designing systems to prevent unauthorized access? A) Confidentiality B) Authentication C) Authorization D) All of the above Answer: D Explanation: Confidentiality, authentication, and authorization are core to securing systems against unauthorized access. Question 37. What is the purpose of Fault Tolerance in software systems? A) To eliminate all faults B) To allow continued operation despite faults C) To prevent system failures D) To reduce system performance Answer: B Explanation: Fault tolerance enables systems to continue functioning correctly even in the presence of faults. Question 38. Which phase of SDLC is primarily responsible for deploying the software to end-users? A) Testing

B) Design C) Deployment D) Maintenance Answer: C Explanation: Deployment involves releasing the software to users and ensuring it operates in the live environment. Question 39. Which model emphasizes iterative release and continuous feedback? A) Waterfall B) V-Model C) Agile D) Spiral Answer: C Explanation: Agile promotes frequent releases and continuous stakeholder feedback to adapt to changing requirements. Question 40. Which UML diagram is most suitable for modeling data structures and relationships? A) Class Diagram B) Sequence Diagram C) Activity Diagram D) State Diagram Answer: A Explanation: Class diagrams represent data structures, classes, attributes, and relationships, essential for data modeling. Question 41. Which design pattern provides a way to access the object creation process?

Question 44. Which static analysis technique examines code without executing it? A) Dynamic analysis B) Static analysis C) Profiling D) Testing Answer: B Explanation: Static analysis inspects code structure, style, and potential issues without running the program. Question 45. Which refactoring technique involves extracting a portion of code into a new method? A) Rename Variable B) Extract Method C) Inline Variable D) Introduce Explaining Variable Answer: B Explanation: Extract Method improves readability and reusability by modularizing code segments. Question 46. Which testing level verifies the entire integrated system against requirements? A) Unit Testing B) Integration Testing C) System Testing D) Acceptance Testing Answer: C Explanation: System testing validates the complete system to ensure it meets specified requirements.

Question 47. Which technique is used to identify test cases based on input-output specifications? A) Black Box Testing B) White Box Testing C) Static Analysis D) Code Review Answer: A Explanation: Black Box Testing derives test cases from specifications without analyzing internal code. Question 48. Which metric measures the complexity of a program based on control flow? A) Cyclomatic Complexity B) Lines of Code (LOC) C) Function Points D) Defect Density Answer: A Explanation: Cyclomatic Complexity quantifies the number of independent paths through code, indicating complexity. Question 49. Which activity involves analyzing system logs and monitoring tools to ensure system health? A) Testing B) Deployment C) Monitoring D) Reengineering Answer: C Explanation: Monitoring involves tracking system performance and health using logs and metrics.

Explanation: CPI measures cost efficiency by comparing earned value to actual costs. Question 53. Which type of maintenance involves improving system performance and adding features? A) Corrective B) Adaptive C) Perfective D) Preventive Answer: C Explanation: Perfective maintenance enhances functionality, performance, and maintainability. Question 54. Which security concept involves verifying the identity of users or systems? A) Authorization B) Authentication C) Confidentiality D) Integrity Answer: B Explanation: Authentication confirms the identity of users or systems attempting access. Question 55. Which phase of SDLC involves designing the system architecture and components? A) Planning B) Analysis C) Design D) Implementation Answer: C

Explanation: The Design phase specifies how the system will be built, including architecture and detailed components. Question 56. Which architectural pattern separates the user interface from business logic? A) Layered Architecture B) Client-Server C) MVC (Model-View-Controller) D) Peer-to-Peer Answer: C Explanation: MVC separates concerns by dividing the application into Model, View, and Controller components. Question 57. Which UML diagram illustrates the sequence of actions in a process? A) Class Diagram B) Sequence Diagram C) State Diagram D) Use Case Diagram Answer: B Explanation: Sequence diagrams model the sequence of interactions and messages over time. Question 58. Which design pattern provides a way to define a family of algorithms and make them interchangeable? A) Factory B) Singleton C) Strategy D) Observer