WGU C173 Version 3 Language Agnostic
with Complete Solutions
Agile or spiral approach - ANSWER-A program can be built by doing small amounts of
each SDLC phases in sequence, then repeating.
algorithm - ANSWER-Sequence of steps that solves a program, generating correct
output for any valid input values.
Algorithm time efficiency - ANSWER-The number of calculations required to solve a
problem.
Analysis - ANSWER-First step in the waterfall approach. Defines a program's goals.
Argument - ANSWER-A value provided to a function's parameter during a function call.
Arguments - ANSWER-Any function input values that appear within ( ), and are
separated by commas if more than one.
Array - ANSWER-A special variable having one name, but storing a list of data items,
with each item being directly accessible.
ASCII - ANSWER-American Standard Code for Information Interchange. Code that is
the numerical representation of a character. Ex. Z would be stored in a computer as
1011010.
assignment statement - ANSWER-Assigns a variable with a value, such as X=5.
behavioral diagrams - ANSWER-UML diagrams used to design dynamic elements of a
program
binary number - ANSWER-using base two numbers, 0 and 1
bit - ANSWER-A single 0 or 1.
Boolean - ANSWER-Type that has just two values: true or false.
Branch - ANSWER-A sequence of statements only executed under a certain condition.
byte - ANSWER-Eight bits. Ex. 11000101
Characters - ANSWER-Any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.).
class diagram - ANSWER-models the objects of a program
, comment - ANSWER-Text a programmer adds to a program, to be read by humans
(other programmers), but ignored by the program when executing.
compiled language - ANSWER-A program written in a compiled language is first
converted by a tool (compiler) into machine code, which can run on a particular
machine. Ex. C, C++, and Java.
constant - ANSWER-A named value item that holds a value that cannot change.
Design - ANSWER-The second step in the waterfall approach of SDLC. Defines
specifics of a program.
Divide-by-zero error - ANSWER-Occurs at runtime if a divisor is 0, causing a program to
terminate.
do-while loop - ANSWER-Loop that first executes the loop body's statements, then
checks the loop condition.
Element - ANSWER-Each item in an array.
Epsilon - ANSWER-The difference threshold indicating that floating-point numbers are
equal.
Equality operator - ANSWER-Checks whether two operands' values are the same (==)
or different(!=).
Expression - ANSWER-Can be a number, a variable name (numApples), or a simple
calculation like (numApples + 1).
Floating-point literal - ANSWER-A number with a fractional part, even if that fraction is
0.
floating-point number - ANSWER-Refers to the decimal point being able to appear
anywhere ("float") in the number. Ex. 98.6, 0.0006.
flowchart - ANSWER-A graphical language for creating computer programs.
for loop - ANSWER-A loop consisting of a loop variable initialization, a loop expression,
and a loop variable update that typically describes iterating for a specific number of
times.
Function - ANSWER-A list of statements executed by invoking the function's name, with
such invoking know as a function call.
function - ANSWER-A named list of statement
with Complete Solutions
Agile or spiral approach - ANSWER-A program can be built by doing small amounts of
each SDLC phases in sequence, then repeating.
algorithm - ANSWER-Sequence of steps that solves a program, generating correct
output for any valid input values.
Algorithm time efficiency - ANSWER-The number of calculations required to solve a
problem.
Analysis - ANSWER-First step in the waterfall approach. Defines a program's goals.
Argument - ANSWER-A value provided to a function's parameter during a function call.
Arguments - ANSWER-Any function input values that appear within ( ), and are
separated by commas if more than one.
Array - ANSWER-A special variable having one name, but storing a list of data items,
with each item being directly accessible.
ASCII - ANSWER-American Standard Code for Information Interchange. Code that is
the numerical representation of a character. Ex. Z would be stored in a computer as
1011010.
assignment statement - ANSWER-Assigns a variable with a value, such as X=5.
behavioral diagrams - ANSWER-UML diagrams used to design dynamic elements of a
program
binary number - ANSWER-using base two numbers, 0 and 1
bit - ANSWER-A single 0 or 1.
Boolean - ANSWER-Type that has just two values: true or false.
Branch - ANSWER-A sequence of statements only executed under a certain condition.
byte - ANSWER-Eight bits. Ex. 11000101
Characters - ANSWER-Any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.).
class diagram - ANSWER-models the objects of a program
, comment - ANSWER-Text a programmer adds to a program, to be read by humans
(other programmers), but ignored by the program when executing.
compiled language - ANSWER-A program written in a compiled language is first
converted by a tool (compiler) into machine code, which can run on a particular
machine. Ex. C, C++, and Java.
constant - ANSWER-A named value item that holds a value that cannot change.
Design - ANSWER-The second step in the waterfall approach of SDLC. Defines
specifics of a program.
Divide-by-zero error - ANSWER-Occurs at runtime if a divisor is 0, causing a program to
terminate.
do-while loop - ANSWER-Loop that first executes the loop body's statements, then
checks the loop condition.
Element - ANSWER-Each item in an array.
Epsilon - ANSWER-The difference threshold indicating that floating-point numbers are
equal.
Equality operator - ANSWER-Checks whether two operands' values are the same (==)
or different(!=).
Expression - ANSWER-Can be a number, a variable name (numApples), or a simple
calculation like (numApples + 1).
Floating-point literal - ANSWER-A number with a fractional part, even if that fraction is
0.
floating-point number - ANSWER-Refers to the decimal point being able to appear
anywhere ("float") in the number. Ex. 98.6, 0.0006.
flowchart - ANSWER-A graphical language for creating computer programs.
for loop - ANSWER-A loop consisting of a loop variable initialization, a loop expression,
and a loop variable update that typically describes iterating for a specific number of
times.
Function - ANSWER-A list of statements executed by invoking the function's name, with
such invoking know as a function call.
function - ANSWER-A named list of statement