Principles of Programming Languages (Pe1)
Principles of Programming Languages (Pe1)
To learn
COURSE OUTCOMES:
UNIT – I Classes: 12
Syntax and Semantics: General Problem of describing Syntax and Semantics, formal methods of
describing syntax - BNF, EBNF for common programming languages features, parse trees,
ambiguous grammars, attribute grammars, denotation semantics and axiomatic semantics for
common programming language features.
Data types: Introduction, primitive, character, user defined, array, associative, record, union, pointer
and reference types, design and implementation uses related to these types, Names, Variable,
concept of binding, type checking, strong typing, type compatibility, named constants, variable
initialization.
UNIT – IV Classes: 09
Expressions and Statements: Arithmetic relational and Boolean expressions, Short circuit
evaluation mixed mode assignment, Assignment Statements, Control Structures – Statement Level,
Compound Statements, Selection, Iteration, Unconditional Statements, guarded commands.
UNIT – V Classes: 12
Subprograms and Blocks: Fundamentals of sub-programs, Scope and lifetime of variable, static
and dynamic scope, Design issues of subprograms and operations, local referencing environments,
parameter passing methods, overloaded sub-programs, generic sub-programs, parameters that are
sub-program names, design issues for functions user defined overloaded operators, co routines.
Text Books:
Reference Books: