2. Oo S/w Dev Process Flashcards

1
Q

Object oriented system development life cycle

A

The need of software development process that consists of analysis, design, implementation, testing and refinement is to transform users needs into software solution.The satisfy Those needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Transformations

A

Software development process can be divided into small, Interactive support processes which are generally viewed as series of transformations
-Output of one transformation becomes the input of another transformation
transformation1- analysis
Translate users needs into system Requirements.
The way users use system provides the input to the users requirement.

transformation 2- design
Start with the problems statement and ends with a detailed design that can be transformed into OS
- This includes bulk cops software development activities , including how to build a software , its development and its testing

transformation 3-implementation
Deployment of the design that will satisfy users
- It Include the account of equipment, Procedures, People.
And their likes
- It represents embarrassing the software product within the operational environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Four quality measures for building high quality software

A
  1. Correspondence
    Measures how much the delivered system matches with the needs of customers as described in requirement statements
  2. correctness
    checks the consistency of the product req with respect to design specifications
  3. validation
    Predicting Correspondence—-“ Am I building The right product”
  4. validation
    “ Am I building the product right”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Oo system development- usecase driven approach

A
  • Methodology with that focuses on use cases as the primary means of understanding and modelling the system requirements
  • This approach will ensure that system functionality is defined from the perspective of how users will interact with the system, making it both user centred and behaviour oriented.

usecase
- Description of how system interacts with external entities (actors.) describing the sequence of actions performed by the system to achieve a specific goal
- Each use case represent functional requirement of the system

OO sdlc consists of three macro processes:
1. Object oriented analysis
2. object oriented design
3. object oriented implementation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Object oriented system development includes these activities

A
  1. OO analysis- use case driven
  2. OO design
  3. prototyping
  4. implementation- component based development
  5. incremental testing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

1 oo analysis

collaboration def

A

Analysis phase is confirmed with :
1. determining system requirements
2. identifying classes and their relationships to the other classes in problem domain
– For this, we need to identify users or actors

collaboration
Intersection among the objects rolls to achieve a given goal Is called as collaboration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

2 OO design

A
  • is to design the classes odentified during the ana phase and user interface
  • here, we identify additional obj and clses that supports the implementation
    “first build the obj model based on obj and their relationship, then iterate and refine
  • Design and refine classes.
  • Design and refine attributes.
  • Design and refine methods.
  • Design and refine Structures.
  • Design and refine Associations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

3 prototyping

A

3 types:
1. Horizontal prototyping
2. vertical prototyping
3. analysis prototyping

horizontal
- It is a Representation of the model’s interface but contains no functionality
- Very quickly implement provides overall feel of the system

vertical
- Subset of system features with complete functionality
- Advantage of this method is that few implemented functions can be tested in grade depth

analysis
- Prototyping that is done during analysis phase of the system development process
- Primarily used to validate and refine systems requirements before moving onto the detailed design and implementation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

4 implementation

A

The identified classes and methods are coded for implemented.
component based development(CBD)
Approach of building software systems by assembling pre existing or newly developed software components
- Components are modular reusable and self contained units that encapsulate specific functionality and interact with other components through well defined interfaces
- It makes products available to the marketplace that otherwise would be prohibitively expensive
- eg: computer- aided s/w engineering(CASE) tools.

Rapid Application Development
Set of tools and techniques that can be used to build an application faster than typically possible with traditional method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

5 Incremental testing

A

There are two types of incremental testing:
1. Top down approach
- Unit testing
- integration testing
2. bottom up approach
- black box testing
- white box testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Reusability

A
  • Ability to use previously developed components classes or code in multiple applications or different parts. It is same application without modification or with minimal adjustments
  • Reusability is the core Principle of OOP

Reusability can be implemented through:
1. Information hiding (encapsulation)
2. CBD (component based development)
3. Creation and maintenance of object repository

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Object oriented methodologies

A
  • New System Development Approach, which encourages and facilitates reuse of software components
  • It employs international stranded unified modelling languages (uml.) from the object management group (omg)
  • Using this methodology a system can be developed on a component basis which enables effective reuse of existing components, It facilitates sharing of other system components

Types of object oriented methodologies
1. Object modelling techniques (Omt)
2. Object process methodology (OPM)
3. Rational unified process (RUP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

1 Object modelling techniques (OMT)

diag: “C:\Users\mural\OneDrive\Desktop\BSCS\3rd year\6th sem\OOSD\2. uni

A
  • First OO Methodologies introduced by Rumbaugh in 1991.
  • Omt uses three different models that are combined in a way that is comparable to the oldest structured models

diag:
Requirements
analysis ———— Analysing requirements
object model
dynamic model
functional model —— Analysis models(3)
design ——– Object design
coding

1 Analysis
- goal is to build models of the world
- The reqs of users developers and managers provide info needed to develop the initial prblm st.

2 OMT models
a. Object model
- depicts obj clses and their relationships as a cls diag, Which represents the static struc of the sys
- It observes all objects As static and does not pay attention to their dynamic nature.
b. Dynamic model
- It captures behaviour of system over time and flow control and events in event trace diagrams in state transition diagrams.
- Portraits changing occuring in States of various objects with events that might occur in the system.(Considers objects as dynamic)
c. functional model
- Describes data Transform of the system
- Describes flow of data and changes that occur to the data throughout the system

3 Design
- Specifies all the details needed to describe how the system will be implemented like Details of system analysis and system design are implemented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

2 Object process methodology (OPM)

A
  • Second generation methodology introduced in 1995
  • Has one diagram– Object process diagram (OPD) Which is used for modelling the structure, function and behaviour of the system
  • It has stronger emphasis on modelling, but weaker emphasis on process
    It has three main processes:
    1 Initiating
    Determines:
  • high level requirements
  • scope of the system
  • resources that will be required
    2 Developing
    Involves detailed
  • analysis
  • design
  • implementation
    3 Deploying
    Introduction of system to the user and subsequent maintenance of the system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

3 Traditional unified process (rup)

A

Developed by rational cooperation in 1998
It contains four phases, which can be broken down to iterations:
1. Inception
2. elaboration
3. construction
4. transition
- Each iteration contains nine work areas called disciplines
- A discipline depends on a phase in which iteration is taking place
- For each discipline. RUP defines a set of artefacts activities and roles

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Objectives and benefits of OO methodologies

A
17
Q

Comparison of OO methodologies

A
18
Q

Uml

A
  • UML is the language for specifying, constructing, visualising and documenting the software system and its components
  • It is a graphical language with a set of rules and Semantics which are expressed in English in the form of OCL(object constraint language)
  • Ocl uses simple logic for specifying the properties of the system
  • Much simpler than other methodologies
  • Expensive
19
Q

Major elements of uml language

A
  1. Uml basic building blocks
  2. rules that show how building blocks are put together
  3. Some common mechanism that apply throughout the Language
20
Q

Goals In the design of uml

A
  1. Provides users ready to use, expressive visual modeling language as well so they can develop and exchange meaningful models.
  2. Provide extensibility and specialization mechanisms to extend the core concepts.
  3. Be independent of particular programming languages and development processes.
  4. Provide formal basis for understanding the modeling language.
  5. Encourage the growth of the OO tools market.
  6. Support higher-level development concepts.
  7. Integrate best practices and methodologies.
21
Q

Uml defines nine graphical diagrams

A

1 Use case diagram
2 class diagram
Behaviour diagram
–Interaction diagram
3 sequence diagram
4 collaboration diagram
5 Activity diagram
6 State chart diagram
–Implementation diagram
7 component diagram
8 deployment diagram

22
Q

Class diagram

A

class diag(obj modeling)
- It is a static analysis diagram
- It shows the types of objects and relationship blw them
generalisation

23
Q

Use case diagram

A

Visual representation of interaction between users (actors) and the system.
- It helps in capturing the functional requirements as use cases and the actors
Key components:
1. Actors
2. use cases
3. system boundary
4. relationships(Association, generalisation, aggregation, realisation)

24
Q

Behavioural diagrams

A

The objects of oos are not static and are not easily understood by static diagrams Hence, behavioural diagrams study the behaviour of the objects and depict their dynamic behaviour

25
Q

Interaction diagram

A

Combo of
-sequence diag
-collaboration diagrams
Used to depict the flow of events in the system over a timeline
It is a dynamic model, which shows the system behaviour during dynamic execution

26
Q

state chart diag

A

It consists of states, events and activities
- States are diagrams depict all the possible states at a particular object can get into and how objects state changes as a result of events
- One state - Start
multiple states - end

state
Conditioner situation during a life of an object in which satisfies condition or weights for some events.

Transition
Relationship between two activities and between states and activities.

decision: Specific location where work flow may branch based on guard conditions

Synchronization:
Gives simultaneous work flow in a state chat diagram they visually Define forks and joints Representing a parallel workflow

Forks and joints:
flow–Model a single flow of control
Joint – have tour more flow that unit into single flow.

27
Q

activity diagram

A

Represent the flow of control between the activities and the behaviour in the system

activity
Performance of task on duty or execution of statement in procedure

28
Q

notations

A
  • Explanatory parts of UML mmodel
  • Notations Give more detailing in the UML diagrams

relations(Dependency, association, generalisation, realisation)

29
Q

Relations in UML

A

1 Dependency- - - - - - - - - - - -
Symantec relationship between two things in which change in one thing affects the semantics of the other thing
2 Association————
Describes the link that is being connected among objects
3 generalisation ———-|>
Represents Inheritance between more general classes specifically super class and subclass
4 realisation - - - - - - - - - - -|>
Relationship between two elements where one defines the contract usual interface, and the other element5 implements a contract usually a class

30
Q

Sequence diagram

A

Graphical view of scenario that shows object interaction, time based sequence. What happens first and what happens next
Difference between sequence and collaboration diagram is that sequence diagram showed time based interactions while collaboration Diagram show objects associated with each other

31
Q

Collaboration diagram

A

Collaboration and sequence diagrams are alternate representation of interaction
Show the order of messages that implement an operation or transaction
Shows objects their links and their messages

32
Q

Deployment diagram

A

Used to visualise the topology of physical components of the system, where the software components are deployed
«Database»:Mysql
«client workstation.»: Generic pc
«Server»: 2 Mcat6

33
Q

Component diagram

A

visualise the organisational relationships among components in
Database server——— Db
|
LAN
|
web server ————IIS Services
|
TCP \ IP
|
client machine ———-Web browser

34
Q
A