当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

《软件工程》课程教学资源(PPT课件)Lecture 6 设计概念和原则 Design Concepts and Principles

资源类别:文库,文档格式:PPT,文档页数:60,文件大小:345.5KB,团购合买
点击下载完整版文档(PPT)

Lecture 6 Design Concepts and principles

Lecture 6 Design Concepts and Principles

Analysis to Design Data PSPEC component (procedural) Description de ERD DFD resign Data interface Dictionary de sign architectural design TD data CSPEC design THE ANALYSIS MODEL THE DESIGN MODEL

Analysis to Design Data Dictionary THE ANALYSIS MODEL interface design architectural design data design THE DESIGN MODEL PSPEC CSPEC ERD DFD STD Data Object Description component (procedural) design

Where do We begin? modelling Prototype Spec D esign

Where Do We Begin? Spec Prototype Design modelling

Design Principles / Dav957 The design process should not suffer from tunnel vision The design should be traceable to the analysis model The design should not reinvent the wheel The design should"minimize the intellectual distance between the software and the problem as it exists in the real world The design should exhibit uniformity and integration

Design Principles [Dav95] ◼ The design process should not suffer from ‘tunnel vision.’ ◼ The design should be traceable to the analysis model. ◼ The design should not reinvent the wheel. ◼ The design should “minimize the intellectual distance” between the software and the problem as it exists in the real world. ◼ The design should exhibit uniformity and integration

Design Principles /Dav957 The design should be structured to accommodate change The design should be structured to degrade gently, even when aberrant data, events, or operating conditions are encountered Design is not coding coding is not design The design should be assessed for quality as it is being created, not after the fact The design should be reviewed to minimize conceptual(semantic)errors

Design Principles [Dav95] ◼ The design should be structured to accommodate change. ◼ The design should be structured to degrade gently, even when aberrant data, events, or operating conditions are encountered. ◼ Design is not coding, coding is not design. ◼ The design should be assessed for quality as it is being created, not after the fact. ◼ The design should be reviewed to minimize conceptual (semantic) errors

Fundamental Concepts abstraction-data, procedure, control refinement-elaboration of detail for all abstractions modularity-compartmentalization of data and function architecture -overall structure of the software Structural properties Extra-structural properties Styles and patterns procedure-the algorithms that achieve function hiding-controlled interfaces

Fundamental Concepts ◼ abstraction—data, procedure, control ◼ refinement—elaboration of detail for all abstractions ◼ modularity—compartmentalization of data and function ◼ architecture—overall structure of the software ◼ Structural properties ◼ Extra-structural properties ◼ Styles and patterns ◼ procedure—the algorithms that achieve function ◼ hiding—controlled interfaces

Data abstraction door manufacturer model number type swing direction inserts lights type number weight opening mechanism implemented as a data structure

Data Abstraction door implemented as a data structure manufacturer model number type swing direction inserts lights type number weight opening mechanism

Procedural abstraction open details of enter algorithm implemented with a knowledge"of the object that is associated with enter

Procedural Abstraction open implemented with a "knowledge" of the object that is associated with enter details of enter algorithm

Stepwise refinement open walk to door reach for knob open door;- repeat until door opens turn knob clockwise walk through; if knob doesn't turn, then close door take key out find correct key insert in lock endif pull/push door move out of way end repeat

Stepwise Refinement open walk to door; reach for knob; open door; walk through; close door. repeat until door opens turn knob clockwise; if knob doesn't turn, then take key out; find correct key; insert in lock; endif pull/push door move out of way; end repeat

Modularity: Trade-offs for a specific software design? ' oot What is the"right"number of me ules module development cost cost of software module integration cost optimal number number of modules of modules

Modularity: Trade-offs What is the "right" number of modules for a specific software design? optimal number of modules cost of software number of modules module integration cost module development cost

点击下载完整版文档(PPT)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共60页,可试读20页,点击继续阅读 ↓↓
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有