Saturday, December 13, 2014

Flowchart (รูปแบบการเขียนผังงาน)

1.Sequence
A sequential function from start to finish. A simple format without any comparison with the direction of data flow only one way. This could be a top to bottom or from left to right as to calculate the area of a rectangle. Be written as flowcharts shown.

1. รูปแบบการเขียนแผนงานตามลำดับ
เป็นการทำงานแบบเรียงลำดับ ตั้งแต่ต้นจนจบ เป็นรูปแบบง่าย ๆ ไม่มีการเปรียบเทียบใด ๆ มีทิศทางการไหลของข้อมูลเพียงทางเดียว ซึ่งอาจจะเป็นแบบบนลงล่าง หรือ จากซ้ายไปขวาก็ได้

sequential flow
2.Decision
This format is more difficult than the first form. It will have to create the conditions for a run. If you choose to work in any way, it will be selected conditions. The conditions set up is written in symbols.
2.รูปแบบการตัดสินใจ หรือ เลือก
รูปแบบนี้จะยากกว่ารูปแบบแรก เพราะจะมีการสร้างเงื่อนไขเพื่อให้เลือกทำงาน ถ้าหากเลือกทางใดก็จะไปทำงานในเงื่อนไขที่เลือก ซึ่งเงื่อนไขที่กำหนดขึ้นนี้จะเขียนอยู่ในสัญลักษณ์ "การตัดสินใจ"


3.Loop or Iteration 
The function of this model, This work is repeated as many times as we want. (May be done only once. Or may not work at all) in which this work is based on the given conditions. And will help bring out the nature of the decision to have the operation again or not.
3.รูปแบบวนซ้ำ
การทำงานของรูปแบบนี้ จะเป็นการทำงานซ้ำ ๆ กัน หลาย ๆ ครั้งเท่าที่เราต้องการ (หรืออาจจะทำเพียงครั้งเดียว หรืออาจจะไม่มีการทำงานเลยก็ได้) ซึ่งการทำงานนี้จะขึ้นอยู่กับเงื่อนไขที่กำหนดให้ และจะมีการนำเอาลักษณะของการตัดสินใจมาช่วยว่าจะมีการทำงานซ้ำอีกหรือไม่

No comments:

Post a Comment