The modularisation process: 6 Steps

First Steps in MODULARISATION

The modularisation process: 6 Steps

Postby mrmiles » Wed May 27, 2015 4:02 am

The modularisation process:

6 Steps for creating a Inter-Communicating Modular solution:

Step 1 - IPO

Step 2 - Grouping Modules

Step 3 - Hierarchy Chart (with arrows passing data / value parameters)

Step 4 - Pseudocode MAINLINE

Step 5 - Pseudocode MODULES

Step 6 - TEST (Desk Check)
mrmiles
Site Admin
 
Posts: 41
Joined: Mon Jan 13, 2014 3:18 am

Re: The modularisation process: 6 Steps

Postby mrmiles » Wed May 27, 2015 4:29 am

6 Steps for Modules (common errors / thinking checklist...from Yr 12 Class, 26/05/15)


Step 0 – Write out and highlight nouns and verbs

UNDERSTAND THE NATURE / CONTEXT OF THE QUESTION BEFORE YOU START!!

Is it about tax, employees salaries, accounts, leap years, cheque books etc?

Step 1 – IPO

Receive in (instead of seperate Prompt & Get)
DON’T use Psuedo in the PROCESS Column
Calculate
Compute
Analyse
Process
Validate
Print vs Display || Output


Step 2 – Grouping Modules

All process become modules



Step 3 – Hierachy Chart

Meaningful names for modules & MAINLINE



Step 4 – Mainline (Calling Module for all Called Sub-Modules)

Driver Algorithm (Main Control)
Highlight your Sub-Modules to be coded next
Be bold and assume lots for sub-modules! (Code later)
Be on the look for sneaky LOGIC / Sentinel (Terminating condition)


Step 5 – Coding sub modules (Called modules hand back to Calling once over)

Highlight your Sub-Modules so they line up with Mainline
INDENTATION
Pseudo Protocol – BEGIN … END, IF …END IF
mrmiles
Site Admin
 
Posts: 41
Joined: Mon Jan 13, 2014 3:18 am


Return to Chap 8: First Steps in MODULARISATION

Who is online

Users browsing this forum: No registered users and 0 guests

cron