




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Coursenotes
Clifford A. Shaffer Yang Cao Department of Computer Science Virginia Tech Copyright © 2008-
Any organization for a collection of records can be searched, processed in any order, or modified. The choice of data structure and algorithm can make the difference between a program running in a few seconds or many days.
A solution is said to be efficient if it solves the problem within its resource constraints.
Each data structure has costs and benefits. Rarely is one data structure better than another in all situations. Any data structure requires:
Problem: Create a database containing information about cities and towns. Tasks: Find by name or attribute or location
Abstract Data Type (ADT): a definition for a data type solely in terms of a set of values and a set of operations on that data type. Each ADT operation is defined by its inputs and outputs. Encapsulation: Hide implementation details.
An ADT manages complexity through abstraction: metaphor.
Data items have both a logical and a physical form. Logical form: definition of the data item within an ADT.
A typical database-style project will have many interacting parts.
Amount Done 1 Week Prior to Due Date