Docsity

CSDP Practice Exam Questions and Answers 2026, Exams of Software Development

Toggle sidebar
bg1
CERTIFIED SOFTWARE DEVELOPMENT
PROFESSIONAL (CSDP) PRACTICE EXAM
QUESTION AND CORRECT ANSWERS
(VERIFIED ANSWERS) PLUS RATIONALES
2026 Q&A INSTANT DOWNLOAD PDF
1. What is the primary purpose of software requirements specification (SRS)?
A. To provide test plans
B. To define what the system should do
C. To outline coding standards
D. To schedule project tasks
Rationale: The SRS documents functional and non-functional requirements
that describe what the system will do.
2. Which model emphasizes iterative refinement through repeated passes?
A. Waterfall
B. Spiral
C. V-Model
D. Big Bang
Rationale: The Spiral model focuses on iterative risk analysis and
refinement through cycles.
3. What does UML stand for?
A. Unified Modeling Language
B. Universal Modeling List
C. Unified Modeling Language
D. User Managed Logic
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download CSDP Practice Exam Questions and Answers 2026 and more Exams Software Development in PDF only on Docsity!

CERTIFIED SOFTWARE DEVELOPMENT

PROFESSIONAL (CSDP) PRACTICE EXAM

QUESTION AND CORRECT ANSWERS

(VERIFIED ANSWERS) PLUS RATIONALES

2026 Q&A INSTANT DOWNLOAD PDF

  1. What is the primary purpose of software requirements specification (SRS)? A. To provide test plans B. To define what the system should do C. To outline coding standards D. To schedule project tasks Rationale: The SRS documents functional and non-functional requirements that describe what the system will do.
  2. Which model emphasizes iterative refinement through repeated passes? A. Waterfall B. Spiral C. V-Model D. Big Bang Rationale: The Spiral model focuses on iterative risk analysis and refinement through cycles.
  3. What does UML stand for? A. Unified Modeling Language B. Universal Modeling List C. Unified Modeling Language D. User Managed Logic

Rationale: UML is a standard language for specifying, visualizing, and documenting models of software systems.

  1. Which of the following is NOT an Agile principle? A. Customer collaboration B. Responding to change C. Comprehensive documentation over working software D. Frequent delivery of software Rationale: Agile values working software over comprehensive documentation.
  2. What is cyclomatic complexity used for? A. Estimating project cost B. Measuring program’s control complexity C. Scheduling resources D. Assessing team productivity Rationale: Cyclomatic complexity measures the number of linearly independent paths in code.
  3. What is the main goal of configuration management? A. Project marketing B. Control changes and maintain integrity of artifacts C. Hiring new developers D. Creating design documents Rationale: Configuration management tracks and controls changes to software artifacts.
  4. Which testing technique is based on the code structure? A. Black-box B. White-box C. Exploratory D. Acceptance Rationale: White-box testing derives tests from internal code structure.

D. Encapsulation Rationale: Low coupling reduces interdependencies among modules. 13.What does a use case describe? A. Code layout B. System behavior as it responds to requests C. Project budget D. Test schedules Rationale: Use cases describe interactions between actors and the system. 14.Which is a software quality characteristic? A. Cost B. Reliability C. Marketing strategy D. Salary scale Rationale: Reliability measures consistent performance of software under specified conditions. 15.What is pair programming? A. Solo coding B. Two programmers working together at one station C. Remote deployment D. Code review by team lead Rationale: Pair programming has two people collaborate at one workstation. 16.Which diagram depicts classes and relationships? A. Sequence diagram B. Activity diagram C. Class diagram D. Deployment diagram Rationale: Class diagrams illustrate static structure and relationships of classes.

17.What is refactoring? A. Writing tests B. Improving code structure without changing behavior C. Adding features D. Debugging memory leaks Rationale: Refactoring improves readability and maintainability while preserving functionality. 18.What is black-box testing focused on? A. Internal code B. External behavior/output C. Memory leaks D. CPU usage Rationale: Black-box testing verifies software behavior without internal knowledge. 19.Which activity is part of validation? A. Static analysis B. System testing C. Code optimization D. Peer programming Rationale: Validation ensures the product meets user needs via testing. 20.What is software maintenance? A. Initial deployment B. Modification after delivery C. Requirements gathering D. Design review Rationale: Maintenance includes bug fixes, enhancements post-delivery. 21.What does “scope creep” refer to? A. Budget cuts B. Uncontrolled growth in project scope C. Accelerated schedule D. Team expansion

