1. Home
  2. WGU
  3. Foundations of Programming (Python) (E010) Exam

Foundations of Programming (Python) (E010) Exam Topics and Questions

Let's Practice Free WGU Foundations of Programming (Python) (E010) Questions Aligned with Official Exam Topics

Follows WGU's official outline Updated 10 Oct, 2026 5 Topics
Reviewed by William Walker, WGU Foundations-of-Programming-Python Certified Professional
Topic Content

Every Python program rests on a small set of ideas that show up in every other topic on this exam. Variables, types, and arithmetic are the foundation, and the exam tests whether you have them wired correctly at a mechanical level. Mistakes here are not conceptual gaps: they are the kind of quiet errors that produce wrong output without an obvious error message. That is exactly what makes them dangerous on a timed assessment. How Variables, Data Types, and Basic...

See More

The question below targets one of the type-conversion edge cases that trip up candidates most often in this topic.

Sample Questions for Topic 1 : Variables, Data Types, and Basic Operations
Q1

What distinguishes a terminal-based Python environment from other development environments?

Topic Content

Once you are confident about types and values, the exam moves to how your program decides what to do with them. Control flow questions look straightforward until the conditions get nested or the logical operators combine in ways that are easy to misread under time pressure. The cost of a mistake here is high because a wrong read of a compound condition can flip the entire meaning of a code block, and the exam knows this. How Control Flow and...

See More

Test your read of a compound condition with the question waiting below.

Sample Questions for Topic 2 : Control Flow and Decision Making
Q2

Complete the function add_item(numeric_list, new_number) that takes a list of numbers and a new number, and returns a new list that appends the new number to the end of the list.

For example, add_item([1, 2, 3], 4) should return [1, 2, 3, 4].

Topic Content

Control flow tells the program which path to take once; loops tell it how many times to walk that path. The shift from decision-making to iteration is where the exam starts layering concepts, because a loop body can itself contain conditions, and the loop's own control statements can exit or skip in ways that change the final state of a variable. Tracing a loop to its last iteration is a different mental skill from reading a single condition, and the...

See More

The question below puts a loop with an early-exit condition in front of you: trace it carefully before committing.

Topic Content

Loops and conditions operate on values directly; functions wrap that logic into named, reusable units. This topic is where the exam starts asking about program structure rather than just program behaviour. The questions are less about what a single expression produces and more about what happens when execution jumps into a function, does its work, and returns. Scope is the hidden variable in almost every tricky item here. How Functions and Modular Programming is tested Items present a function definition...

See More

A function call with a scope-sensitive variable is waiting below: work through what each frame holds before you answer.

Topic Content

Functions give you a way to organise logic; data structures give you a way to organise information. This final topic pulls together the practical side of Python programming: storing collections of values, reading from a user or a file, and producing output. Items here often combine several earlier skills at once, making this the topic where gaps from any previous area tend to surface in a new form. How Data Structures and Input/Output is tested Items on lists, tuples, and...

See More

The question below draws on data structure behaviour that is easy to misremember under pressure: read the code carefully before selecting.

Ready to Start Practicing?

Access all questions and start your exam preparation journey

Upgrade to Full Foundations of Programming (Python) (E010) Exam Questions 🚀
Exams Made Simple. Success Made Possible.