hourvova.blogg.se

Coding robotics
Coding robotics












  1. #Coding robotics how to#
  2. #Coding robotics code#

For example, “I go to school on Mondays”.

  • Come up with a rule - something that always happens in the same way.
  • Individual or Pairs | Materials: Paper, drawing supplies

    #Coding robotics code#

    Once the pair has come up with a few actions, the leader can perform them at random! See if the follower can keep up, without forgetting what action to perform with each direction from the leader.Ĭoding Connection: A new condition from the leader can change the action performed by the follower, just like a condition in code can change the path a computer program takes.For example: “ If I jump once, then you jump three times” or “ If i spin in a circle, then you clap your hands”. To increase difficulty, the leader can specify outcomes that are different than the condition.For example: “ If I touch my nose, then you touch your nose” or “ If I jump once, then you jump once” etc. The leader starts by giving simple instructions in the format of an If.Then.statement.One partner is the leader and one is the follower.then." statement that changes how code is executed. Hold Conditions Unplugged Coding Activitiesĭefinition: A condition is and exception to a rule.

    #Coding robotics how to#

    If instructions aren’t clear enough, the hider may need to find the bug and fix it so the finder can successfully reach the treasure.Ĭoding Connection: The treasure finder needs very clear instructions for how to find the treasure, just like computers need very clear and concrete algorithms to execute their tasks.

    coding robotics

    Once the instructions are written, the finder follows them exactly.Dig 2 inches down to find the treasure!.The instructions need to be very clear so the finder knows exactly what to do - otherwise, they won’t get to the treasure! Example: Next, the treasure hider writes out instructions explaining how to find the hidden object.One person hides a piece of “treasure” (this could be anything!) in an indoor or outdoor space.Pairs or Group | Materials: Treasure, paper and pencil This is also true for computer code, because a computer needs step-by-step instructions written in code to perform tasks. Reflect again - How do the two fish compare? Which process was easier or faster? Which process would you choose if you had to do it again?Ĭoding Connection: When creating paper animals, a clear sequence of instructions will help save time and minimize mistakes.Then, take another piece of paper and fold it into a fish again, but this time, refer to these step-by-step instructions.When done, reflect on the process - How did it go? What was easy? What was difficult? How long did it take?.Take a square piece of paper and fold it into the shape of a fish - no cutting, gluing, or looking at references!.

    coding robotics

    Individual | Materials: Square paper (origami paper preferred)

  • If one of the steps is incorrect or not specific enough, this will result in a bug in their algorithm and it will need to be redone.Ĭoding Connection: Computers need an explicit sequence of instructions to do anything! As a result, there will be bugs and the program won’t work correctly if instruction (code) is not clear enough.
  • “Robots” need to remember that they can only do exactly what their coder tells them to do.
  • Next, the coder gives their partner “robot” step-by-step instructions, also known as an algorithm, to complete the task.
  • The coder decides on a simple task for their partner “robot” to do the simpler the task, the better, like “walk across the room.”.
  • One partner is the “coder” and one partner is the “robot”.
  • Activities ranging from 5 - 30 minutes long and can be completed without any tech device Sequence Unplugged Coding Activitiesĭefinition: Sequence is an order of events Activity 1: Code a Friend














    Coding robotics