IDE (integrated development environment) Flashcards

1
Q

Editor

A

Allows a programmer to enter, format and edit source code

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

Compiler

A

Converts source code into executable machine code. Once compiled, a program can
be run at any time

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

Interpreter

A

Converts each line of source code into machine code, and executes it as each line of
code is run. The conversion process is performed each time the program needs to be
run

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

Linker

A

A program which allows previously compiled code, from software libraries, to be
linked together

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

Loader

A

A program which loads previously compiled code into memory

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

Debugger

A

A program which helps locate, identify and rectify errors in a program

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

Trace

A

A facility which displays the order in which the lines of a program are executed, and
possibly the values of variables as the program is being run

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

Break point

A

A facility which interrupts a program on a specific line of code, allowing the
programmer to compare the values of variables against expected values. The
program code can then usually be executed one line at a time. This is called single-
stepping

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

Variable watch

A

A facility that displays the current value of any variable. The value can be ‘watched’
as the program code is single-stepped to see the effects of the code on the variable.
Alternatively a variable watch may be set, which will interrupt the program flow if
the watched variable reaches a specified value

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

Memory inspector

A

A facility which will display the contents of a section of memory

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

Error diagnostics

A

Used when a program fails to compile or to run. Error messages are displayed to
help the programmer diagnose what has gone wrong

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

Program compilation order: (translator)

A
Lexical analysis
Syntax analysis
Semantic analysis
Code generation
Optimisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Lexical analysis

A
  • Comments and unneeded spaces are removed.
  • Keywords, constants and identifiers are replaced by ‘tokens’.
  • A symbol table is created which holds the addresses of variables, labels and subroutines.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Syntax analysis

A
  • Tokens are checked to see if they match the spelling and grammar expected, using standard language definitions. This is done by parsing each token to determine if it uses the correct syntax for the programming language.
  • If syntax errors are found, error messages are produced.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Semantic analysis

A

• Variables are checked to ensure that they have been properly declared and used.
• Variables are checked to ensure that they are of the correct data type, e.g. real values are not being assigned to integers.
• Operations are checked to ensure that they are legal for the type of variable being
used, e.g. you would not try to store the result of a division operation as an integer.

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

Code generation

A
  • Machine code is generated.

* Code optimisation may be employed to make it more efficient/faster/less resource intense.

17
Q

Lexical analysis

A
  • Comments and unneeded spaces are removed.
  • Keywords, constants and identifiers are replaced by ‘tokens’.
  • A symbol table is created which holds the addresses of variables, labels and subroutines.
18
Q

Syntax analysis

A
  • Tokens are checked to see if they match the spelling and grammar expected, using standard language definitions. This is done by parsing each token to determine if it uses the correct syntax for the programming language.
  • If syntax errors are found, error messages are produced.
19
Q

Semantic analysis

A

• Variables are checked to ensure that they have been properly declared and used.
• Variables are checked to ensure that they are of the correct data type, e.g. real values are not being assigned to integers.
• Operations are checked to ensure that they are legal for the type of variable being
used, e.g. you would not try to store the result of a division operation as an integer.

20
Q

Code generation

A
  • Machine code is generated.

* Code optimisation may be employed to make it more efficient/faster/less resource intense.