Compiler Questions
- Describe one function of a compiler.
- State when you would use an interpreter and explain why.
- Explain the term syntax in relation to a language translator.
- Explain why the use of a complier rather than an interpreter can reduce
the number and severity of run-time errors.
- A software system can be supplied to a customer with either the source code
or the executable (object) code.
(a) Outline the difference between the two kinds of code.
(b) State one advantage and one disadvantage to the customer of only having
the executable (object) code.
(c) Discuss the role of an editor and a debugging tool in the translation
from the source code to the executable code.
(d) Describe one situation in which a source code is generated by software,
rather than being written directly by a programmer.