WGU D278 SCRIPTING AND
PROGRAMMING FOUNDATIONS FINAL
ASSESSMENT QUESTIONS WITH
VERIFIED ANSWERS AND DETAILED
EXPLANATIONS. 2026/2027
1. Which phase of the Software Development Life Cycle (SDLC) involves creating a detailed
blueprint of the software’s architecture and user interface?
A. Requirements Analysis
B. Implementation
C. Design
D. Testing
Answer: C
Conceptual Explanation: The Design phase is where the logical and physical specifications
of the system are developed before coding begins.
2. In a flowchart, which shape represents a decision point that typically has two paths
(True/False)?
A. Rectangle
B. Diamond
,C. Parallelogram
D. Oval
Answer: B
Conceptual Explanation: A diamond shape indicates a decision or branch in the logic of
the algorithm.
3. Which of the following is a primary characteristic of a compiled language compared to an
interpreted language?
A. It is generally slower in execution speed.
B. It executes code line by line at runtime.
C. It does not require a translation step.
D. It converts code to machine language before execution.
Answer: D
Conceptual Explanation: Compilers translate the entire source code into machine code or
bytecode before the program runs, leading to faster execution.
4. What is the result of the expression (17 % 5) in most programming languages?
A. 2
B. 3
C. 1
, D. 0
Answer: A
Conceptual Explanation: The modulo operator (%) returns the remainder of the division.
17 divided by 5 is 3 with a remainder of 2.
5. Which variable name follows the standard ‘camelCase’ convention?
A. Total_score
B. totalscore
C. totalScore
D. TotalScore
Answer: C
Conceptual Explanation: camelCase starts with a lowercase letter and capitalizes the first
letter of each subsequent word.
6. In programming, what is the difference between a constant and a variable?
A. Constants can only store integers.
B. Constants cannot be modified after their initial assignment.
C. Variables cannot be changed once assigned.
D. Variables are only used in mathematical operations.
Answer: B
PROGRAMMING FOUNDATIONS FINAL
ASSESSMENT QUESTIONS WITH
VERIFIED ANSWERS AND DETAILED
EXPLANATIONS. 2026/2027
1. Which phase of the Software Development Life Cycle (SDLC) involves creating a detailed
blueprint of the software’s architecture and user interface?
A. Requirements Analysis
B. Implementation
C. Design
D. Testing
Answer: C
Conceptual Explanation: The Design phase is where the logical and physical specifications
of the system are developed before coding begins.
2. In a flowchart, which shape represents a decision point that typically has two paths
(True/False)?
A. Rectangle
B. Diamond
,C. Parallelogram
D. Oval
Answer: B
Conceptual Explanation: A diamond shape indicates a decision or branch in the logic of
the algorithm.
3. Which of the following is a primary characteristic of a compiled language compared to an
interpreted language?
A. It is generally slower in execution speed.
B. It executes code line by line at runtime.
C. It does not require a translation step.
D. It converts code to machine language before execution.
Answer: D
Conceptual Explanation: Compilers translate the entire source code into machine code or
bytecode before the program runs, leading to faster execution.
4. What is the result of the expression (17 % 5) in most programming languages?
A. 2
B. 3
C. 1
, D. 0
Answer: A
Conceptual Explanation: The modulo operator (%) returns the remainder of the division.
17 divided by 5 is 3 with a remainder of 2.
5. Which variable name follows the standard ‘camelCase’ convention?
A. Total_score
B. totalscore
C. totalScore
D. TotalScore
Answer: C
Conceptual Explanation: camelCase starts with a lowercase letter and capitalizes the first
letter of each subsequent word.
6. In programming, what is the difference between a constant and a variable?
A. Constants can only store integers.
B. Constants cannot be modified after their initial assignment.
C. Variables cannot be changed once assigned.
D. Variables are only used in mathematical operations.
Answer: B