1.2.2 Applications Generation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Lexical analysis

A

White space and comments are removed.

The keywords and identifiers are replaced with tokens and they are stored with each keyword in a symbol table

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

Syntax Analysis

A

Abstract tree is produced, which is a representation of the source code in the form of a tree
Errors generated if token break any rules of the language.
Errors are reported as a list
Error diagnostic is given

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

Machine Code Generator

A

Abstract syntax tree is converted to produce object code which is the machine code before final step

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

Optimisation

A

Tweaks the code so it will run as quickly and use as little memory as possible. Redundant parts of the code are detected and removed.

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

Linkers

A

Piece of software responsible for linking external modules and libraries within code

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

Dynamic Linker

A

The loader retrieves the program when the program is run (files remain small and updates automatically)

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

Loaders

A

Program provided by the OS. When a file is executed, the loader retrieves the library from given memory location

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

Libraries

A

Precompiled programs that can be incorporated within other programs.
They are ready to use and error-free so saving development time and testing modules.
It can be reused in many programs.

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

Utility

A

Performs a specific task relating to the upkeep of the OS ie disk defragmentation

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

Translators

A

Program that converts high- level code into low level object code ready to be executed.

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

Compiler

A

Translate high level code into machine code all at once.

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

Interpreter

A

Translate and execute code line by line. They stop to produce an error if a line contains an error.

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

Assembler

A

Next level from machine code is platform specific as instructions used are independent on instruction set of processor.

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