Programming Languages Test 3

Programming Languages Test 3

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Static Scoping

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (23)

Section 1

(23 cards)

Static Scoping

Front

The scope of a variable is determined prior to execution.

Back

Blocks

Front

A method of creating static scopes inside program units. It was introduced in ALGOL 60. It basically allows a section of the code to have it's own local variables whose scope is minimized.

Back

Dynamic Scoping

Front

Scoping is based on the calling sequence of subprograms, not on their spacial relationship to each other. Thus, the scope is only determined in run time.

Back

stack-dynamic variables

Front

Variables whose storage bindings are created when their declaration statements are elaborated, but whose types are statically bound.

Back

Descriptor

Front

the collection of the attributes of a variable.

Back

Explicit heap-dynamic variables

Front

Variables that are nameless (abstract) memory cells allocated and deallocated by explicit run-time instructions written by the programmer.

Back

Non-local Variables

Front

variables that are visible to the unit (function), but not declared there.

Back

dynamic type binding

Front

the type of a variable is not specified by a declaration statement, not can it be determined by the spelling of its name. Instead, the variable is bound to a type when it is assigned a value in an assignment statement.

Back

Implicit heap-dynamic variables

Front

bound to heap storage only when they are assigned values

Back

alias

Front

when more than one variable can be used to access the same memory location

Back

Local Variables

Front

variables which are declared in that unit (function)

Back

binding time

Front

the time at which a binding takes place

Back

When is a variable considered visible?

Front

A variable is visible in a statement if it can be referenced or assigned in that statement.

Back

Scope

Front

The range of statements over which a variable is viable

Back

reserved word

Front

a special word that cannot be used as a user-defined name

Back

Implicit Declaration

Front

a means of associating variables with types through default conventions, rather than declaration statements

Back

Explicit Declaration

Front

A statement in a program that lists variable names and specifies that they are a particular type.

Back

Primitive Data Types

Front

Data Types that are not defined in terms of other types

Back

Global variables

Front

A special category of non-local variables. Every function can see these.

Back

the address of a variable is sometimes called?

Front

It's I-value

Back

Binding

Front

An association between an attribute and an entity such as between a variable and its type or value, or between an operation and a symbol.

Back

dynamic binding

Front

binding that first occurs during run time or can change in the course of program execution.

Back

static binding

Front

binding that first occurs before run time begins and remains unchanged throughout program execution

Back