Mapa mental
Basic concepts of programming languages

Contenido del mapa
Basic concepts of programming languages
Policy
- Static
- Compiler decides an issue
- At compile time
- Dynamic
- Decide when execute program
- At run time
- Static
Scope
- Static or lexical
- Determine scope of declaration just looking at code
- Dynamic
- As program runs, declaration of x could refer to any of several different declarations
- Static or lexical
Environment and States
Block
- Grouping of declarations and statements
- Block structure
- Allows blocks to be nested inside eachother
Explicit Access Control
- Use of keywords to support encapsulation by restrincting access
- public, private, protected
- Use of keywords to support encapsulation by restrincting access
Parameters
- Parameters types
- Actual
- Used in the call of the procedure
- Formal
- Used in the procedure definition
- Actual
- Passing Mechanisms
- Called-by-Value
- The actual parameter is evaluated or copied
- Called-by-Reference
- Address of actual parameter is passed to the callee as the value of formal parameter
- Changes to formal parameter thus appear as changes to actual parameter
- Aliasing
- Two formal parameter can refer to the same location
- Called-by-Name
- The callee executes as if actual parameter were substituted literally for formal parameter
- Called-by-Value
- Parameters types
Imágenes y archivos del mapa
Información
- Descripción
- Mapa Mental sobre Basic concepts of programming languages, creado por Karina Reyes el 17/08/2019.
- Creado por
- Karina Reyes
- Visitas
- 2
- Valoración


