.. _variables-types-glossary: Glossary -------- assignment: A statement that assigns a value to a variable. composition: The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely. declaration: A statement that creates a new variable and determines its type. expression: A combination of variables, operators and values that represents a single result value. Expressions also have types, as determined by their operators and operands. keyword: A reserved word that is used by the compiler to parse programs. Examples we have seen include int, void and endl. modulus: An operator that works on integers and yields the remainder when one number is divided by another. In C++ it is denoted with a percent sign (%). operator: A special symbol that represents a simple computation like addition or multiplication. operand: One of the values on which an operator operates. precedence: The order in which operations are evaluated. statement: A line of code that represents a command or action. So far, the statements we have seen are declarations, assignments, and output statements. type: A set of values. The types we have seen are integers (int in C++) and characters ( char in C++). variable: A named storage location for values. All variables have a type, which determines which values it can store. value: A letter, or number, or other thing that can be stored in a variable. .. tb-group:: :name: tab_check .. tb-tab:: Q1 .. tb-match:: :name: chapter_two_glossary_1 variable A named storage location. value A letter, or number, or other thing that can be stored. type A set of values. keyword A reserved word that is used by the compiler to parse programs. modulus An operator that works on integers and yields the remainder when one number is divided by another. .. tb-tab:: Q2 .. tb-match:: :name: chapter_two_glossary_2 statement A line of code that represents a command or action. declaration A statement that creates a new variable and determines its type. assignment A statement that assigns a value to a variable. expression A combination of variables, operators and values that represents a single result value. .. tb-tab:: Q3 .. tb-match:: :name: chapter_two_glossary_3 operator A special symbol that represents a simple computation. operand One of the values that is operated on. precedence The order in which operations are evaluated. composition To combine simple expressions and statements into compound statements and expressions.