By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,480 Members | 1,711 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,480 IT Pros & Developers. It's quick & easy.

drawing a flowchart

P: 6
how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
Nov 8 '08 #1
Share this Question
Share on Google+
7 Replies


Expert 10K+
P: 11,448
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.
Nov 8 '08 #2

weaknessforcats
Expert Mod 5K+
P: 9,197
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.
Nov 8 '08 #3

Expert 10K+
P: 11,448
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.
Nov 8 '08 #4

weaknessforcats
Expert Mod 5K+
P: 9,197
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.
Nov 8 '08 #5

Expert 10K+
P: 11,448
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
Nov 8 '08 #6

Expert 100+
P: 2,415
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?
Nov 8 '08 #7

P: 2
Difficult to do without the proper symbols but simply put
Expand|Select|Wrap|Line Numbers
  1.                                                   START
  2.  
  3.  
  4.                                           ENTER NUMS 1, 2
  5.  
  6.                                                 1, 2
  7.  
  8.  
  9.                                                   IF
  10.                              --------NO ------- NUMS=1------YES----
  11.  
  12.  
  13.                            "NO"                                    "YES"
  14.  
  15.  
  16.  
  17.                                                     STOP
  18.  
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.
Nov 10 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.