Chapter 6: Data Types



Overview


Types are Important


Chapter 6 Goals


Primitive Types




Numeric Types


Non-Numeric Primitive: Boolean


Non-Numeric Primitive: Characters


Strings


User-Defined Ordinal Types


Array Definition  


Array Subscripts


Array Initialization


Array Operations


Multidimensional Array


Array Implementation - Accessing a Cell


Two Dimenstion Array Implementation - Row and Column Major


Two Dimension Arrays: Accessing a Cell


Array Implementation - Jagged


Array Categories:


Examples of Array Categories:


SKIP FALL 2010: Array Shapes and Lifetimes


SKIP FALL 2010: Array Lifetime, Category



Associative Arrays


Records


Union


Pointer Types



Heap Management


Arrow Types: Functions



Mathematical Definitions


Evolution of Features