1.2-Phases_of_Software_Life_Cycle_Design_1

1.2-Phases_of_Software_Life_Cycle_Design_1 - CMPT 225 Unit...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CMPT 225 Unit 1 Software Life Cycle and Principles of Software Development Step 2 - Design
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CMPT 225 2 Step 2 – Design Goal: Design a “good” software solution using principles of software development: – Abstraction – Decomposition (OO and Functional) – Encapsulation Result: Structure (classes) Technique: “noun” and “verb” + UML class diagram and behaviour (algorithm of operations) of software solution Technique: Pseudocode
Background image of page 2
CMPT 225 3 What happens when we have a big problem?
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CMPT 225 4 Abstraction • Answer: We abstract it! • Definition: – Technique which allows us to purposefully suppress the details of a complex object or process in order to bring out more clearly the “Big Picture”. • Result of abstraction is Model
Background image of page 4
CMPT 225 5 What happens when we want to solve this big problem?
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CMPT 225 6 Decomposition • Answer: We decompose it! • Definition: – Technique which allows us to simplify a complex object or process by dividing it into smaller, simpler parts (or components, or modules). – Also called Modularization. • Result of decomposition is a bunch of parts or components or modules
Background image of page 6
CMPT 225 7 However … • The technique of decomposition does not dictate how we divide something into parts • There are many ways of decomposing something. – So, how do we decompose? – Which way would make more sense? – Which guideline de we follow when we decompose something?
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CMPT 225 8 Encapsulation Answer: We encapsulate it! Definition: A decomposition technique in which a complex object or process is decomposed into smaller, simpler parts which have distinct purposes. Each of these parts “encapsulates” the necessary elements (inner details) it requires in order to create/support its purpose.
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 24

1.2-Phases_of_Software_Life_Cycle_Design_1 - CMPT 225 Unit...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online