 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
A
data type is a specific set of data values, along with a set
|
|
|
of
operations on those values.
|
|
|
• |
Data
is stored in the computer’s memory.
|
|
|
• |
Data
is like post office boxes, some are larger than others.
|
|
|
• |
Two
data types for now:
|
|
|
|
– |
The char Data Type – describes data
consisting of one
|
|
|
alphanumeric
character. We enclose them in single quotation
|
|
|
marks,
e.g., ‘A’ ‘a’ ‘_’ ‘8’
|
|
|
|
– |
The string Data Type – describes data
consisting of a sequence
|
|
|
of
characters. We enclose them in double quotation marks, e.g.,
|
|
|
“Hello”
“My name is Rhonda”
|
|