key terms Flashcards

1
Q

what is a syntax error?

A

A type of error in code which prevents it from running because it does not follow the rules of the programming language.

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

what is a logic error?

A

A type of error when a program runs but does not produce the desired result.

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

what is boundary data?

A

Test data that is on the edge between valid and invalid data.

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

what is source code?

A

Source code

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

what does initialisation mean?

A

To give the first value to a variable.

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

what are trace tables used for?

A

to ‘dry run’ a program to see the value of variables and the program output.

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

what are global variables?

A

A variable that is accessible to the entire program.

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

what are local variables?

A

A variable that is accessible only within the subprogram in which it is defined.

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

what is a run-time error?

A

An error that occurs when your program runs, such as a missing file or being out of memory.

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