Coursework 1

Up Answer 1i Answer 1ii Answer 2 Answer 3

ODL115
Team Coursework 1

Team Coursework 1

  1. EITHER:
    1. Some commentators on the development of programming languages characterise their history as a linear progression from "first generation" languages (the machine languages of early computers), through second, third, fourth and fifth generations. Explain and illustrate briefly how the concept of a "generation" is used to describe the history of programming language development.

    OR:

    1. Some commentators prefer to describe the history of programming language development in terms of the evolution of "paradigms". Typically, four different paradigms are used to classify language types: imperative, functional, declarative and object-oriented. Explain and illustrate briefly how the concept of "programming language paradigm" has been used to distinguish types of programming language.


  2. The implementation of any programming language requires a specification of the syntax rules to be used in parsing the source code of a program. Often these rules are specified by using syntax diagrams (See on-line notes). Design a set of syntax diagrams to represent any TWO of the following:

    bulletNumerical dates written in European format: (dd-mm-yyyy)
    bulletUK telephone numbers in the form: (Areacode) Telephone_number (e.g. (020) 7882 7836).
    bulletAny sentence of English text, provided it begins with a capital letter and ends with a full stop.
    bulletAny Roman numeral between I (one) and C (one hundred) -- inclusive -- in either upper or lower case characters.
  1. [Optional]:
    Write a program in Java which will parse and recognise (output "Accept") all and only expressions which conform to ONE of the sets of syntax rules designed for the previous question.

Prepare your Team's report in response to the above investigative questions and upload them to your Team Tutor, using the "Team Coursework Submission Page", in this folder.

© S.T. Sommerville, September, 2000