pls check flowchart for errors/inefficiencies

Thread Solved

Join Date: May 2002
Posts: 633
Reputation: aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice 
Solved Threads: 8
Team Colleague
aeinstein's Avatar
aeinstein aeinstein is offline Offline
Team Member - aka kaynine

pls check flowchart for errors/inefficiencies

 
0
  #1
Jul 9th, 2006
Hi All,

I've converted the pseudocode from this thread into a flowchart, and I'd greatly appreciate if anyone can point out any errors and/or inefficiences in the represented coding. as posted in the above referenced thread, the flowchart represents a solution for a chapter exercise, as follows: "The problem states that a library records monthly book withdrawls, capturing the Library of Congress Number, Author and Title, for each month (sorted by the Library of Congress Number for each withdrawl). The initial problem required the merger of the January and Feburary files - which I was able to do without difficulty, but the follow-on problem required that any redundant records, regardless of file of origin, not be written to the merged file."

Thanks!
Attached Thumbnails
Knowlton Ch 11 Exercise 2B.jpg  
"I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use." - Galileo Galilei

"Science without religion is lame. Religion without science is blind." - Albert Einstein

"Good judgment comes from experience, experience comes from bad judgment." - author unknown

"Anyone who has never made a mistake has never tried anything new." - Albert Einstein

(why "aeinstein"?)

Peace Be with You
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,331
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1453
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: pls check flowchart for errors/inefficiencies

 
0
  #2
Jul 9th, 2006
[rant]flow charts are evil little critters and should be banned from all educational institutions. I've never seen anyone create or use them outside the university. And most programming books don't even talk about them.[/rant]
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: pls check flowchart for errors/inefficiencies

 
0
  #3
Jul 9th, 2006
On the contrary, I find them pretty useful. Both as a communicating tool, since pseudocode can differ according to the person, and as a tool to understand the algorithm better. For example I couldn't make head or tail out of the OP's pseudocode, since I am not used to pseudocode like that. But the flowchart was easier to understand. But this may depend on personal preferrence.

@aeinstein :- Glanced at the flow chart and it looked okay to me. What was the tool you used to draw it? Was it a free tool?
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,334
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 234
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: pls check flowchart for errors/inefficiencies

 
0
  #4
Jul 9th, 2006
[aside]
I tend to agree with 'Dragon here. Like comments that don't match the code, a flowchart may not match the implementation code. And then you get to debug in two places -- the flowchart and the actual code. Which one is correct? Bleah. And the implementation always seems to have last minute details that aren't reflected in the flowchart.

But bosses and such like flowcharts. And laying out an initial design can be beneficial. I just don't look at them as gospel, merely the initial skeletal framework.
[/aside]
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Join Date: May 2002
Posts: 633
Reputation: aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice aeinstein is just really nice 
Solved Threads: 8
Team Colleague
aeinstein's Avatar
aeinstein aeinstein is offline Offline
Team Member - aka kaynine

Re: pls check flowchart for errors/inefficiencies

 
0
  #5
Jul 9th, 2006
Originally Posted by WolfPack
On the contrary, I find them pretty useful. Both as a communicating tool, since pseudocode can differ according to the person, and as a tool to understand the algorithm better. For example I couldn't make head or tail out of the OP's pseudocode, since I am not used to pseudocode like that. But the flowchart was easier to understand. But this may depend on personal preferrence.

@aeinstein :- Glanced at the flow chart and it looked okay to me. What was the tool you used to draw it? Was it a free tool?
MS Paint (painstakingly produced!) saved as .bmp & converted to .jpg via IrfanView (v3.98, downloaded via CNET) (I only use it to convert images, but for that use, at least, it's a great free-ware product). After this experience I think Visio 2003 Professional Academic is not a too distant purchase!!! Btw, before this particular exercise I was not a fan of flowcharting, but I was able to follow the flow of the program much easier with the flowchart that I produced versus the pseudocode that I produced, so I now consider myself a convert! :lol:

Thanks for the feedback!
Last edited by aeinstein; Jul 9th, 2006 at 5:07 pm.
"I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use." - Galileo Galilei

"Science without religion is lame. Religion without science is blind." - Albert Einstein

"Good judgment comes from experience, experience comes from bad judgment." - author unknown

"Anyone who has never made a mistake has never tried anything new." - Albert Einstein

(why "aeinstein"?)

Peace Be with You
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: pls check flowchart for errors/inefficiencies

 
0
  #6
Jul 9th, 2006
Yes, I agree.

Without doubt, flowcharts are excellent devices for planning out the layout of a complicated program. And a must for newbies and definitely useful for schools and universities.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC