SOLUTIONS 2026 GRADED A+
◉int i = 0; what is the variable . Answer: i
◉values a variable can have . Answer: program type
◉list program types . Answer: boolean ; string ; int ; double ; char
◉has a particular value at any one time during program execution, and
that value (generally) may change at other times . Answer: program
variable
◉A quantity that may change within the context of a mathematical
problem or experiment. Typically we use a single letter to represent a
variable. . Answer: Math Variable
◉example of a math variable . Answer:
◉example of a program variable . Answer:
, ◉How to declare a variable . Answer: int i;
◉example of initializing a variable . Answer: int i = 13;
◉int i = 13; what is this . Answer: initializing a variable
◉int i; . Answer: declaring a variable
◉What is the literal? . Answer: any number, text, or other information
that directly represents a value.
◉Literal example . Answer: "I"
◉How is a string literal shown . Answer: " "
◉How is a char literal shown . Answer: ' '
◉How is a boolean literal shown . Answer: true or false
◉how is an int literal shown . Answer: #
◉how is a double literal shown . Answer: #.#