D278 SCRIPTING AND PROGRAMMING
FOUNDATIONS COMPREHENSIVE TEST 2026
COMPLETE SOLUTIONS 100% CORRECT
◉ =. Answer: In programming, = is an assignment of a left-side
variable with a right-side value. It does not represent equality like in
mathematics.
◉ Variable declaration. Answer: Declares a new variable, specifying
the variable's name and type.
◉ Identifier. Answer: A name created by a programmer for an item
like a variable or function. An identifier must: be a sequence of
letters (a-z, A-Z), underscores (_), and digits (0-9), AND start with a
letter or underscore.
◉ Reserved word or keyword. Answer: A word that is part of the
language, like integer, Get, or Put. A programmer cannot use a
reserved word as an identifier.
◉ Lower camel case. Answer: Abuts multiple words, capitalizing
each word except the first, such as numApples.
, ◉ Underscore separated. Answer: Words are lowercase and
separated by an underscore, such as num_apples.
◉ Expression. Answer: A combination of items, like variables,
literals, operators, and parentheses, that evaluates to a value.
Example: 2 * (x+1)
◉ Literal. Answer: A specific value in code, like 2.
◉ Operator. Answer: A symbol that performs a built-in calculation,
like the operator + which performs addition.
◉ Unary minus. Answer: The subtraction sign (-) used as a negative.
◉ Note about integer literal. Answer: Commas are not allowed, so
1,333,555 must be written as 1333555.
◉ Incremental development. Answer: 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. Answer: A real number, like 98.6, 0.0001,
or -666.667.
FOUNDATIONS COMPREHENSIVE TEST 2026
COMPLETE SOLUTIONS 100% CORRECT
◉ =. Answer: In programming, = is an assignment of a left-side
variable with a right-side value. It does not represent equality like in
mathematics.
◉ Variable declaration. Answer: Declares a new variable, specifying
the variable's name and type.
◉ Identifier. Answer: A name created by a programmer for an item
like a variable or function. An identifier must: be a sequence of
letters (a-z, A-Z), underscores (_), and digits (0-9), AND start with a
letter or underscore.
◉ Reserved word or keyword. Answer: A word that is part of the
language, like integer, Get, or Put. A programmer cannot use a
reserved word as an identifier.
◉ Lower camel case. Answer: Abuts multiple words, capitalizing
each word except the first, such as numApples.
, ◉ Underscore separated. Answer: Words are lowercase and
separated by an underscore, such as num_apples.
◉ Expression. Answer: A combination of items, like variables,
literals, operators, and parentheses, that evaluates to a value.
Example: 2 * (x+1)
◉ Literal. Answer: A specific value in code, like 2.
◉ Operator. Answer: A symbol that performs a built-in calculation,
like the operator + which performs addition.
◉ Unary minus. Answer: The subtraction sign (-) used as a negative.
◉ Note about integer literal. Answer: Commas are not allowed, so
1,333,555 must be written as 1333555.
◉ Incremental development. Answer: 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. Answer: A real number, like 98.6, 0.0001,
or -666.667.