CSC 480 Software Engineering

11
CSC 480 Software Engineering Lecture 2

description

CSC 480 Software Engineering. Lecture 2. The Four P’s. The four P’s in software development People – in different roles working in a team Product – the working software system and associated artifacts - PowerPoint PPT Presentation

Transcript of CSC 480 Software Engineering

Page 1: CSC 480 Software Engineering

CSC 480Software Engineering

Lecture 2

Page 2: CSC 480 Software Engineering

The Four P’s

The four P’s in software development People – in different roles working in a team Product – the working software system and

associated artifacts Process – a set of activities that is performed in a

certain order toward a special purpose Project – a specific instance of building a software

product

Page 3: CSC 480 Software Engineering

Structured Programming

Use control constructs, avoid using gotoA hierarchy of functions, with those in higher

levels calling those at lower levelsModules tend to couple with each other,

making change difficult

Page 4: CSC 480 Software Engineering

Illustration – Structured Programming

Page 5: CSC 480 Software Engineering

1GL & Early 2GL

Page 6: CSC 480 Software Engineering

Object-Orientation

Encapsulate data and functionality in objectsMapping to real-world entities

Both congregation and inheritance hierarchies

Easier to modify and add components

Page 7: CSC 480 Software Engineering

Illustration – Object Orientation

Page 8: CSC 480 Software Engineering

Class & Object Hierarchies

Page 9: CSC 480 Software Engineering

Small Applications Using OOPL

Page 10: CSC 480 Software Engineering

Large Applications Using OOPL

Page 11: CSC 480 Software Engineering

Reuse & Components

Reuse can reduce cost and improve quality

Reuse at component level is more effective

COM JavaBeans

Example – a JClass chart by sitraka.com