Scis.regis.edu ● [email protected] CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead...
-
Upload
ernest-glenn -
Category
Documents
-
view
212 -
download
0
Transcript of Scis.regis.edu ● [email protected] CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead...
![Page 1: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/1.jpg)
scis.regis.edu ● [email protected]
CS-432: Modern Software Engineering
Week 2
Dr. Jesús BorregoLead Faculty, COSRegis University
1
![Page 2: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/2.jpg)
Class Outline•Review of Homework•Key Terms•Instantiation•Methods•Classes•Communication Diagrams•Program Management•Questions?
2
![Page 3: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/3.jpg)
Review of Homework
•All homework submitted has been graded• If you did not submit homework 1, please do so•Homework 2 was a group project and two
were submitted – for group project, submit only 1 with a title page indicating members
•Grade comments were either posted (if submitted) or emailed
•Make sure you read the material assigned before class and before attempting the homework
3
![Page 4: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/4.jpg)
Key Terms
• Anthropomorphism – antropomorfismo• Axiom – axioma• Boundary class – clase en la periferia• Instance – instancia• Interface - interfaz
4
![Page 5: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/5.jpg)
Class Overview•Analysis Model
▫Different activities in the model▫The model provides a structure for the
functionality to be provided by the application
▫Guides the development of the software•Anthropomorphism
▫Giving inanimate entities characteristics attributed to humans
5
![Page 6: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/6.jpg)
Application Analysis Phase
•When analyzing a problem, we consider the entities interacting with the system and the interaction with other objects
•We define a list of objects and describe the properties for each, plus the interaction among the other objects
•Anthropomorphism helps us define what objects can do
6
![Page 7: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/7.jpg)
Defining operations for an object•Having a ‘Contact’ object, we can:
▫Create the contact▫Delete a contact▫Find a contact▫Update a contact
7
![Page 8: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/8.jpg)
Definitions•Classifiers (classes): prototypes of entities
▫A generic definition of a set of objects▫A template to create objects of that class▫Can be derived from more generic classes
•Object (Instance) - actual object from a class:▫An entity with a unique identity▫With local behavior and state▫An instance of a class and is a type of that
class
8
![Page 9: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/9.jpg)
Class/Object Representation
•Class: A rectangle with the name centered
•Class names begin with capital letter
•Object:▫Instance of a class – instance object▫Similar to a class, but with the name
underlined
9
![Page 10: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/10.jpg)
Instantiation
•An object is an instance of a class•In UML, the instantiation is shown
graphically
10
![Page 11: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/11.jpg)
Attributes•A class has attributes (- means private)
•An object is an instance of a class, inherits attributes of class and has values
•These define the state of the object
11
![Page 12: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/12.jpg)
Methods•The behavior of an object is represented
by its operations•The operations of an object are called
methods•Methods are like functions and are
declared in the class definition (but methods are more than functions)
12
![Page 13: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/13.jpg)
Communication Diagrams
•Objects communicate with other objects by passing messages to each other
•The calling object invokes an operation on the called object▫Numbers indicate the sequence of the
messages
13
![Page 14: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/14.jpg)
Boundary Classes
•Boundary classes interact with external entities
•We use boundary classes to represent graphical components, such as windows, dialogs, views and dialog boxes
14
![Page 15: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/15.jpg)
Find Contact Use Case Realization
15
![Page 16: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/16.jpg)
Create Contact Use Case Realization
16
![Page 17: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/17.jpg)
Non-Verb Analysis of Use Cases
17
![Page 18: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/18.jpg)
CRC Analysis of Use Cases
18
•Class-Responsibility-Collaborator •CRC Card
![Page 19: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/19.jpg)
Finding Responsibilities
19
![Page 20: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/20.jpg)
Defining Collaborators
20
![Page 21: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/21.jpg)
Package Examples
21
![Page 22: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/22.jpg)
List Interface•Could be implemented with arrays or
linked lists
22
![Page 23: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/23.jpg)
Project Management
23
![Page 24: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/24.jpg)
Overview of Project Management•Project Management•A successful project must be completed
on time, within budget, and deliver a quality product that satisfies users and meets requirements
•Project manager or project leader•Project coordinator
24
![Page 25: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/25.jpg)
Overview of Project Management•What Does a Project Manager Do?
▫Project manager, project leader▫Project planning▫Project scheduling▫Project monitoring and controlling▫Project reporting
25
![Page 26: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/26.jpg)
Overview of Project Management•Project Activities and Planning Steps
26
![Page 27: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/27.jpg)
Homework 3
•Communication Diagrams for the case study (at least 3)
•Create in Visio•See slides 14-15 for examples•Submit to WorldClass before Week 3
27
![Page 28: Scis.regis.edu ● scis@regis.edu CS-432: Modern Software Engineering Week 2 Dr. Jesús Borrego Lead Faculty, COS Regis University 1.](https://reader031.fdocuments.us/reader031/viewer/2022032607/56649ec05503460f94bcbb33/html5/thumbnails/28.jpg)
Next Class
•Wednesday, January 22, 2014•Make sure you turn in any assignments
due by next class•We will have a review for the midterm
exam•Send any questions on any items covered•Read and review on line material before
class
28