lecture 05 -- Representation Strategies for Data Types

lecture 05 -- Representation Strategies for Data Types -...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
10/19/2010 1 T. METIN SEZGIN OCT 18 2010 Lecture 5 Representation Strategies for Data Types Representation strategies Two strategies Data Structure Representation Procedural Representation Test case Environment Function that maps variables to values List, function, hashtable Start with the interface Introduce implementation The Environment Interface
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Environment Function that maps variables to values The interface Data Structure Representation The interface Constructors Observers For example The grammar Implementation Implementation 10/19/2010 2 Interpreter recipe for handling data structures Procedural Representation...
View Full Document

Page1 / 2

lecture 05 -- Representation Strategies for Data Types -...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online