Exercises For Section 1
Exercises For Section 1
Exercises For Section 1
1
Exercise 1.1.1 : What is the difference between a compiler and an interpreter?
Exercise 1.1.2 : What are the advantages of (a) a compiler over an interpreter (b) an interpreter over
a compiler?
Exercise 1.1.3 : What advantages are there to a language-processing system in which the compiler
produces assembly language rather than machine language?
Exercise 1.1.4 : A compiler that translates a high-level language into another high-level language is
called a source-to-source translator. What advantages are there to using C as a target language for a
compiler?
Exercise 1.1.5 : Describe some of the tasks that an assembler needs to perform.
Exercises for Section 1.3
Exercise 1.3.1: Indicate which of the following terms: