CMPT 115 Lecture Notes - Lecture 5: Code Reuse, Software Projects, Institute For Operations Research And The Management Sciences

36 views8 pages
9 May 2016
School
Course
Professor

Document Summary

Notes written by michael horsch, mark eramian, ian mcquillan, lingling jin, and dmytro dyachuk. Motivation: writing larger applications: a good strategy: separate large software projects into several components. Some components can be re-used in (or from) other projects. Design decisions should be made for each component, without a ecting other components: abstract data types help us design such components, abstract data types (adts) provide guidance for good design. We will explore these ideas in detail in this lecture. Consider the idea of a list: use to store a collection of related information, the list implies a sequence, which could be meaningful. E. g. , a todo list: tasks ordered according to importance: there are certain things we want to do with lists: Add items, search for items, remove items, and more: ideal properties of lists as adt: The details of how lists are programmed is hidden. The operations (add, search, remove, sort, etc) give us functionality we want.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents