WGU D278 SCRIPTING AND
PROGRAMMING - FOUNDATIONS
EXAM REVIEW QUESTIONS WITH
VERIFIED ANSWERS 2026/2027
1. Which phase of the Software Development Life Cycle (SDLC) involves defining the system’s
resource requirements and functional specifications?
A. Analysis
B. Design
C. Implementation
D. Maintenance
Answer: A
Conceptual Explanation: The Analysis phase focuses on determining the system’s goals
and requirements before the actual structure is designed.
2. What is the primary characteristic of the Waterfall model in software development?
A. Iterative and incremental progression
B. Sequential stages where each must be completed before the next
C. Emphasis on rapid prototyping and user feedback
D. Concurrent development of design and implementation
,Answer: B
Conceptual Explanation: Waterfall is a linear model where each phase flows into the next
without overlapping.
3. In programming, what is a ‘logic error’?
A. An error that prevents the program from compiling
B. An error that occurs while the program is running, causing it to crash
C. An error where the program runs but produces incorrect results
D. An error caused by incorrect syntax or grammar
Answer: C
Conceptual Explanation: Logic errors occur when the code is syntactically correct but the
underlying algorithm is flawed, leading to wrong outputs.
4. Which symbol is typically used in a flowchart to represent a decision point?
A. Rectangle
B. Oval
C. Diamond
D. Parallelogram
Answer: C
, Conceptual Explanation: A diamond represents a decision or branching point in a process
flow.
5. What is the purpose of an ‘Assignment’ statement in programming?
A. To store a value in a variable
B. To compare two values for equality
C. To declare a new function
D. To output data to the console
Answer: A
Conceptual Explanation: Assignment uses the ‘=’ operator to set the value of a variable.
6. Which of the following is an example of a ‘compiled’ language?
A. C++
B. JavaScript
C. Python
D. Ruby
Answer: A
Conceptual Explanation: C++ is compiled into machine code before execution, whereas
the others are typically interpreted.
PROGRAMMING - FOUNDATIONS
EXAM REVIEW QUESTIONS WITH
VERIFIED ANSWERS 2026/2027
1. Which phase of the Software Development Life Cycle (SDLC) involves defining the system’s
resource requirements and functional specifications?
A. Analysis
B. Design
C. Implementation
D. Maintenance
Answer: A
Conceptual Explanation: The Analysis phase focuses on determining the system’s goals
and requirements before the actual structure is designed.
2. What is the primary characteristic of the Waterfall model in software development?
A. Iterative and incremental progression
B. Sequential stages where each must be completed before the next
C. Emphasis on rapid prototyping and user feedback
D. Concurrent development of design and implementation
,Answer: B
Conceptual Explanation: Waterfall is a linear model where each phase flows into the next
without overlapping.
3. In programming, what is a ‘logic error’?
A. An error that prevents the program from compiling
B. An error that occurs while the program is running, causing it to crash
C. An error where the program runs but produces incorrect results
D. An error caused by incorrect syntax or grammar
Answer: C
Conceptual Explanation: Logic errors occur when the code is syntactically correct but the
underlying algorithm is flawed, leading to wrong outputs.
4. Which symbol is typically used in a flowchart to represent a decision point?
A. Rectangle
B. Oval
C. Diamond
D. Parallelogram
Answer: C
, Conceptual Explanation: A diamond represents a decision or branching point in a process
flow.
5. What is the purpose of an ‘Assignment’ statement in programming?
A. To store a value in a variable
B. To compare two values for equality
C. To declare a new function
D. To output data to the console
Answer: A
Conceptual Explanation: Assignment uses the ‘=’ operator to set the value of a variable.
6. Which of the following is an example of a ‘compiled’ language?
A. C++
B. JavaScript
C. Python
D. Ruby
Answer: A
Conceptual Explanation: C++ is compiled into machine code before execution, whereas
the others are typically interpreted.