History of Programming
Languages
Early computers were designed as electronic calculators to solve numerical
problems. Speculate on what programming languages would be like if these
early machines were developed for a different purpose (e.g., word processing,
robot control, game playing)
Why do we "like" standardization?
Why do we have "classifications" of languages?
Why so many programming languages? What makes them different?
If Turing code is a Universal language, why don't we just program using
it?
Chapter 1: Role of Programming
Languages
What Makes a Good Language
Language Design Issues
What are the classes of binding times? Why are binding times important?
FLEXIBILITY - Why Fortran is so inflexible (but safe)?
How are software and hardware related?
What is a language paradigm? Give a description and example of
Imperative language -
Applicative or Functional language -
Rule-based -
Object-oriented -
Language Translation
Issues
What are the general syntactic criteria for selecting a language notation?
What types of overall program structure exist?
What are the stages in translation?
What are BNF Grammars?
Using the following BNF Grammar, create a parse tree for
expression: W = F * (U + v)
grammar:
< arithmetic expression > ::= < arithmetic expression > - < term >
< term > ::= < primary > | < term > * < primary > |
< term > / < primary >
< primary > ::= < variable > | < number > | (< arithmetic expression >)
What is ambiguity? Where often does the fault lie (grammar or language)?