Program Construction Flashcards

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

Stages of compilation

A
lexical analysis
symbol table construction
syntax analysis
semantic analysis
code generation
optimisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is symbol table construction

A

It is a table that sores the names and addresses of all variables, constants and arrays

Variable are checked to make sure they have been declared and to determine the data types used

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

What is optimisation?

A

It makes theprogram more efficient so it runs faster and uses fewer resouces

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

Tools that help the programmer write clear,maintainable code

A
editors
runtime environments
automatic line numbering
error diagnosis
colour coding
debugger
trace
break points
variable watch
auto-correct
auto-suggestion
auto-indent
linker
loader
compiler
interpreters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Types lf programming errors

A
syntax
runtime/execution
logical
linking
rounding
truncation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Whta is a runtime eroor

A

These sre eroors that occur only during the execution of a program. Errors include running out of memory

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