Skip to content

    Code Canyon

    Year 6 Atur Cara Robot

    Writing a robot program from a flowchart, simulating it, transferring it to the hardware, testing and improving it, and building robots from recycled materials.

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

    A flowchart becomes a program by turning each symbol into blocks or lines of code. The program is simulated on screen first, then transferred (uploaded) to the robot’s controller, and the robot is tested in real conditions.

    What your child will learn

    • Write a robot program from a flowchart
    • Simulate a program and improve it
    • Transfer the program to the hardware and test it
    • Summarise and present the finished robot

    Test, debug, improve

    Real robots rarely work perfectly first time: a wheel slips, a sensor reads differently in bright light, a turn is too sharp. Change one value at a time — speed, turning time, sensor distance — and test again.

    Robots can be built from recycled materials: a box for the chassis, bottle caps for wheels, a cardboard arm. This keeps costs down and shows that good engineering does not need expensive parts.

    Example questions

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

    1. 1. Atur cara robot ditulis berdasarkan…

      🤖
      • lagu kegemaran
      • carta alir yang telah dirancang
      • senarai harga
      • gambar kartun
      Show answer

      Answer: carta alir yang telah dirancang. Carta alir menjadi panduan atur cara.

    2. 2. Simbol keputusan dalam carta alir ditukar kepada blok…

      • “mula”
      • “jika… maka…”
      • “gerak”
      • “tunggu”
      Show answer

      Answer: “jika… maka…”. Keputusan menjadi struktur pilihan dalam atur cara.

    3. 3. Membina robot daripada bahan terbuang dapat…

      ♻️
      • menambah kos
      • melambatkan robot
      • menjimatkan kos
      • merosakkan alam
      Show answer

      Answer: menjimatkan kos. Bahan terpakai boleh diperoleh secara percuma.

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

      💻
      • Ubah
      • satu
      • robot
      • nilai
      • semula.
      • uji
      • dan
      Show answer

      Answer: Ubah satu nilai dan uji robot semula.. Perubahan kecil memudahkan pengesanan masalah.

    Tips for grown-ups

    • Use a free online robot simulator together and program a robot to drive a square.
    • Build a robot body from a box and bottle caps.