Lecture September 27th

 

 

Final Exam – tentatively scheduled for Tuesday,  December 13th -  7pmboth sections! - Room to be announced

 

Read section on Java in Chapter 2

 

Read section on Pascal in Chapter 2


Discussed that EBNF is simply another notation which reduces the number of rules (productions) required to describe the syntax but doesn’t change the results.

 

EBNF about page 139    [ optional – i.e. 0 or 1 occurrence] 

{ any number of repetitions including none  }     

                                       ( % | ^  | &  )   - alternation (one of the symbols separated by |

Brackets, braces, parentheses are metasymbols (i.e. notational tools and not terminal systems).

If we want them to be terminal symbols we can quote them or underline them.

 

Gradesheets for:  Pascal homework,  FORTRAN .and. homework,   Java program

 

Discussed  problem areas in Pascal homework,  FORTRAN .and. homework,   Java program

 

Talked about Chapter 5  

          here are book’s slides – we went through about half – rest next time

          here are book’ figures – we only looked at first one

         example program using sets

 

We will discuss Pascal’s  records and pointers next time – prepare by searching Web and by reading pages 82-83;  262, 225 in 7th edition.  Look under Pascal in index if you are using 6th edition.