














































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!















































: Movies of swarms, andrelationship to OOP
☺
simplification
of reality Main reason for developingmodels: ^ Understanding the systembeing developed We build models of complexsystems because we cannotcomprehend such a system inits entirety
nearly^ independent models are required
Counter Queue
Items
^ A model that includes most important aspectsof a given problem while ignoring lessimportant details^ An example of an item purchasing abstraction:
Queue Canteen System
Order Placement Delivery Billing
DecreasingAbstraction
Adds a (key, value) pair to the object delete: Deletes a (key, value) pair from the object lookup: Given a key, retrieves the value associated with that key fromthe object ^ Later, define new object (Search_Object_2) that additionallyallows traversing (key, value) pairs in sorted order^ ^ Supported operations for Search_Object_2:^ ^ All of above, plus:^ ^ rewind:
returns us to beginning next: returns next (key, value) pair ^ Accomplish this by having Search_Object_2 inheritSearch_Object_1’s interface
physical, conceptual, or software entities: Physical entity: Conceptual entity: Software entity:
robot chemical processlinked list data structure
L. Parker Name: (^9738239) Employee ID: Aug. 1, 2002 Date hired: Teaching Status:
Add me to CS302 with L. Parker (Returns: confirmation) Registration System
CS302 Course