2. the software development process - design
DESCRIPTION
The Software Development Process - DesignHigher / Int 2 NotesTRANSCRIPT
Design
DesignA good design makes implementation easier
The design breaks the program down into smaller blocks
The aim is to develop an algorithm – a set of instructions for completing a task
DesignDesign should be modular – allows us to break
a bigger program into smaller parts
Different modules can be programmed by different people
Top-down design involves looking at the main problem and breaking it down into smaller more manageable modules
DesignThis process is repeated, breaking the
problems into smaller steps. This is known as stepwise refinement
Bottom-up design means beginning with the smaller modules and building the design into a bigger solution
Design NotationsFlow chart
Design NotationsFlow chart
Design NotationsStructure
diagram
Design NotationsPseudocode
1.take in numbers2.add numbers3.display numbers
Design NotationsPseudocode
1.take in numbers2.add numbers
1. initialise total2. repeat for each number
1. add number to total
3. end repeat3.display numbers
DesignThe Human Computer Interface (HCI) is the
way in which a computer program interacts with a user.
There are a number of rules which a HCI should adhere toe.g. Menu selection, command input and data display should be consistent
Task: Create an Etherpad to develop a class list of HCI rules