WGU C173 TEST QUESTIONS WITH
DETAILED VERIFIED ANSWERS
algorithm
A sequence of instructions that solves a problem
Computational Thinking
creating a sequence of instructions to solve a problem
ASCII
American Standard Code for Information Interchange, and was developed in 1963. ASCII uses 7
bits per code, and has codes for 128 characters.
Unicode
Character encoding standard, published in 1991, whose codes can have more bits than ASCII and
thus can represent over 100,000 items, such as symbols and non-English characters.
=
An assignment of a left-side variable with a right-side value. = is NOT equality as in
mathematics. Thus, x = 5 is read as "x is assigned with 5", and not as "x equals 5"
variable declaration
Declares a new variable, specifying the variable's name and type
assignment statement
Assigns the variable on the left-side of the = with the current value of the right-side expression.
Identifier
A name created by a programmer for an item like a variable or function. Must be a sequence of
letters (a-z, A-Z), underscores (_), and digits (0-9)
start with a letter or underscore. Case sensitive.
Reserved word (or keyword)
, A word that is part of the language, like integer, Get, or Put. A programmer cannot use a
reserved word as an identifier.
Literal
Specific value in code, like 2.
Operator
A symbol that performs a built-in calculation, like the operator + which performs addition
Unary minus
- used as negative
Incremental development
The process of writing, compiling, and testing a small amount of code, then writing, compiling,
and testing a small amount more (an incremental amount), and so on.
floating-point number
A real number, like 98.6, 0.0001, or -666.667. The term "floating-point" refers to the decimal
point being able to appear anywhere ("float") in the number. A variable declared as type float
stores a floating-point number.
floating-point literal
A number with a fractional part, even if that fraction is 0, as in 1.0, 0.0, or 99.573.
function call
A statement that executes a function. It consists of the function name followed by an argument
list. Ex. SquareRoot(variable)
seed
A built in integer when no previous random integer exists for RandomNumber(). Can specify
seed random numbers with the function SeedRandomNumber() - this can only be done once in a
program before the first call to RandomNumber().
type conversion
DETAILED VERIFIED ANSWERS
algorithm
A sequence of instructions that solves a problem
Computational Thinking
creating a sequence of instructions to solve a problem
ASCII
American Standard Code for Information Interchange, and was developed in 1963. ASCII uses 7
bits per code, and has codes for 128 characters.
Unicode
Character encoding standard, published in 1991, whose codes can have more bits than ASCII and
thus can represent over 100,000 items, such as symbols and non-English characters.
=
An assignment of a left-side variable with a right-side value. = is NOT equality as in
mathematics. Thus, x = 5 is read as "x is assigned with 5", and not as "x equals 5"
variable declaration
Declares a new variable, specifying the variable's name and type
assignment statement
Assigns the variable on the left-side of the = with the current value of the right-side expression.
Identifier
A name created by a programmer for an item like a variable or function. Must be a sequence of
letters (a-z, A-Z), underscores (_), and digits (0-9)
start with a letter or underscore. Case sensitive.
Reserved word (or keyword)
, A word that is part of the language, like integer, Get, or Put. A programmer cannot use a
reserved word as an identifier.
Literal
Specific value in code, like 2.
Operator
A symbol that performs a built-in calculation, like the operator + which performs addition
Unary minus
- used as negative
Incremental development
The process of writing, compiling, and testing a small amount of code, then writing, compiling,
and testing a small amount more (an incremental amount), and so on.
floating-point number
A real number, like 98.6, 0.0001, or -666.667. The term "floating-point" refers to the decimal
point being able to appear anywhere ("float") in the number. A variable declared as type float
stores a floating-point number.
floating-point literal
A number with a fractional part, even if that fraction is 0, as in 1.0, 0.0, or 99.573.
function call
A statement that executes a function. It consists of the function name followed by an argument
list. Ex. SquareRoot(variable)
seed
A built in integer when no previous random integer exists for RandomNumber(). Can specify
seed random numbers with the function SeedRandomNumber() - this can only be done once in a
program before the first call to RandomNumber().
type conversion