– Exam Resources 2025 – Complete Questions with Correct,
Verified Answers (A+ Study Set)
Introduction:
This document provides the complete set of exam questions and
correct answers for WGU’s D335 Introduction to Programming (Intro
to Python) course. It includes definitions, programming concepts,
Python syntax, errors, data structures, functions, loops, and
additional applied problem-solving topics aligned with the actual
2025 assessment. The material is fully detailed, verified, and
structured for efficient preparation.
Exam Questions and Answers
runtime error --- correct precise answer ---the program attempts
an impossible operation
indentation error --- correct precise answer ---lines inside the
program are not properly indented
Value Error --- correct precise answer ---invalid value used
name error --- correct precise answer ---The program tries to use a
variable that does not exist.
,type error --- correct precise answer ---An operation uses incorrect
types - can occur if adding an integer to a string.
logic error (bug) --- correct precise answer ---program runs but
does the wrong thing
any blank space or new line --- correct precise answer ---
whitespace
= --- correct precise answer ---assigns a variable with a value
increasing variables by a value of 1 --- correct precise answer ---
incrementing
a number with a decimal point --- correct precise answer ---float( )
stub function --- correct precise answer ---A function that acts as a
placeholder and returns a simple value so another function can be
tested
statement --- correct precise answer ---a program function. each
statement appears as on its own line
, A program consists of? --- correct precise answer ---input, process,
output
A named item used to hold a value? --- correct precise answer ---
variable
Sequence of instructions that solves a problem. --- correct precise
answer ---Algorithm
program that executes python programming. --- correct precise
answer ---python intreperter or IDE
textual representation of a program --- correct precise answer ---
code
row of text --- correct precise answer ---line
indicates the interpreter is ready to accept user input --- correct
precise answer ---prompt
line of executable code --- correct precise answer ---statement