C. Lines of code D. Coupling Rationale: Defect density measures defects per unit size of software. 27.What is continuous integration? A. One-time test execution B. Frequent automated merging of code changes C. Manual builds D. Separate branch releases Rationale: CI integrates code frequently with automated builds/tests. 28.Which testing verifies individual units? A. System B. Unit C. Acceptance D. Integration Rationale: Unit tests verify smallest testable components. 29.What is function point analysis used for? A. Code refactoring B. Estimating software size C. Agile ceremonies D. Test case design Rationale: Function points measure functionality from user perspective. 30.What is the purpose of version control? A. Manage budget B. Track changes to code C. Write documentation D. Schedule team meetings Rationale: Version control tracks and manages code revisions. 31.What model places testing at each development stage? A. Spiral B. Iterative

C. V-Model D. Waterfall Rationale: V-Model aligns testing with corresponding development phases. 32.What is the main benefit of modularity? A. Higher cost B. Easier maintenance C. Longer schedule D. Cultural change Rationale: Modularity isolates changes and reduces complexity. 33.What is boundary value analysis? A. Code inspection B. Test at edge values C. Risk analysis D. Version control Rationale: Boundary testing verifies behavior at input limits. 34.What is a test oracle? A. Tool to execute code B. Mechanism to determine expected results C. Integration server D. Defect tracker Rationale: Oracle provides expected outcome for tests. 35.What does SOA stand for? A. Service Oriented Architecture B. Service-Oriented Architecture C. Software Optimization Algorithm D. System Operational Analysis Rationale: SOA designs software as interoperable services. 36.What is pairwise testing? A. Solo testing

B. Waterfall C. Scrum D. Spiral Rationale: Scrum organizes work into fixed-length sprints for iterative delivery. 42.What is the main goal of software inspection? A. Execute code B. Detect defects early without execution C. Automate deployment D. Track project cost Rationale: Inspections are reviews that identify defects before testing. 43.What is a use case diagram used for? A. Database normalization B. Model system interactions with actors C. Performance testing D. Version control Rationale: Use case diagrams visually represent actors and their interactions with the system. 44.Which design pattern ensures only one instance of a class exists? A. Factory B. Observer C. Singleton D. Strategy Rationale: The Singleton pattern restricts instantiation to one object. 45.What is a software metric? A. Programming language B. Measure of software attributes C. Requirement specification D. IDE tool Rationale: Metrics quantify characteristics such as size, complexity, or quality.

46.Which is a key benefit of code reviews? A. Faster coding B. Early defect detection C. Reduced testing D. Marketing advantage Rationale: Reviews detect defects early, improving code quality. 47.What does SDLC stand for? A. Software Development Learning Cycle B. System Design Lifecycle C. Software Development Life Cycle D. Software Deployment Lifecycle Rationale: SDLC is a process for developing software from requirements to maintenance. 48.Which testing type focuses on user requirements? A. Unit B. Acceptance C. Integration D. Regression Rationale: Acceptance testing ensures software meets user expectations. 49.What is the purpose of a design pattern? A. Execute code faster B. Provide reusable solution to common problems C. Measure lines of code D. Track schedule Rationale: Design patterns offer standard, proven solutions for recurring design issues. 50.Which process model is most suitable for high-risk projects? A. Waterfall B. Incremental C. Spiral

55.What is software portability? A. Fast execution B. Ability to run on different platforms C. High reliability D. Security compliance Rationale: Portable software can operate across multiple environments with minimal changes. 56.What is meant by software scalability? A. User-friendly interface B. Ability to handle increasing workload C. Security standard D. Faster coding Rationale: Scalability allows software to maintain performance under growth. 57.Which testing verifies integrated modules? A. Unit B. Integration C. Acceptance D. System Rationale: Integration testing ensures that combined modules work together. 58.What is a defect density metric? A. Cost per module B. Number of defects per unit size C. Lines of code D. Test cases executed Rationale: Defect density quantifies software quality by measuring defects relative to size. 59.What is the main purpose of software versioning? A. Reduce defects B. Track changes and release history

