drawing a flowchart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lizaww
    New Member
    • Nov 2008
    • 6

    #1

    drawing a flowchart

    how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by lizaww
    how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
    I don't draw flowcharts; they're so 1960s. At best I scribble a Nassi-Schneidermann
    diagram but normally I don't bother: a verbal (written) description does fine. All
    those stupid graphical languages are silly (*)

    kind regards,

    Jos

    (*) and that includes all of UML.

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      Originally posted by JosAH
      At best I scribble a Nassi-Schneidermann
      diagram but normally I don't bother: a verbal (written) description does fine. All
      those stupid graphical languages are silly (*)
      That might work for small programs but not ones of any consequence.

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by weaknessforcats
        That might work for small programs but not ones of any consequence.
        All true, but the same is true for flowcharts, Nassi-Schneider (*) diagrams and
        all that UML crap; it was made by those Yourdon types who don't do any serious
        programming themselves but make money out of lecturing that hulla-baloo.
        The programming community is forced to listen to that fake, forced by their
        management who don't do any programming themselves either.

        A young friend of mine, a very intelligent man and a remarkable programmer
        once showed me a note from one of his managers that stated that people
        should use colours in the UML diagrams from now on. That young man happens
        to be colour blind.

        I prefer clear, concise verbal (written) descriptions with the name of the author
        stamped on it.

        kind regards,

        (*) The name happens to be 'Schneider', not 'Schneidermann' ; I looked it up after
        I had posted my previous reply.

        Comment

        • weaknessforcats
          Recognized Expert Expert
          • Mar 2007
          • 9214

          #5
          Originally posted by JosAH
          I prefer clear, concise verbal (written) descriptions with the name of the author
          stamped on it.
          I wish I knew your customers as there are none on this side of the pond. We, with miniscule exceptions are sitting at SEI/CMM Level 1 : Anarchy. That is, start coding while I find out what the customer wants.

          Comment

          • JosAH
            Recognized Expert MVP
            • Mar 2007
            • 11453

            #6
            Originally posted by weaknessforcats
            I wish I knew your customers as there are none on this side of the pond. We, with miniscule exceptions are sitting at SEI/CMM Level 1 : Anarchy. That is, start coding while I find out what the customer wants.
            It's sad isn't it; it's like that on this side of the puddle too most of the time. I am
            the proud owner of my own one man's army^H^H^H^H company: DADID Systems.
            The first five letters mean: Define, Analyze, Design, Implement and Deliver and
            that is exactly what I do and explain that to my customers (for free!). I want a
            signature after each (waterfall) phase; if not I quit the project.

            Most of the time they can't even come up with the first D. Me being the cooperative
            little baby that I am, I help them with it. I love to see them struggle to even define
            what they want. The A and the second D are mostly my job but I keep in touch
            and that's (most of the time) the part where they get enthousiastic. I don't do any
            prototypes or anything but the customer knows by then what they can expect.

            I don't like the fourth I part but that's my job. The last D part is easy: I wrap
            things up for the customer and deploy everything. Of course I'm responsible for
            code bugs but that doesn't bother me much.

            That little 'formula' has saved me more than often from the (almost?) empty cycle
            of stepwise refinement and what have you. Flowcharts are far out.

            kind regards,

            Jos

            Comment

            • donbock
              Recognized Expert Top Contributor
              • Mar 2008
              • 2427

              #7
              Originally posted by lizaww
              how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
              How many paths are needed to support this desired behavior?

              Comment

              • monte cristo gunnison
                New Member
                • Nov 2008
                • 2

                #8
                Flowcharting

                Difficult to do without the proper symbols but simply put
                Code:
                                                                  START
                
                
                                                          ENTER NUMS 1, 2
                
                                                                1, 2
                
                
                                                                  IF
                                             --------NO ------- NUMS=1------YES----
                
                
                                           "NO"                                    "YES"
                
                
                
                                                                    STOP
                THE START WOULD BE IN AN OVAL, THE ENTER NUMS IN A PROCEDURE BOX, THE 1,2 IN A DATA BOX, THE IF IN A DECISION BOX WITH YES AND NO COMING OFF THE SIDES AND DROPING DOWN TO THE PROCEDURE BOXES FOR "NO" AND "YES" THEN DROPING AND CONNECTING TO THE STOP OVAL.

                PROCEDURE BOXES ARE RECTANGLES, DATA BOXES ARE RHOMBOIDS, DECISION BOXES LARGE SQUARES PUT ON POINT AND OVALS ARE OVALS. ALL CONNECTED BY SINGLE LINES DRAWN BETWEEN THE VARIOUS BOXES LIKE THE LINES DRAWN FOR THE NO AND YES COMING OFF THE DECISION BOX.

                Comment

                Working...