You are on page 1of 27

/

C4arab.com


Software Engineering
......



2000-2005 -



_
_

.
_ _
_
...


ebooks@c4arab.com


.. ..
..

" "
.




! ! ...


! ...
!

!
.
!

.
.
. .
!
.

....



..
:
:

_ :


:
:
:

:
Software
...
.
.
:
1- Shari Pfleeger, "Software Engineering - Theory and Practice", 2nd Edition



.
) ).

.
.
tool (
).
computer science
.

.
Software Engineer problem-solving tool.

.

)(1-1

Art
hacker

.
.

:

Customer: ) (
User: ) (
.
Developer: ) ( .

)(2-1



.... .
. .
objects activities
.
.

.
1. : .
))
.
objects .
( ).

... .
2. Relationships and System Boundary
.
)
) )
Input) , boundary

.
A System :
entities.
activities.
Relationship.
boundary.

)( .

. :
1.
.
2.
.
3. .
4.
5. .
6. .
7.
.

.

( .`. ) .`.

( .`. ) .`.

- 1


.. ..

" "

" "
Hacker ..

.

- 2 Art
Art .. = Art
..

...
.

- 3


...
.
..
.

:
:

.
) )
:
" " Life Cycle
Software development life cycle :
1. Requirements analysis and definition
2. System design
3. Program design
4. )) Program implementation
5. Unit testing
6. system testing
7. system delivery
8.maintenance

( ).

) (
) ( .

Lifecycle Models:

Waterfall Model
) (1 ) (8
) (1 .

10

)(1-2


) ( .

.
.
) (
.
.
) !)
.
.
Phased Development


!
.
Cycle time.
Phased Development
.
:
Incremental model

11


)(
.

Iterative model

.


.
.
Spiral Model

risk .
) ( .
" "
Concept of Operations ) (
. .
.
.

.

12

)(2-2

( .`. ) .`.

13

( .`. ) .`.

WaterFall Model ..
back track Phase

back track Phase


...

backtrack models ..

.

backtrack Waterfall Model

14

:
) (
Capturing the requirements.

)
(.
.
.

:
.
:

: :
.


. :


.
.
.

Physical Environment
Interfaces
Users and human factors
Functionality
Documentation
Data
Resources
Security
Quality Assurance


:


. :

15

.
,
:
.


:
1. Correct .
2. consistent .
3. Complete
... .
4. realistic .
5. .
6. verifiable
7. traceable
" " Requirement Definition Document

: mathematical
.
) (
( (


) ( backup
)
( !


" " Requirement specification Document
. :
UML Unified Modeling Language
.
UML

16

: )
( ) )
!.

( .`. ) .`.

17

( .`. ) .`.

___________________________________
: :
.
.............
" : "
_________________________________________
!!?
.

Physical Environment ..


) Hardware +
)software

:
1. verifiable

!

50 20
!
2. traceable

.

18

" "

.


.
) (
) ( ) ( .

) (
) ).
iterative :
: conceptual design
.
.
:
technical design .

( (

.

19

conceptual design:
functions ) (
) (WHAT .
. .

technical design

) (HOW .
.

( .`. ) .`.

20

:
:
:

: :

.
.
:
:
.
.


.


.

Programming Guidelines

Control Structures

) if- else) Goto


. :
;benefit = minimum
;if (age < 75) goto A
;benefit = maximum
;goto C
;if (age < 65) goto B
;if (age < 55) goto C
;A: if (age < 65) goto B

21

;benefit = benefit * 1.5 + bonus


;goto C
;B: if (age < 55) goto C
;benefit = benefit * 1.5
C: next statement
:
;if (age < 55) benefit = minimum
;else if (age < 65) benefit = minimum + bonus
;else if (age < 75) benefit = minimum * 1.5 +bonus
;else benefit = maximum

generality is a virtue

!
)
" ! )"
" " !

:
.1 ) (
.
.2 .
.3 .

. .

: .

( .`. - ) .`.

22

: :

.

:
( - - - )
:

:

:
.1 Module Testing component Testing

. ) (output
(input).
.2 Integration Testing


. .
.3 Function Testing

.
Functioning System
.4

Performance Testing

23


. validated system
.
.5 Acceptance Test

Accepted system

.6 Installation Test
.

( .`. - ) .`.

..

24

You might also like