Learning Objective 2.1.A: Represent patterns and algorithms that involve selection and repetition found in everyday life using written language or diagrams.
- 2.1.A.1 The building blocks of algorithms include sequencing, selection, and repetition.
- 2.1.A.2 Algorithms can contain selection, through decision making, and repetition, via looping.
- 2.1.A.3 Selection occurs when a choice of how the execution of an algorithm will proceed is based on a true or false decision.
- 2.1.A.4 Repetition is when a process repeats itself until a desired outcome is reached.
- 2.1.A.5 The order in which sequencing, selection, and repetition are used contributes to the outcome of the algorithm.
วัตถุประสงค์การเรียนรู้ 2.1.A: แสดงรูปแบบและอัลกอริทึมที่เกี่ยวข้องกับการเลือกและการซ้ำซ้อนที่พบในชีวิตประจำวันโดยใช้ภาษาเขียนหรือแผนภาพ
- 2.1.A.1 ส่วนประกอบพื้นฐานของอัลกอริทึมรวมถึงการเรียงลำดับ การเลือก และการซ้ำซ้อน
- 2.1.A.2 อัลกอริทึมอาจมีการเลือก ผ่านการตัดสินใจ และการซ้ำซ้อน ผ่านการวนลูป
- 2.1.A.3 การเลือก เกิดขึ้นเมื่อการเลือกวิธีการดำเนินการของอัลกอริทึมขึ้นอยู่กับคำตัดสินที่เป็นจริงหรือเท็จ
- 2.1.A.4 การซ้ำซ้อน คือกระบวนการที่ทำซ้ำตัวเองจนกว่าจะได้ผลลัพธ์ที่ต้องการ
- 2.1.A.5 ลำดับที่ใช้ในการเรียงลำดับ การเลือก และการซ้ำซ้อนส่งผลต่อผลลัพธ์ของอัลกอริทึม
