Answer the question
In order to leave comments, you need to log in
Is it possible to draw a flowchart describing an OOP structure program?
I'm in college, we have a subject "Algorithmics". On it, we go through basic algorithms and their writing in C#. Now we have started a topic related to flowcharts, and we must build them according to our C # code (namely, the code, and not the algorithm itself, as our teacher says) and adhere to GOST 19.701-90. I had a question that the teacher could not give me a clear answer, I did not find the answer in Google. All that the teacher answered me was that you can write a comment on the flowchart.
So, the question itself is: is it even possible to build flowcharts according to object-oriented code, for example, how do I indicate that there will be an exception in this place and there will be two branches of development of events?
Answer the question
In order to leave comments, you need to log in
Is it even possible to build flowcharts from object-oriented code?OOP concepts are more adequately displayed using uml , but not GOST 19.701-90 . you can display the guest execution algorithm for console programs. for forms or wpf in general, it’s the same, but you will have to delve into the event handling mechanism in order for such a block diagram to be correct
how will it indicate to me that there will be an exception in this place and there will be two branches of the development of events?here the keyword is branching , if you understand where the transfer of control will actually take place in the event of an exception being thrown - there is no problem to display it
one.
specifically to the code, and not according to the algorithm itself, as our teacher saysin general, not quite right: an attempt to kill 3 at once! hares:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question