Names and Variables Flashcards
which are either reserved words or keywords, are the design issues for names
Case sensitivity and relationship of names to special words
is a string of characters used to identify some entity in a program
name
Case sensitivity is considered a problem of … and …
readability and writability
in programming languages are used to make programs more readable by naming actions to be performed
Special words
is a word of a programming language that is special only in certain contexts
keyword
is a special word of a programming language that cannot be used as a name
reserved word
is an abstraction of a computer memory cell or collection of cells
program variable
A variable has six (6) attributes
- Name
- Address
- Value
- Type
- Lifetime
- Scope
of a variable is where the program looks at when it has to read the data stored in that variable.
address
Address is also known as …
l-value
When more than one (1) variable name can be used to access the same memory location, the variables are called …
aliases
allows a variable to have its value change by an assignment to a different variable
aliasing
of a variable determines the range of values the variable can store and the set of operations that are defined for values of the type
type
of a variable is the contents of the memory cell or cells associated with the variable
value
Value is also known as
r-value