Foundations | Full 2025/2026 Real Exam
Question Exam with Answers &
Rationales
This comprehensive WGU D278 Objective Assessment (OA) for Software Engineering
Foundations provides a complete 2025/2026 real-exam–style preparation resource. It is
meticulously crafted to reflect the official WGU exam structure, ensuring alignment with
current competency standards and performance assessment goals.
The full exam set includes 200 verified questions with bolded correct answers and detailed
rationales, designed to strengthen both conceptual understanding and practical application
across key domains of software development and engineering methodology.
Exam Focus Areas:
Software Development Life Cycle (SDLC) – stages, models, and agile methodologies
Software Design Principles – modularity, abstraction, and cohesion
Programming Foundations – variables, loops, conditionals, and logic control
Object-Oriented Programming (OOP) – encapsulation, inheritance, and polymorphism
File Handling & Exception Management
Testing and Debugging Techniques
Version Control and Software Maintenance
Ethics and Professional Practices in Software Engineering
1. What does the acronym SDLC stand for?
A. Source Development Lifecycle
B. Software Development Life Cycle
C. System Deployment Life Chart
D. Software Debugging Lifecycle
Rationale: SDLC denotes the structured process used to develop
software.
2. Which SDLC phase defines what the system must do?
,A. Implementation
B. Maintenance
C. Requirements analysis
D. Deployment
Rationale: Requirements analysis gathers and documents user and
system needs.
3. Which model emphasizes short iterative cycles and frequent
stakeholder feedback?
A. Waterfall
B. Spiral
C. Agile
D. V-model
Rationale: Agile uses sprints and continuous feedback to evolve the
product.
4. In object-oriented programming, what is inheritance?
A. Hiding data from external code
B. Overriding a method name
C. A subclass acquiring properties from a parent class
D. Running code concurrently
Rationale: Inheritance lets new classes reuse and extend existing class
behavior.
5. What is encapsulation used for?
A. Speeding up code execution
B. Eliminating classes
C. Bundling data and methods and restricting direct access
D. Converting data types
Rationale: Encapsulation protects object integrity by exposing controlled
interfaces.
,6. Which loop always executes its body at least once?
A. for
B. while
C. foreach
D. do–while
Rationale: do–while evaluates the condition after executing the loop body.
7. What is a boolean data type used to represent?
A. Floating-point precision
B. Text strings
C. True/false values
D. Large integers
Rationale: Boolean stores binary logical values used in conditions.
8. What is a function’s parameter?
A. The returned value
B. An input value provided to the function
C. The function name
D. A global variable only
Rationale: Parameters supply inputs that functions use in their logic.
9. Which operator compares two values for equality in many
languages?
A. =
B. +=
C. ==
D. =>
Rationale: == (or === in some languages) is commonly the equality
comparison operator.
, 10. What is pseudocode primarily used for?
A. Compiling programs faster
B. Executing algorithms directly
C. Expressing algorithm logic in human-readable form
D. Encrypting source code
Rationale: Pseudocode outlines algorithm steps before coding.
11. Which is a high-level programming language?
A. Machine code
B. Assembly
C. Python
D. Binary
Rationale: High-level languages (like Python) abstract hardware details
for humans.
12. What is a syntax error?
A. Logical flaw producing wrong output
B. A code grammar mistake preventing compilation
C. A runtime exception only in production
D. A network configuration issue
Rationale: Syntax errors violate language rules and stop
compilation/interpreting.
13. What is unit testing?
A. Testing the entire system under load
B. Testing individual components or functions
C. Usability testing with end users
D. Database migration testing
Rationale: Unit tests validate small, isolated parts of the codebase.