Software Development Environment Flashcards

(20 cards)

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

Software development environment

A

Software development environments, also known as Integrated Development Environments
(IDE), provide programmers with various tools that are needed to create computer
programs.

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

Interpreters

A

Before high level programming languages can be run, code is converted by an interpreter,
one line at a time, into machine code, which is then executed by the CPU.

18
Q

Compilers

A

A compiler is used when high-level programming languages are converted into machine
code, ready to be executed by the CPU.

19
Q

Assemblers

A

An assembler is a program which coverts the low level assembly programming language into
machine code. The assembler does this by converting the one-word assembly instructions
into an opcode, e.g. converting AND to 0010. It also allocates memory to variables, often
resulting in an operand.

20
Q

Translators

A

A translator changes (translates) a program written in one language into an equivalent
program written in a different language. For example, a program written using the PASCAL
programming language may be translated into a program written in one of the C
programming languages using a translator.