C. Schedule resources D. Test software Rationale: Versioning identifies and manages different releases of software artifacts. 60.What is the primary goal of software reliability engineering? A. Marketing B. Ensure software performs consistently under specified conditions C. Reduce cost D. Increase lines of code Rationale: Reliability engineering improves stability, uptime, and fault tolerance. 61.Which is NOT a software quality factor according to ISO/IEC 25010? A. Maintainability B. Security C. Salary D. Performance efficiency Rationale: Salary is unrelated to software quality; ISO/IEC 25010 defines standard quality attributes. 62.What is software configuration item (CI)? A. Programming language B. Any component under configuration management C. User requirement D. Test case Rationale: CIs include documents, code, and components tracked under CM. 63.Which testing focuses on non-functional attributes? A. Unit B. Performance C. Integration D. Regression

B. Identify defects in artifacts C. Schedule resources D. Deploy software Rationale: Inspection meetings review artifacts to find defects early. 69.Which is a key characteristic of object-oriented design? A. Sequential execution B. Encapsulation, inheritance, polymorphism C. Procedural calls D. Text-based requirements Rationale: OO design uses classes, objects, and relationships for modularity. 70.What is meant by software maintainability? A. User interface style B. Ease of modification and correction C. Security compliance D. Cost reduction Rationale: Maintainable software is easier to update, fix, and enhance. 71.Which Agile role is responsible for maximizing product value? A. Scrum Master B. Development Team C. Product Owner D. Stakeholder Rationale: Product Owner prioritizes features to deliver maximum value. 72.What is the main goal of system testing? A. Compile code B. Validate the complete integrated system C. Write documentation D. Refactor modules Rationale: System testing verifies that all components work together correctly.

73.Which UML diagram shows system behavior over time? A. Class diagram B. Sequence diagram C. Deployment diagram D. Component diagram Rationale: Sequence diagrams model interactions among objects chronologically. 74.Which activity is part of software validation? A. Code inspection B. Acceptance testing C. Version control D. Configuration management Rationale: Validation ensures the software meets user needs. 75.What does DRY stand for in coding? A. Do Repeat Yourself B. Delete Redundant YAML C. Don’t Repeat Yourself D. Debug Read Your code Rationale: DRY promotes avoiding duplication to improve maintainability. 76.What is the purpose of a deployment diagram? A. Object interactions B. Physical hardware and software mapping C. Sequence of messages D. Testing schedule Rationale: Deployment diagrams illustrate software components on hardware nodes. 77.Which testing type evaluates software under anticipated load? A. Unit B. Performance C. Integration D. Acceptance

B. Class C. Component D. Activity Rationale: Component diagrams depict software modules and dependencies. 83.Which is an example of preventive maintenance? A. Fixing a reported bug B. Updating software to prevent future failures C. Rewriting requirements D. Deploying new features Rationale: Preventive maintenance reduces likelihood of future defects. 84.What is software quality assurance (SQA)? A. Writing code B. Planned activities ensuring quality standards C. Deployment only D. Project marketing Rationale: SQA encompasses processes to ensure software meets quality requirements. 85.Which metric assesses code complexity? A. Function points B. Cyclomatic complexity C. Project cost D. Lines of documentation Rationale: Cyclomatic complexity measures the number of independent paths through code. 86.Which is a key Agile ceremony? A. Code refactoring B. Daily stand-up C. Integration testing D. System deployment

Rationale: Daily stand-ups facilitate team communication and progress updates. 87.What is the main purpose of version control branching? A. Delete files B. Develop features in isolation C. Execute code D. Schedule tasks Rationale: Branching allows parallel development without affecting main codebase. 88.What is meant by software usability? A. Speed B. Ease of use and learning C. Security D. Portability Rationale: Usability measures how effectively users can operate the software. 89.Which principle advocates “favor composition over inheritance”? A. Polymorphism B. Composition C. Encapsulation D. Abstraction Rationale: Composition allows combining behaviors without deep inheritance hierarchies. 90.What is the purpose of a risk register? A. Test plan B. Document listing identified risks and mitigation plans C. Code repository D. Deployment schedule Rationale: Risk registers track potential issues and response strategies.