Karteikarten
Unit 1, Lesson 2: Programming Basics (Part 2)
Karten in diesem Stapel (5)
- 1VariableAn item of data whose value could change while the program is being run
- 2DeclarationThe process of defining variables and constants in terms of their name and data type
There are two parts to a declaration:
1. A suitable name;
2. The data type that will be used. - 3AssignmentThe process of giving a value to a variable or constant. Assigning a value to the memory location; typically an = sign will be used
- 4Memory AddressMemory address: A specific location in memory where instructions or data are stored
- 5Variables vs ConstantsThe value of a variable can be changed while the program is running whereas the value of a constant is fixed for the duration of a program and cannot be changed