1. Answer each of the following review questions:

  1. Why are there so many programming languages?
  2. What makes a programming language successful?
  3. Why is it important to study programming languages?
  4. Why is it important to study the implementation of programming languages?
  5. Name two languages in each of the following paradigms: procedural, OOP, logic, and functional.
  6. What are the features of OOP languages?
  7. What are the features of functional languages?
  8. What are the features of logic languages?

2. The Trabb Pardo-Knuth algorithm is often used to illustrate the basic syntax of programming languages.

ask for 11 numbers to be read into a sequence S
for each item e in the reversed sequence of S
compute the value sqrt(abs(e))+5*e
if result is greater than 500
alert user
print result

Implement the algorithm in at least two prorgamming languages.

3. Exercises 1.1.1 (p3),  Exercise 1.3.3 (p.14), and Exercises 1.6.8 (p.35) in the  ALSU book.