Programming Fundimentals - Veriables and Constants

?
  • Created by: Dragon16
  • Created on: 03-07-20 20:47
What does a veriable do?
Veriables hold data that can be modified during the exicution of a program.
1 of 7
What is a constant?
A constant is a value that doesnt change. It cannot be modified durning the exictution of a program.
2 of 7
What are the three main steps to using veriables in programs?
Decleration, Assignment, Initialisation
3 of 7
What is decleration?
Creating space in computer memory for a veriable or constant.
4 of 7
What is an assignment?
An assignment asigns an operator to a value wich in turn sets the value to the memory space.
5 of 7
What is initialisation?
Setting the value of a veriable before proccessing.
6 of 7
What are the advantages of constants?
Constants allow programers to use the same identifyer throuout the program, making it easier to debug and maintain the quality of code.
7 of 7

Other cards in this set

Card 2

Front

What is a constant?

Back

A constant is a value that doesnt change. It cannot be modified durning the exictution of a program.

Card 3

Front

What are the three main steps to using veriables in programs?

Back

Preview of the front of card 3

Card 4

Front

What is decleration?

Back

Preview of the front of card 4

Card 5

Front

What is an assignment?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Programming resources »