Test Preparation

 

Be familiar with the reasons given in our text for studying programming languages.

Programming domains for the languages in Chapter 1

Be familiar with the elements presented by our text which make a programming language “good”.

Readability, writability, reliability and the critieria that affect these characteristics

Categories of programming languages (paradigms)

Be familiar with the programming language paradigms discussed in our text; know a representative language for each paradigm; know the design goal of representative languages for each paradigm.

 

Review mini-language Core – think about the elements common to all programming languages.

Write a program based on the grammatical description of a language

 

Be familiar with the elements of a grammar and be able to tell what they are.

BNF  and EBNF  and  syntax diagrams

Be able to generate legal strings in a programming language given the grammar.

Be able to determine whether a string is legal in a programming language given the grammar.

Omit section 3.4 and 3.5

         Be able to describe in concise English what the set of strings generated by a grammar looks like

 

Be familiar with FORTRAN  - be able to read and write FORTRAN code similar to what you have written in class

Be familiar with Pascal – be able to read and write Pascal code similar to what you have written in class or we have gone over.

Be familiar with Ada – the Eight Queens problem plus the code we have demonstrated in class

Be able to rewrite code written in FORTRAN, Ada or Pascal into one of the other languages

Look at the Java FOR loop  in the same way we looked at FORTRAN DO, Pascal and Ada FOR loops

 

Review all of the web material, the programs and homework assignments.

Be familiar with the material in Chapter 5 about the attributes of variables their scope and binding and the material in chapter 6 about types.