Langkau ke kandungan

    Break-It-Down Bay

    Decomposition Umur 7–9

    Break big problems into small parts that are easier to build, test and fix — the way real programmers plan.

    • Umur 7–9
    • 3 misi
    • Permulaan → Semakin mahir → Cabaran

    Decomposition means breaking a big problem into smaller parts that are easier to solve. Programmers do it all the time: a game becomes a player, enemies, a score and a finish line — each built and tested on its own.

    Apa yang akan dipelajari anak anda

    • Explain what decomposition means
    • Break everyday tasks and programs into smaller parts
    • Know that small parts are easier to build, test and fix
    • Spot parts that can be reused

    One piece at a time

    “Make a game” is too big to start. “Make the player move left and right” is small enough to do today. Solving small parts one at a time, then putting them together, is how every big program — and every big project — gets built.

    Contoh soalan

    Berikut ialah beberapa soalan seperti dalam misi pertama. Bolehkah anda menjawabnya?

    1. 1. You want to tidy your bedroom. Which is a good first small task?

      • Buy a new house
      • Go to the Moon
      • Paint the whole house
      • Put the toys in the box
      Tunjuk jawapan

      Jawapan: Put the toys in the box. Start with one small job at a time.

    2. 2. After solving all the small parts, what do you do?

      • Throw them away
      • Forget them
      • Put them together
      • Start again
      Tunjuk jawapan

      Jawapan: Put them together. The small solutions join up to solve the big problem.

    3. 3. Which is a smaller part of making a sandwich?

      🥪
      • Spreading the butter
      • Learning to swim
      • Building a house
      • Going on holiday
      Tunjuk jawapan

      Jawapan: Spreading the butter. Spreading the butter is one step of the bigger job.

    4. 4. Which part of the game?

      • enemy
      • jump sound
      • collect coins
      • background music
      • avoid lava
      • hero

      Bakul: Characters · Rules · Sounds

      Tunjuk jawapan

      Jawapan: Characters: enemy, hero · Rules: avoid lava, collect coins · Sounds: background music, jump sound. Games are built from many smaller parts.

    Tip untuk orang dewasa

    • Plan a family picnic together by splitting it into jobs: food, drinks, games, travel.
    • Break a big Lego build into sections.