Variables Flashcards

1
Q

Define

Local variable

A

A variable declared inside a function that can only be accessed from within that function.

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

Define

Global variable

A

A variable declared outside any functions that can be accessed from anywhere.

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

Define

Assignment

A

The process of storing the value of an expression in a variable

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

Define

Identifier

A

The name given to a variable, process or function. In most languages, these are comprised of letters, digits and the underscore character. They must commence with a letter

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

Define

Integer

A

One of the infinite set of the positive and negative whole numbers including zero. In any computer system, the range of allowable values is determined by the number of bytes used and the way in which the hardware represents integers.

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

Define

Floating point

A

A way of representing numbers that allows the decimal point to move freely, which allows smaller numbers to be more accurate and larger numbers to be stored.

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

Define

Binary

A

Number system in which the base is two

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

Define

Decimal

A

Number system in which the base is ten

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

Define

Hexidecimal

A

Number system in which the base is sixteen

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