Design Techniques

  • lorih
    Participant

    Hi I’m trying to create program designs for my classes where the same program is shown as a flow chart, a structure diagram and as pseudocode. My question relates to flow charts and fixed loops – Is there a way to represent a fixed loop in a flow chart, other than writing it as a conditional loop (Do.. until) with a counter that increments?

    Not sure if it’s possible and I’m just a complete numpty with regards to this, so any help/feedback from flow-chart experts would be appreciated

    Scott Leiper
    Participant

    This is not going to be as helpful as I would like to be but, I use flow charts as an opportunity to reinforce the thinking behind fixed loops, in that they are conditional loops, they just have a predefined limited condition.  There is a counter involved it’s just that is it hidden from the student.

    I find this useful because it reminds them why, in python for instance, you can iterate through a list using the fixed loops counter as the index position.

    As I said, maybe not as helpful as you wanted but I always include a loop counter when flow charting a fixed loop.

    Paul Gardner
    Participant

    Hi. I use a great, free flowcharting tool called Flowgorithm. It has a good way of showing counter controlled loops.

    Paul

     

    Paul Gardner
    Participant
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.