topic : variables and constructs Flashcards

(4 cards)

1
Q

variable

A

the pointer to a memory address which is given a meaningful label / name, can change as program is run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

constant

A

value that remains fixed and cannot be changed while the program runs, set at the beginning of a program
normally written in all-uppercase letters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

assignment

A

supplying a value to a vaible or a constant. shown through the ‘=’ symbol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

casting

A

is converting a value entered by the user from one dataype to another e.g. from a string to a integer using the command ‘int’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly