2.2 - programming fundamentals Flashcards

1
Q

Variable

A

A named value in which data can be stored by a computer program. The data can be changed as the program runs.

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

Constant

A

A named value which is accessed by a computer program but is fixed and cannot be changed.

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

Operator

A

Operators compare or modify values in computer code. Examples include + and NOT

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

Assignment

A

The process of placing a value in to a variable.

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

Sequence

A

Following through a set of steps in a particular order.

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

Selection

A

Taking different paths through the code depending on a condition.

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

Iteration

A

repeating a set of steps several times

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

Count controlled loop

A

Using a counter to loop through one or more lines of code until they have been run a certain number of times.

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

Condition controlled loop

A

Using a loop to repeat one or more lines of code until a certain condition is met.

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

arithmetic operator

A

An operator which uses maths to modify numbers such as +

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

Boolean operator

A

An operator which uses a logical criteria to compare two values such as < or AND

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

Integer

A

A whole number without a decimal point or fraction. E.g. 1, 100 or 88122

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

Real

A

A number which may include a decimal point such as 11.2

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

Boolean

A

A value which can be only TRUE or FALSE.

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

Character

A

A single symbol, for example a letter, number or punctuation mark.

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

string

A

A number of characters together, usually to form a word or sentence.

17
Q

casting

A

The process of converting a value from one data type to another data type

18
Q

String manipulation

A

A broad term for a number of ways to change or modify strings.

19
Q

Concatenation

A

The process of joining two or more strings together

20
Q

slicing

A

The process of splitting a string into two or more parts

21
Q

file handling

A

Ways in which computer code can interact with files on the computer’s disk, such as opening them or writing data to them.

22
Q

record

A

A single row or related information in a database table

23
Q

table

A

A group of records and fields stored together in a database.

24
Q

Field

A

A part of a record in the database which stores specific information such as a name or address.

25
Q

SQL

A

Structured Query Language. A programming language designed to be used with databases.

26
Q

array

A

A set of data items stored together with a single name and accessed by a
program.

27
Q

sub program

A

A smaller part of the program which performs a specific task.

28
Q

function

A

A sub program which performs a specific tasks and always returns a specific value when run.

29
Q

procedure

A

A sub program which performs a specific task but does not always return
a value.

30
Q

Random number

A

A number generate by computer at random.