English Program ของอัสสัมชัญ บางรัก ใช้ภาษาอังกฤษในวิชาคอมพิวเตอร์ คณิตศาสตร์ และวิทยาศาสตร์ เด็กเตรียมขึ้น ม.1 ลองอ่านบัตรเส้นทางหุ่นยนต์ด้านล่าง แล้วตัดสินใจว่าคำสั่งใดทำก่อนเมื่อเห็นป้ายสองป้าย
อ่านบัตรคำสั่งก่อนตัดสินว่าโค้ดควรไปทางไหน
English Program ของอัสสัมชัญ บางรัก ใช้ภาษาอังกฤษในวิทยาศาสตร์และเทคโนโลยี คณิตศาสตร์ และคอมพิวเตอร์ แบบฝึกนี้ให้เด็ก ป.6 อ่านสองเส้นทางในบัตรคำสั่งหุ่นยนต์แบบไม่ต้องเขียนโค้ดจริง
Workshop card · A robot at the corner
Draw two blocks on a page. Mark one edge with a black line and put a label marked STOP at the end. The robot is a paper arrow. A student moves it along the edge one square at a time. After each move, read the sensor label for that square. If the label says dark, turn the paper arrow left. If the label says light, move one more square without turning. If the square is STOP, end the route before checking the sensor.
A turning arrow stays in its current square until the next move. Put it in the new direction before reading another instruction. The route on the second card has an extra black label after the stop square, so following the steps out of order will change what you write down.
ลูกอ่านว่า turn left แล้วอาจเอาลูกศรหมุนทันที ลองถามว่า “ช่องนี้เขียนว่า dark แล้วหรือยัง?” คำสั่งเลี้ยวใช้เมื่อป้ายตรงเงื่อนไข ไม่ได้ใช้ทุกช่อง
| ช่องที่มาถึง | ป้าย | สิ่งที่ทำ |
|---|---|---|
| 1 | light | ไปต่อหนึ่งช่องโดยหันทางเดิม |
| 2 | dark | หมุนซ้ายก่อนขยับอีกครั้ง |
| 3 | STOP + dark | หยุด ไม่ต้องอ่านป้ายเซนเซอร์ |
| 4 | dark | ไม่มาถึงเมื่อหยุดตรงช่อง 3 |
ก่อนตอบว่าเลี้ยวซ้ายอีกครั้ง ให้หาเหตุที่ต้องหยุด
Question. Does the robot turn left at square three? Which instruction decides that?
Answer. No. A STOP square ends the route before the sensor is checked. The dark label has no effect there.
Write one branch. If square two changes to light, will the robot reach square three facing the same direction as in the first route? Explain in one short sentence.
ลูกอาจถาม “มี dark กับ STOP ด้วยกัน จะใช้ตัวไหนก่อน?” ให้เขาย้อนหากลุ่มคำ before checking แล้วลองพูดสิ่งที่หุ่นทำก่อนหยุด คำเดียวที่บอกลำดับทำให้แผนเปลี่ยน
ให้ลูกเขียนป้ายใหม่ แล้วสลับให้พ่อเป็นคนเดินตาม
New rule. Add a label marked WAIT. The robot should spend one turn there and then move on. Tell the other player what happens if a square has both WAIT and STOP.
One version. If a square has both labels, obey STOP and end the route. Use the WAIT rule only on a square without STOP.
ถ้าเด็กวาดลูกศรถูกแต่ยังตอบภาษาอังกฤษสลับเวลา ส่งเส้นทางที่วาดและบรรทัด if ที่อ่านผ่าน LINE ให้ครูฟังได้ ครูจะดูว่าคำเงื่อนไขหรือคำบอกลำดับส่วนใดควรฝึก
บัตรคอมพิวเตอร์อีกใบ: คำไหนบอกให้ลองใหม่?
Extra instructions. A display reads READY, AGAIN or STOP. If it reads AGAIN, move the arrow one square back and read the next card. If the next card says STOP, end the route even if the arrow has not reached the last square.
Check. You see AGAIN at square four and then STOP at square three. Where does the route end? It ends at square three.
โจทย์ใหม่นี้ทำให้หุ่นถอยหลังได้ ชวนลูกชี้ว่าคำไหนสั่งให้กลับหนึ่งช่อง และคำไหนทำให้หยุดก่อนถึงเป้าหมายเดิม
ครูจะทำให้เห็นข้อผิดพลาดโดยไม่เฉลยทั้งเส้นทางได้อย่างไร?
ในคาบหนึ่ง ครู ProtoStar อาจวางลูกศรจริงให้เด็กเล่ากติกาและขยับตามไปจนถึงช่องที่ลืมหยุด เด็กมองตำแหน่งนั้นอีกทีแล้วแก้เพียงประโยคเดียว ครั้งละ 40 นาทีบนออนไลน์ เรียนกับครูต่างชาติคนเดิมแบบเดี่ยวหรือคู่สองคน
ฝึกอ่านอังกฤษในโจทย์คอมพิวเตอร์และวิทย์ · เขียนคำสั่งเรียงตามเงื่อนไข
เมื่อโจทย์มีคำสั่งสองชุดในบรรทัดเดียว
ต้องเขียนโค้ดเป็นก่อนทำแบบฝึกนี้ไหม?
ใช้ลูกศรกระดาษและอ่านทีละช่องได้ ไม่ต้องใช้โปรแกรมเพื่อเลือกว่าจะเลี้ยวหรือหยุด
อ่าน if แล้วข้ามส่วนย่อยได้ไหม?
อ่านถึงเงื่อนไขจบก่อนลงมือ เพราะคำสั่งหลัง if ใช้เฉพาะช่องที่ตรงกับเงื่อนไขนั้น
ถ้าเห็น STOP ก่อนแต่ช่องมืดด้วยล่ะ?
บัตรใบนี้ให้หยุดก่อนดูป้ายเซนเซอร์ ช่องมืดจึงไม่ทำให้เลี้ยวในรอบนั้น
โจทย์นี้มาจากเอกสารเรียนของอัสสัมชัญหรือไม่?
เป็นแบบฝึกที่เขียนขึ้น รายวิชาที่ใช้ภาษาอังกฤษอ้างจากหน้า English Program ของโรงเรียน

ปรึกษาทาง LINE