Please enable JavaScript.
Coggle requires JavaScript to display documents.
((variables, variables, Attributes of variables, name form, Attributes of…
- 3 main areas for variables
- the global or static area
-
-
- Binding is the process of
establishing an association such as
-between an attribute and entity
-an operation & symbol
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
- Binding time is the time at which a
binding takes place.
-
- language implementation time
-
-
-
- a named space in the memory that
stores values
- variable substitution,variable
expansion
- supported by
PHP,Perl,Python,Ruby,JS etc..
-
-
-
- in php; "$name",happen only in
expression with double quotations
- 1=address of the variable= lvalue
- 2= value of the variable = rvalue
- they provide names for storage
chunks
-
-
- primary design issues for names
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
- memory address with which a
variable is associated(l-value)
- a variable have different addresses at different places.
eg:- variable x is declared in 2 functions
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- content of the location with which
the variable is associated.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- values it can hold & the operations
that can be applied on it.
- integers,characters,booleans
-
- 4 types of variables based on their
lifetime
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
-
- 3 main areas for variables
- the global or static area
-
-
- Binding is the process of
establishing an association such as
-between an attribute and entity
-an operation & symbol
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
- Binding time is the time at which a
binding takes place.
-
- language implementation time
-
-
-
- a named space in the memory that
stores values
- variable substitution,variable
expansion
- supported by
PHP,Perl,Python,Ruby,JS etc..
-
-
-
- in php; "$name",happen only in
expression with double quotations
- 1=address of the variable= lvalue
- 2= value of the variable = rvalue
- they provide names for storage
chunks
-
-
- primary design issues for names
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
- memory address with which a
variable is associated(l-value)
- a variable have different addresses at different places.
eg:- variable x is declared in 2 functions
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- content of the location with which
the variable is associated.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- values it can hold & the operations
that can be applied on it.
- integers,characters,booleans
-
- 4 types of variables based on their
lifetime
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
-
-
- primary design issues for names
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
- memory address with which a
variable is associated(l-value)
- a variable have different addresses at different places.
eg:- variable x is declared in 2 functions
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- content of the location with which
the variable is associated.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- values it can hold & the operations
that can be applied on it.
- integers,characters,booleans
-
- 4 types of variables based on their
lifetime
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
-
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- primary design issues for names
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
- memory address with which a
variable is associated(l-value)
- a variable have different addresses at different places.
eg:- variable x is declared in 2 functions
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- content of the location with which
the variable is associated.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- values it can hold & the operations
that can be applied on it.
- integers,characters,booleans
-
- 4 types of variables based on their
lifetime
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
-
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- language implementation time
-
-
-
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- language implementation time
-
-
-
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
-
-
- in php; "$name",happen only in
expression with double quotations
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
- memory address with which a
variable is associated(l-value)
- a variable have different addresses at different places.
eg:- variable x is declared in 2 functions
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
-
-
-
- in php; "$name",happen only in
expression with double quotations
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
- memory address with which a
variable is associated(l-value)
- a variable have different addresses at different places.
eg:- variable x is declared in 2 functions
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
- the global or static area
-
-
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
-
- primary design issues for names
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- the global or static area
-
-
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
-
- primary design issues for names
-
-
- FORTRAN 90 & ANSI C : maximum 31
- Ada : no limit, & all are significant
- C++ : no limit, but implemention
often impose
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- keywords or reserved words
-
-
-
- lowercase with underscores
-
- UPPERCASE with underscores
-
- names in a namespace cannot have
more than one meaniing
- names with different meanings
cannot share the same name in the
same namespace
- names spaces enable identifier
names to be logically grouped.
eg:- directory in OS
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
- case sensitive languages - C,C++,
Java,Modula-2
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- Binding is the process of
establishing an association such as
-between an attribute and entity
-an operation & symbol
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
- Binding time is the time at which a
binding takes place.
-
- language implementation time
-
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
- variable substitution,variable
expansion
- supported by
PHP,Perl,Python,Ruby,JS etc..
-
-
-
- in php; "$name",happen only in
expression with double quotations
- 1=address of the variable= lvalue
- 2= value of the variable = rvalue
- they provide names for storage
chunks
-
-
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- content of the location with which
the variable is associated.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- values it can hold & the operations
that can be applied on it.
- integers,characters,booleans
-
- integers,characters,booleans
-
- Storage cannot be shared among variables
-
-
-
- Memory allocation & deallocation
overhead
-
- Binding is the process of
establishing an association such as
-between an attribute and entity
-an operation & symbol
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
- Binding time is the time at which a
binding takes place.
-
- language implementation time
-
-
-
- binding memory cells to a variable.
(allocation & deallocation)
- lifetime - is the period of time
which a variable is bound to a
memory location.
- variable substitution,variable
expansion
- supported by
PHP,Perl,Python,Ruby,JS etc..
-
-
-
- in php; "$name",happen only in
expression with double quotations
- 1=address of the variable= lvalue
- 2= value of the variable = rvalue
- they provide names for storage
chunks
-
-
-
- worse in some languages (modula-2,c++,java).because
predefined names are
mixed case.
-
- abilitty to use case sensitivity to
group variables into different
classes.(class names,methods
names,constants be in uppercase)
-
- if 2 variables(x & y) refer to the
same storage location,x is an alias
of y & vice versa.
- aliases to save storage by allowing
the data at a particular location to
be viewed/used differently at
different times.
- content of the location with which
the variable is associated.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- Actual value(Primitive types)
- the values that can be directly
stored in the primitive types
variables
- Reference value(Aggregation
types)
- a memory address or a reference
to an actual object or array in
memory.
- values it can hold & the operations
that can be applied on it.
- integers,characters,booleans
-
- integers,characters,booleans
-
- Storage cannot be shared among variables
-
-
-
- Memory allocation & deallocation
overhead
-
- 3 main areas for variables
- the global or static area
-
-
-
- language implementation time
-
-
-
- a named space in the memory that
stores values
- 1=address of the variable= lvalue
- 2= value of the variable = rvalue
- the values that can be directly
stored in the primitive types
variables
- a memory address or a reference
to an actual object or array in
memory.
- integers,characters,booleans
-
- 4 types of variables based on their
lifetime
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
- 3 main areas for variables
- the global or static area
-
-
-
- language implementation time
-
-
-
- a named space in the memory that
stores values
- 1=address of the variable= lvalue
- 2= value of the variable = rvalue
- the values that can be directly
stored in the primitive types
variables
- a memory address or a reference
to an actual object or array in
memory.
- integers,characters,booleans
-
- 4 types of variables based on their
lifetime
- ex:- global variables , c static
variables , FORTRAN 77 variables
- Efficiency – memory addressing is direct.
- Ability to create history sensitive variables
- No runtime overhead in allocation
and deallocation.
- Storage cannot be shared among variables
-
-
- stack- dynamic variables( automatic
variables)
- ex: function arguments, local variables
-
- Memory allocation & deallocation
overhead
-
- explicit heap - dynamic variables
- implicit heap - dynamic variables
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-