Why are Sequences Important?

Sequences

Why are Sequences Important?

One of the most important concepts in this activity (and programming in general) are sequences.

Computers not only need precise instructions to complete tasks, but also these instructions need to be in the right order.

For example, say we have a robot that we are programming  to navigate a jetty over water, as shown in the image below.


To help the robot move along the grass, we first want the robot to move up by one square and then move to up by one square again.

But what would happen if we told the robot to move right by one square?

When we program a computer, it will do exactly what it is instructed to do - so in this example the robot would end up in the water!


Views
1 Total Views
1 Members Views
0 Public Views
Share on Social Networks
Share Link
Share by mail

Please login to share this webpage by email.