Exam Questions and CORRECT Answers
variable - CORRECT ANSWER - In a program, a ________ is a named item, such as x or
numPeople, used to hold a value.
assignment statement - CORRECT ANSWER - An ________ ________assigns a variable
with a value, such as x = 5.
variable declaration - CORRECT ANSWER - A ________ ________ declares a new
variable, specifying the variable's name and type.
integer - CORRECT ANSWER - A variable that can hold whole number values, like 1,
999, 0, or -25 (but not 3.5 or 0.001).
assignment statement - CORRECT ANSWER - assigns the variable on the left-side of the
= with the current value of the right-side expression.
expression - CORRECT ANSWER - may be a number like 80, a variable name like
numApples, or a simple calculation like numApples + 1.
identifier - CORRECT ANSWER - name created by a programmer for an item like a
variable or function.
case sensitive - CORRECT ANSWER - Identifiers are ________ ________, meaning
upper and lower case letters differ.
naming conventions - CORRECT ANSWER - A set of style guidelines defined by a
company, team, teacher, etc., for naming variables.