Assignment 1 SC

3
9/29/2015 Software Construction Assignment # 1 Saad Azeem 01-133132-146

description

ddd

Transcript of Assignment 1 SC

Page 1: Assignment 1 SC

9/29/2015

Page 2: Assignment 1 SC

Assignment # 1Saad Azeem Software Construction 01-133132-146

BSE 5B

Because design is nondeterministic, skillful application of an effective set of heuristics is the core activity in good software design. The following subsections describe a number of heuristics—ways to think about a design that sometime produce good design insights. You might think of heuristics as the guides for the trials in “trial and error.” You undoubtedly have run across some of these before. Consequently, the following subsections describe each of the heuristics in terms of Software’s Primary Technical Imperative: managing complexity.

A heuristic is a rule or method that helps you solve problems faster than you would if you did all the computing. Software Design requires certain effective heuristics. Following are some of them to guide you for a good thinking about designs. Heuristics can be taken as guidelines for trial and error method.

The steps in designing with objects are■ Identify the objects and their attributes (methods and data). ■ Determine what can be done to each object. ■ Determine what each object is allowed to do to other objects. ■ Determine the parts of each object that will be visible to other objects—which parts will be public and which will be private. ■ Define each object’s public interface.

Software Construction

Page 3: Assignment 1 SC

Software Construction