11.07.2015 Views

CS 47/147 Advanced Object-Oriented Programming - Caltech

CS 47/147 Advanced Object-Oriented Programming - Caltech

CS 47/147 Advanced Object-Oriented Programming - Caltech

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Data Model• Identifies the “types” of data the program manipulates.• Defines relationships between objects.• So far, data in specs have mostly been simple.Numbers; strings; sequences; sets.Basic data types or simple math concepts.• Real systems work with more complex kinds of things.Files, directories (filesystem example);Stock portfolios/positions/quotes (stock tracker example);Products/orders/shipments/inventory (commerce); etc.• Data model describes these complex sets semi-formally.9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!