What is UML?
UML is Unified Modeling Language which is a graphical language for visualizing specifying constructing and documenting the artifacts of the system.It allows you to create a blue print of all the aspects of the system , before actually physically implementing the system.
What is Modeling? What are the advantages of creating a Model?
Modeling is a proven and well accepted engineering technique which helps build a model. Model is a simplification of reality, It is a blueprint of the actual system that needs to be built.
Model helps to visualize the system,
Model helps to specify the structural and behavior of the system.
Model helps make templates for constructing the system
Model helps document the system.
What are the different views that are considered when building a Object Oriented software system.
Normally there are 5 views.
Use Case view:-This view exposes the requirements of a system
Design View:-Capturing the vocabulary
Process View :-Modeling the distribution of the systems processes and threads
Implementation view:-addressing the physical implementation of the system
Deployment view :-Focus on the modeling the components required for deploying the system.
What are diagrams
Diagrams are graphical representation of a set of elements most often shown made of things and associations.
What are the major three types of modeling used.
Major three types of modeling are , structural , behavioral, and architectural.
Mention the different kinds of modeling diagrams used.
Modeling diagrams that are commonly used are, there are 9 of them.
Use case diagram
Class Diagram
Object Diagram
Sequence Diagram
StateChart Diagram
Collaboration Diagram
Activity Diagram
Component diagram
Deployment Diagram
What is a Architecture.
Architecture is not only taking care of the structural and behavioral aspect of a software system but also taking into account the softwares usage , functionality , performance , reuse, economic and technology constraints.
What is SDLC
SDLC is Software Development Life Cycle
SDLC of a system included processes that are Use case driven, Architecture centric and Iterative and Incremental.
This Life cycle is divided into phases.
Phase is a time span between two milestones
Inception
Elaboration,
Construction
Transition
Process Workflows that evolve through these phase are
Business Modeling , Requirement gathering, Analysis and Design, Implementation, Testing, Deployment .
Supporting Workflows are
Configuration and change management,
Project management ,
What are Relationships.
There are different kind of relationships
Dependencies
Generalization
Association
Dependencies are relations ships between two entities that that a change in specification of one thing may affect another thing. Most commonly it is used to show that one class uses another class as an argument in the signature of the operation
Generalization are relationships specified in the class subclass scenario , It is shown when one entity inherits from other.
Associations are structural relation ships that is a room has walls , Person works for a company. There is a association.
Aggregation is a type of association where there is a has a relation ship, That is a room has walls , So if there are two classes room and walls then the relation ship is called a association and further defined as an aggregation (Relation of whole and a part
Questions on Diagrams.
How are the diagrams divided?.
The nine diagrams mentioned above are divided into static diagrams and dynamic diagrams
Static Diagrams(Also called Structural Diagram)
Class diagram
Object diagram
Component Diagram
Deployment diagram
Dynamic Diagrams(Also called Behavioral Diagrams)
Use Case Diagram
Sequence Diagram
Collaboration Diagram
Activity diagram
Statechart diagram.
What are Messages?.
A message is the specification of a communication ,When a message is passed that results in action that is in turn a executable statement
Action may be
Call - Invoke a operation
Return Returns a value to the caller
Send Send a signal
Create Instantiate a object
Destroy Destroy an object
What is an Use Case.
An use case specifies the behavior of a system or a part of a system ,Use cases are used to capture the behavior that need to be developed.
It involves the interaction of actors and the system