RSS Forums RSS

flowchart

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply
Posts: 18
Reputation: mabpest is an unknown quantity at this point 
Solved Threads: 0
mabpest's Avatar
mabpest mabpest is offline Offline
Newbie Poster

flowchart

  #1  
Nov 22nd, 2008
A soft-drink manufacturer produces several flavors of drink—for example, cola, orange, and lemon. Additionally, each flavor has several versions such as regular, diet, and caffeine-free. The manufacturer operates factories in several states.



Assume you have input records that list version, flavor, yearly production in gallons, and state (for example: Regular Cola 5000 Kansas). The records have been sorted in alphabetical order by version within flavor within state. Design the report that lists each version and flavor, with minor total production figures for each flavor and major total production figures for each state.

I am in need of a flowchart that will work for this scenario. Can anyone give me an example?
AddThis Social Bookmark Button
Reply With Quote  
Posts: 7,460
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 676
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: flowchart

  #2  
Nov 22nd, 2008
Translation: Will somebody do my homework for me?

Answer: No, but if you show us what you've done, we might be able to help you improve your design.
I'm here to prove you wrong.
Reply With Quote  
Posts: 18
Reputation: mabpest is an unknown quantity at this point 
Solved Threads: 0
mabpest's Avatar
mabpest mabpest is offline Offline
Newbie Poster

Re: flowchart

  #3  
Nov 22nd, 2008
I am not asking for someone to do my homework. I just need an example to follow because I am not sure where to start. If i can get a little help I can finish it.
Reply With Quote  
Posts: 7,460
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 676
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: flowchart

  #4  
Nov 22nd, 2008
>I just need an example to follow because I am not sure where to start.
You've baffled me. I can't imagine how you could not know where to start. Have you never seen a flowchart before? That's about the only way you could reach the stage of complete incompetence without actually being incompetent.

Why not start by printing a report of all the records? That's a straightforward loop, and strikes me as a fantastic bare minimum for your flowchart. Here's some pseudocode:
while more records do
  load next record
  print record
loop
From there you can build up to the requirements. This is called incremental design, and it's most effective when you're prototyping (ie. you don't really know how the end result will look and just want to throw ideas around). The intermediate stages don't have to solve the problem, they can solve a part of the problem, or even a part of a part of the problem.
I'm here to prove you wrong.
Reply With Quote  
Posts: 18
Reputation: mabpest is an unknown quantity at this point 
Solved Threads: 0
mabpest's Avatar
mabpest mabpest is offline Offline
Newbie Poster

Re: flowchart

  #5  
Nov 23rd, 2008
Am I doing any better with this and can you critique it for me please?
This is all new to me...My instructor is not teaching us properly and plenty of other students are having the same problems trying to understand what is the assignment is.




Originally Posted by Narue View Post
>I just need an example to follow because I am not sure where to start.
You've baffled me. I can't imagine how you could not know where to start. Have you never seen a flowchart before? That's about the only way you could reach the stage of complete incompetence without actually being incompetent.

Why not start by printing a report of all the records? That's a straightforward loop, and strikes me as a fantastic bare minimum for your flowchart. Here's some pseudocode:
while more records do
  load next record
  print record
loop
From there you can build up to the requirements. This is called incremental design, and it's most effective when you're prototyping (ie. you don't really know how the end result will look and just want to throw ideas around). The intermediate stages don't have to solve the problem, they can solve a part of the problem, or even a part of a part of the problem.
Attached Files
File Type: doc carycensus.doc (116.0 KB, 17 views)
Reply With Quote  
Posts: 18
Reputation: mabpest is an unknown quantity at this point 
Solved Threads: 0
mabpest's Avatar
mabpest mabpest is offline Offline
Newbie Poster

Re: flowchart

  #6  
Nov 27th, 2008
Originally Posted by mabpest View Post
A soft-drink manufacturer produces several flavors of drink—for example, cola, orange, and lemon. Additionally, each flavor has several versions such as regular, diet, and caffeine-free. The manufacturer operates factories in several states.



Assume you have input records that list version, flavor, yearly production in gallons, and state (for example: Regular Cola 5000 Kansas). The records have been sorted in alphabetical order by version within flavor within state. Design the report that lists each version and flavor, with minor total production figures for each flavor and major total production figures for each state.

I am in need of a flowchart that will work for this scenario. Can anyone give me an example?




How is this chart and does it work properly?
Attached Files
File Type: doc final1.doc (137.0 KB, 32 views)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Computer Science Forum
Views: 1215 | Replies: 5 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:50 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC