WGU Scripting and Programming -
Foundations - D278 Exam|11 Q’s and
A’s
A variable ___ declares a new variable, specifying the variable's name and
type. - -A variable declaration declares a new variable, specifying the
variable's name and type.
- An ___ ___ assigns the variable on the left-side of the = with the current
value of the right-side expression. - -An assignment statement assigns the
variable on the left-side of the = with the current value of the right-side
expression.
- An ___ is a combination of items, like variables, literals, operators, and
parentheses, that evaluates to a value. - -An expression is a combination of
items, like variables, literals, operators, and parentheses, that evaluates to a
value.
- A name created by a programmer for an item like a variable or function is
called an ___ - -A name created by a programmer for an item like a variable
or function is called an identifier
- An expression is evaluated using ___ rules that follow the evaluation order
of standard mathematics. - -An expression is evaluated using precedence
rules that follow the evaluation order of standard mathematics.
- ___ ___ is the process of writing and and testing a small amount of code - -
Incremental development is the process of writing and and testing a small
amount of code
- A variable declared as type ___ stores a floating-point number - -A variable
declared as type float stores a floating-point number
- Integer variables are typically used for values that are ___. - -Integer
variables are typically used for values that are counted.
- Floating-point variables are typically used for values that are ___. - -
Floating-point variables are typically used for values that are measured.
- Programming languages typically have built-in ___ to perform common
operations needed by programmers - -Programming languages typically have
built-in functions to perform common operations needed by programmers
Foundations - D278 Exam|11 Q’s and
A’s
A variable ___ declares a new variable, specifying the variable's name and
type. - -A variable declaration declares a new variable, specifying the
variable's name and type.
- An ___ ___ assigns the variable on the left-side of the = with the current
value of the right-side expression. - -An assignment statement assigns the
variable on the left-side of the = with the current value of the right-side
expression.
- An ___ is a combination of items, like variables, literals, operators, and
parentheses, that evaluates to a value. - -An expression is a combination of
items, like variables, literals, operators, and parentheses, that evaluates to a
value.
- A name created by a programmer for an item like a variable or function is
called an ___ - -A name created by a programmer for an item like a variable
or function is called an identifier
- An expression is evaluated using ___ rules that follow the evaluation order
of standard mathematics. - -An expression is evaluated using precedence
rules that follow the evaluation order of standard mathematics.
- ___ ___ is the process of writing and and testing a small amount of code - -
Incremental development is the process of writing and and testing a small
amount of code
- A variable declared as type ___ stores a floating-point number - -A variable
declared as type float stores a floating-point number
- Integer variables are typically used for values that are ___. - -Integer
variables are typically used for values that are counted.
- Floating-point variables are typically used for values that are ___. - -
Floating-point variables are typically used for values that are measured.
- Programming languages typically have built-in ___ to perform common
operations needed by programmers - -Programming languages typically have
built-in functions to perform common operations needed by programmers