2.2 Programming Fundamentals Flashcards

1
Q

Variable -

A

A named container that stores a value in RAM that CAN change.

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

Constant -

A

A value that CANNOT change

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

Data types -

A

Type of data stored in a variable

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

String -

A

Alphanumeric characters

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

Integer -

A

Whole numbers

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

Real/float

A

Decimal numbers

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

Boolean -

A

TRUE or FALSE

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

Binary shifts

A

1 shift left = x2.
1 shift right = x1/2

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

Sequence -

A

Each step is executed in the order that it is written. All algorithms are made up of at least a basic sequence of instructions.

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

Selection -

A

Controls the flow of an algorithm by checking whether a condition is met or not before determining which steps should follow.

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

Iteration -

A

Controls the flow of an algorithm by repeating a set of instructions either for a fixed number of time or whilst a set condition is met.

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

Casting -

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