imperative design



Hi,


i have to design a program written in an imperative language.
I ve done the anaylysis part in UML, but how do i proceed?

Core of the program is a data structure that looks like this:


----------- --------
| Initiator |--------------------| Target |
----------- | --------
|
|
-----------
| Attribute |
-----------

(attributed association in UML class diagram)

ill implement it with this matrix: (Initiator X Target -> Attribute)

(btw: the language does not provide pointers, so this matrix is the best way to achieve what i want.)

besides the matrix there are several functions that work with it using some arrays.

How do i formally correct design such a program.
How do i model the matrix and the functions and how do i proper connect them?


The only thing i know about imperative desingn are nassi/shneidermann diagrams, but afaik they are no real help for my problem.


any pointers?

thx in advance,

Sebastian
.



Relevant Pages

  • Re: imperative design
    ... i have to design a program written in an imperative language. ... I ve done the anaylysis part in UML, ...
    (comp.lang.c)
  • Re: Interface usage best practices
    ... > The dynamics of the physical elements of the design. ... anything one does with software can be described with existing UML. ... >>and unambiguous semantics. ... On the standard side, the squiggle definitions and the organizational ...
    (comp.object)
  • Re: LSP and subtype
    ... relevant to 3GL and OS design because the level of abstraction is already so far above the hardware. ... Turing-completeness is the context where the "software design" has meaning. ... What is the class of problems solvable using UML? ... wants to solve the problem on a Turing machine. ...
    (comp.object)
  • Re: More CChildFrame questions
    ... You can write a bad FORTRAN program in any language, including UML. ... UML is simply a language - we cannot blame UML for bad design. ... I worked on had a set of UML diagrams which ran for 20 pages claimed to ...
    (microsoft.public.vc.mfc)
  • Re: UML Question (Object <-> ObjectFinder?)
    ... ignore any book with 'UML' in the title and ignore any book with a specific language in the title. ... In our discussions, what you have called OOA, ... It talks about design patterns, ... I'll give you design patterns as a valid reification of the problem space for both OOA and OOD. ...
    (comp.object)