Object-Oriented Construction

Download Report

Transcript Object-Oriented Construction

Software Engineering in CS at APU
CS 470 Software Engineering I
Sheldon X. Liang
Ph. D.
November 2, 2015 Azusa, CA
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
1
Software Engineering in CS at APU
CS 470 SE-1-2-3
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
2
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
One Goal: Flexible Manufacturing
Two Elements : Data and Process
Three -abilities : Reuse, Extend, and Flexible
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
3
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
We’re poor learner from industrial manufacturing
Logical product
Hard to repeat
Hard to specify
Hard of hard
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
4
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
We face simple issues but struggle a lot
Niklaus Wirth, Author of PASCAL
Program = ????
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
5
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
We’re smart to convert software into hardware
--> OO strategy
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
6
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
We’re pursuing three -abilities
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
7
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
How to do by digging in more depth
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
8
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
A - Abstract
D - Data
T - Type
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
9
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
A - Abstract
D - Data
T - Type
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
10
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
Code Construction: Modularity
ADT - A model for the problem to be solved
ADT - Described by its properties
ADT - Generalized by specifying type
ADT - Simulated by OOP
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
11
Software Engineering in CS at APU
SE-1-2-3: Software Design & Implementation
Thank you very much!
Questions?
Azusa Pacific University, Azusa, CA 91702, Tel: (800) 825-5278
Department of Computer Science, http://www.apu.edu/clas/computerscience/
November 2, 2015
12