Compilers Principles, Techniques, & Tools (purple dragon book) second edition exercise answers

Exercises for Section 1.3


Indicate which of the following terms:

a. imperative b. declarative c. von Neumann d. object-oriented e. functional f. third-generation g. fourth-generation h. scripting

apply to which of the following languages:

  1. C
  2. C++
  3. Cobol
  4. Fortran
  5. Java
  6. Lisp
  7. ML
  8. Perl
  9. Python
  10. VB.


imperative: C, C++

object-oriented: C++, Java

functional: ML

scripting: Perl, Python