WGU C173 Scripting and Programming – Foundations
OA ACTUAL EXAM 2025/2026 COMPLETE QUESTIONS
WITH CORRECT DETAILED ANSWERS || 100%
GUARANTEED PASS <RECENT VERSION>
Object-oriented language .......Answer.........Supports
decomposing a program into objects. C++, Java, Python, and
C# provide extensive object-oriented support. In fact, the ++ in
C++ suggests C++ is better than C, due in large part to
supporting objects. C does not. MATLAB and Javascript provide
some support.
Markup language .......Answer.........Allows a developer to
describe a document's content, desired formatting, or other
features. A popular markup language is HTML. *HTML* allows a
developer to describe the text, links, images, and other features
,age 2 of 36
of a web page. While some people refer to "HTML
programming", a markup language is not executed statement-
by-statement like a programming language, and an HTML file is
not a program. Rather, a web browser reads an HTML file and
renders the corresponding web page. An HTML file surround
text by different tags to yield different formatting.
Library .......Answer.........A set of pre-written functions (and other
terms) that carry out common tasks that a programmer can use
to improve productivity. After including a library with a
program, a programmer can make use of the library's functions.
A library's functions typically all relate to the same purpose, like
computing statistics, or like displaying graphics. A programmer
may include several libraries in a single program.
,age 3 of 36
Editor .......Answer.........allows you to write code
Compiler .......Answer.........Turns programming language into
computer language
Interpreter .......Answer.........Same as compiler, but converts code
one step at a time instead of the entire program at once
Operator .......Answer.........An object that takes two operands
and does something with them
Expression .......Answer.........Something that has value
Terminal vs non-terminal expression .......Answer.........Terminal is a
final value, non-terminal can be reduced further
Proper Python expression grammar .......Answer.........Expression
> expression operator expression
, age 4 of 36
Variable .......Answer.........A name that refers to a value
String .......Answer.........Text surrounded by quotes
Integer .......Answer.........A number
Boolean .......Answer.........A true or false value
Programming grammar .......Answer.........Language rules, returns
a syntax error if not followed
Change variable value .......Answer.........Using an = assigns a
new value
Indexing a string .......Answer.........Selecting a sub-sequence of a
string
Slicing a string .......Answer.........Obtaining a subset of data from
a string