1. Home
  2. WGU
  3. Scripting and Programming Foundations (D278) Exam

Scripting and Programming Foundations (D278) Exam Topics and Questions

Let's Practice Free WGU Scripting and Programming Foundations (D278) Questions Aligned with Official Exam Topics

Follows WGU's official outline Updated 11 Oct, 2026 4 Topics
Reviewed by Daniel Young, WGU Scripting-and-Programming-Foundations Certified Professional
Topic Content

This topic puts you in the position of matching a scripting or programming approach to a stated need. The exam is not asking you to write code from scratch; it is asking whether you can look at a requirement and identify which type of script, language category, or automation tool fits it. That distinction trips up candidates who study syntax but never step back to think about why a particular tool exists in the first place. The examinable skill here...

See More

The question below tests your ability to match a described requirement to the right scripting category. Work through the scenario carefully before choosing.

Sample Questions for Topic 1 : Identifying Scripts for Computer Program Requirements
Q1

Which term refers to a function that represents the number of fixed-size memory units used for an input of a given size?

Topic Content

Where the previous topic asks you to choose a tool, this one asks you to read code-like logic and trace what it produces. The word "simple" in the topic name is not a promise of easy marks; it means the algorithms are short enough to trace by hand, which is exactly what the exam expects you to do. Candidates who try to pattern-match to a remembered answer instead of actually tracing execution are the ones who get this wrong. The...

See More

The question below presents a short algorithm. Trace it step by step rather than reading for general shape, and you will be in good position to answer.

Sample Questions for Topic 2 : Explaining Logic and Outcomes of Simple Algorithms
Q2

Which action occurs the design phase of an agile process?

Topic Content

After tracing algorithms in the previous topic, this topic pulls back to the conceptual layer that underlies every scripting and programming decision you will make. It covers the vocabulary and mental models that programmers use before they write a single line: data types, variables, operators, the difference between compiled and interpreted execution, and the relationship between source code and a running process. The risk here is assuming you already know this material because you have written code before. Practical experience...

See More

The question below targets a foundational concept from this topic. Think about the precise behaviour being described, not just the term.

Topic Content

This topic is where the conceptual groundwork from earlier topics meets applied execution. You are expected to demonstrate that you can use programming elements correctly: control structures, functions, input and output operations, and basic data structures. The shift from "explain" to "use" is deliberate. Items here are less likely to ask you to define a loop and more likely to show you one and ask what it does, or show you a broken one and ask what is wrong. Candidates...

See More

The question below draws on one of the fundamental elements covered in this topic. Read any code or logic carefully before selecting your answer.

Ready to Start Practicing?

Access all questions and start your exam preparation journey

Upgrade to Full Scripting and Programming Foundations (D278) Exam Questions 🚀
Exams Made Simple. Success Made Possible.