1/8
Flashcards covering key vocabulary and concepts from the lecture on variables, data types, and constants in programming.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Variable
A space in memory that is given a name used to store, change, and read data.
Data Type
A classification of data that tells a computer program what type of data to use.
Real Data Type
Used for numbers that include decimal points, e.g., 22.5.
Integer Data Type
Used for whole numbers, e.g., 12.
String Data Type
Used for any combination of letters, numbers, and symbols, e.g., 'hello', '123'.
Boolean Data Type
A data type that can only have two values: true or false.
Flag
A Boolean variable that indicates whether an event has occurred.
Constant
A value that does not change during the execution of a program.
Declaration
A statement that specifies the name and value of a constant or variable.