Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Lecter notes which is cover in class, Lecture notes of Software Engineering

Lecter notes which is cover in class and for exam prepration

Typology: Lecture notes

2021/2022

Uploaded on 03/24/2023

abhinay-yadav-2
abhinay-yadav-2 🇮🇳

6 documents

1 / 69

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Software Design
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45

Partial preview of the text

Download Lecter notes which is cover in class and more Lecture notes Software Engineering in PDF only on Docsity!

Software Design

Introduction

Design phase transforms SRS

document:

into a form easily implementable in

some programming language.

SRS Document

Design Activities

Design Documents

Module Structure

Introduction

A module consists of:

1. several functions

2. associated data structures.

Data

Functions

D ..

D ..

D ..

F ..

F ..

F ..

F ..

F ..

Introduction

Design activities are usually

classified into two stages:

  1. preliminary (or high-level) design
  2. detailed design.

High-level design

Identify:

  1. modules
  2. control relationships among modules
  3. interfaces among modules.

d1 d

d d

d

HIGH LEVEL DESIGN

  • (^) Several Notations available to

represent high level design:

Usually a tree like structure called

STRUCTURE CHART is used

Detailed design

For each module, design:

1. data structure

2. algorithms

Outcome of detailed design:

module specification.

Good and Bad Designs

  • (^) There is no unique way to design a

system’

  • (^) Even using the same design

methodology:

  • (^) Different designers arrive at

different design solutions

  • (^) We need to distinguish between

good and bad designs.

Which of two is a better

design:

  • (^) Should implement all the

functionalities of system correctly’

  • (^) Should be easy understandable’
  • (^) Should be efficient
  • (^) Should be easily amenable to

change

  • (^) i.e. easy maintainable

How are abstraction and

Decomposition principles

used in designs?

  • (^) Two Ways:

Modular Design

Layered Design

What Is Good Software

Design?

Unless a design is easy to understand,

tremendous effort needed to maintain it.

We already know that about 60% effort

is spent in maintenance.

If the software is not easy to
understand:

maintenance effort would increase

many times.

Modularity

Modularity is a fundamental
attributes of any good design.

Decomposition of a problem cleanly

into modules:

  1. Modules are almost independent

of each other

  1. divide and conquer principle.

Modularity

If modules are independent:

 modules can be understood

separately.

 reduces the complexity greatly.

To understand why this is so,

 remember that it is very difficult to break

a bunch of sticks but very easy to break

the sticks individually.