Names and Variables Flashcards

1
Q

which are either reserved words or keywords, are the design issues for names

A

Case sensitivity and relationship of names to special words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

is a string of characters used to identify some entity in a program

A

name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Case sensitivity is considered a problem of … and …

A

readability and writability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

in programming languages are used to make programs more readable by naming actions to be performed

A

Special words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

is a word of a programming language that is special only in certain contexts

A

keyword

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

is a special word of a programming language that cannot be used as a name

A

reserved word

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

is an abstraction of a computer memory cell or collection of cells

A

program variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A variable has six (6) attributes

A
  1. Name
  2. Address
  3. Value
  4. Type
  5. Lifetime
  6. Scope
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

of a variable is where the program looks at when it has to read the data stored in that variable.

A

address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Address is also known as …

A

l-value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When more than one (1) variable name can be used to access the same memory location, the variables are called …

A

aliases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

allows a variable to have its value change by an assignment to a different variable

A

aliasing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

of a variable is the contents of the memory cell or cells associated with the variable

A

value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Value is also known as

A

r-value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A