Session 7
Thursday, 2 November 2017
Today is the last session of Programming Language Concept before mid exam. Usually, Programming Language Concept's session is on Saturday but miss Yanfi has another business to do so, the seventh session is moved to Thursday. On this session, there's only one group presentation for preparation of mid exam. Today's topic is "Subprogram".
After the group presentation, miss Yanfi discuss the answer for the last session exercise. Miss Yanfi also explained again the grammar for small language, simple assignment statement and an ambiguous grammar for expression.
This session is discussing about subprograms. The topics are Introduction, Fundamentals of Subprograms, Local Referencing Environments, Parameter-Passing Methods, Parameters That Are Subprograms, Calling Subprograms Indirectly, Overloaded Subprograms, Generic Subprograms, User-Defined Overloaded Operators, Closures, and Coroutines.
Two fundamentals of abstraction are process abstraction and data abstraction. Local variable can be stack-dynamic and static. Each type of variable has their own advantages and disadvantages.
There are 3 type of parameter passing : In mode(pass-by-value), out mode (pass-by-result), and inout mode (pass-by-value-result, pass-by-reference, pass-by-name).
An overloaded subprogram is one that has the same name as another subprogram in the same referencing environment. A generic or polymorphic subprogram takes parameters of different types on different activations.
This session is discussing about subprograms. The topics are Introduction, Fundamentals of Subprograms, Local Referencing Environments, Parameter-Passing Methods, Parameters That Are Subprograms, Calling Subprograms Indirectly, Overloaded Subprograms, Generic Subprograms, User-Defined Overloaded Operators, Closures, and Coroutines.
Two fundamentals of abstraction are process abstraction and data abstraction. Local variable can be stack-dynamic and static. Each type of variable has their own advantages and disadvantages.
There are 3 type of parameter passing : In mode(pass-by-value), out mode (pass-by-result), and inout mode (pass-by-value-result, pass-by-reference, pass-by-name).
An overloaded subprogram is one that has the same name as another subprogram in the same referencing environment. A generic or polymorphic subprogram takes parameters of different types on different activations.
This is all for today's session.