Scripting & Programming Foundations | Questions,
Answers & Detailed Rationales 2026
RESOURCE FEATURES
➢ WGU D278 Final Exam 2026 study guide
➢ Scripting & Programming Foundations practice questions
➢ Questions and answers
➢ Detailed explanations and rationales
, WGU D278 Scripting & Programming
Foundations | Questions, Answers &
Detailed Rationales 2026
Question 1
What are the three main steps a program performs?
A) Input, process, output
B) Read, write, delete
C) Compile, run, debug
D) Analyze, design, implement
Answer: A
Rationale: The document states that a program: (1) gets data (input),
(2) performs computations on data (process), and (3) puts that data
somewhere (output). These are the three fundamental operations of
any program.
Question 2
What is a variable?
,A) A fixed value that never changes
B) A named item such as x or numPeople that holds a value
C) A type of loop
D) A programming language
Answer: B
Rationale: A variable is defined as a "named item such as x or
numPeople to hold a value." Variables allow programs to store and
manipulate data.
Question 3
What is programming best defined as?
A) Writing code in a specific language
B) Problem solving
C) Debugging errors
D) Designing user interfaces
Answer: B
Rationale: The document defines programming as "problem solving."
This emphasizes that programming is fundamentally about finding
solutions to problems, with code being the tool to implement those
solutions.
, Question 4
What is Coral?
A) A type of database
B) A super simple programming language
C) A hardware component
D) An operating system
Answer: B
Rationale: Coral is described as a "super simple programming
language." It is used as a teaching tool to introduce programming
concepts without complex syntax.
Question 5
Which data type represents a whole number?
A) String
B) Boolean
C) Integer
D) Float
Answer: C
Rationale: An integer is defined as a "whole number." Strings are