Skip to content

    Maze Meadow

    Year 6 Carta Alir Robot

    Planning a robot’s behaviour with flowcharts that sense, decide and repeat, such as avoiding obstacles or following a line.

    • Ages 10–12
    • 3 quests
    • Beginner → Getting stronger → Challenge

    Before writing a robot program, plan its behaviour with a flowchart. Robots usually run in a loop: read the sensors, decide, act, then repeat — again and again until switched off.

    What your child will learn

    • Draw a flowchart for a robot that senses and decides
    • Use decision symbols for sensor readings
    • Use a loop to keep the robot running
    • Trace a robot flowchart to predict its movement

    Two classic robot plans

    Obstacle avoider: MULA → move forward → is there an obstacle within 10 cm? If Ya → stop, turn right → back to the check; if Tidak → keep moving forward → back to the check.

    Line follower: MULA → read the infrared sensor → is the sensor on the black line? If Ya → turn slightly one way; if Tidak → turn slightly the other way → repeat. This zigzag keeps the robot on the edge of the line.

    Example questions

    Here are a few questions like the ones in the first quest. Can you solve them?

    1. 1. Sebelum menulis atur cara robot, tingkah laku robot dirancang menggunakan…

      ✍️
      • resipi
      • jadual waktu
      • peta harta karun
      • carta alir
      Show answer

      Answer: carta alir. Carta alir menunjukkan langkah dan keputusan robot.

    2. 2. Tiga langkah utama robot dalam ulangan ialah…

      • baca sensor, buat keputusan, bertindak
      • tidur, makan, bangun
      • beli, jual, simpan
      • lukis, warna, gunting
      Show answer

      Answer: baca sensor, buat keputusan, bertindak. Robot mengesan, memutuskan dan bertindak.

    3. 3. Carta alir robot bermula dengan simbol…

      🤖
      • TAMAT
      • JIKA
      • MULA
      • ULANG
      Show answer

      Answer: MULA. Simbol terminal menandakan permulaan.

    4. 4. Susun perkataan ini menjadi ayat yang betul.

      🧭
      • berulang
      • Robot
      • membaca
      • membuat
      • kali.
      • dan
      • keputusan
      • sensor
      Show answer

      Answer: Robot membaca sensor dan membuat keputusan berulang kali.. Ulangan mengekalkan robot berfungsi.

    Tips for grown-ups

    • Draw the obstacle-avoider flowchart together, then act it out walking around the room.
    • Lay tape on the floor and take turns being a line-following “robot”.