scis.regis.edu ● [email protected] cs-432: modern software engineering week 2 dr. jesús borrego lead...
TRANSCRIPT
scis.regis.edu ● [email protected]
CS-432: Modern Software Engineering
Week 2
Dr. Jesús BorregoLead Faculty, COSRegis University
1
Class Outline•Review of Homework•Key Terms•Instantiation•Methods•Classes•Communication Diagrams•Program Management•Questions?
2
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
Key Terms
• Anthropomorphism – antropomorfismo• Axiom – axioma• Boundary class – clase en la periferia• Instance – instancia• Interface - interfaz
4
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
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
Defining operations for an object•Having a ‘Contact’ object, we can:
▫Create the contact▫Delete a contact▫Find a contact▫Update a contact
7
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
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
Instantiation
•An object is an instance of a class•In UML, the instantiation is shown
graphically
10
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
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
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
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
Find Contact Use Case Realization
15
Create Contact Use Case Realization
16
Non-Verb Analysis of Use Cases
17
CRC Analysis of Use Cases
18
•Class-Responsibility-Collaborator •CRC Card
Finding Responsibilities
19
Defining Collaborators
20
Package Examples
21
List Interface•Could be implemented with arrays or
linked lists
22
Project Management
23
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
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
Overview of Project Management•Project Activities and Planning Steps
26
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
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