LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-08-2012, 01:05 AM   #1
Aerosilver
LQ Newbie
 
Registered: Aug 2012
Posts: 28

Rep: Reputation: Disabled
A diagram for script


Hello everyone.

I am a student, and in my school, my teacher tell me a hierarchy diagram about my script in linux, which can add user, delete, modify, do queries to the database, save logs of the user, etc.

I don't know how to do that diagram, I finded in internet about that, but nothing can clear my doubts about that diagram.

If somebody know about that please help me.

Thanks in advances.
Regards,
Federico.
 
Old 12-08-2012, 04:57 AM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by Aerosilver View Post
Hello everyone.

I am a student, and in my school, my teacher tell me a hierarchy diagram about my script in linux, which can add user, delete, modify, do queries to the database, save logs of the user, etc.

I don't know how to do that diagram, I finded in internet about that, but nothing can clear my doubts about that diagram.

If somebody know about that please help me.

Thanks in advances.
Regards,
Federico.
I am not sure I understand your question. Probably something like this is meant:



Code:
main
  foo
    doo
  bar
in English meaning:

the main program calls 'foo' and 'bar' functions, and 'foo' function in its turn calls 'doo' function.

If so, you can easily do this manually. I.e. for a simple script it will take more time to find and learn a tool which does this automatically.

Ask the teacher if that's what he/she meant.

...

Try also https://duckduckgo.com/?q=function+call+tree -> http://www.telerik.com/help/justtrac...call-tree.html , etc.
 
1 members found this post helpful.
Old 12-08-2012, 12:18 PM   #3
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,073
Blog Entries: 4

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Quote:
...my teacher tell me a hierarchy diagram about my script in linux, which can add user, delete, modify, do queries to the database, save logs of the user, etc....
Federico:

This sounds like a request for pseudo-code.

"Pseudocode consists of short, English phrases used to explain specific tasks within a program's algorithm"

Example:
Original Program Specification:
Write a program that obtains two integer numbers from the user. It will print out the sum of those numbers.

Pseudocode:
  • Prompt the user to enter the first integer
  • Prompt the user to enter a second integer
  • Compute the sum of the two user inputs
  • Display an output prompt that explains the answer as the sum
  • Display the result
 
1 members found this post helpful.
Old 12-08-2012, 12:32 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,416
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
If someone asks for a diagram of a source it is usually a flowchart or, if the language that is used is an object oriented language, an UML diagram.
You should ask your teacher to clarify the question.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help to design class diagram naveenisback Programming 2 10-05-2009 10:04 AM
3d network cabling diagram? 1dude1 Linux - Server 1 02-05-2009 03:09 AM
network cabling diagram in 3d 1dude1 Linux - Software 3 02-04-2009 11:25 AM
Network Diagram Adler General 2 10-19-2004 10:14 AM
Diagram Drawing leckie Linux - Software 3 08-18-2004 08:54 AM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration