---
description: No Coding Yet
---

# Thinking Like a Programmer

A group of marine scientists have asked you to develop an algorithm that could be used on a boat drone to drag around a sheet of this smart material to clean up an oil spill. This is an explanation of what you will be doing on the next few steps. Keep reading for your next action.

![](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lv2WUvcS_SaSI0IxVCY%2F-Lv2Wrm1Nr4CtRKD4ZhM%2Fimage.png?alt=media\&token=4491a7fb-edf7-425b-b9b0-89adf862c125)

![](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lv2Wtd2CLGJeNACRnrp%2F-Lv2X-bgTB7FA_cJb5UT%2Fimage.png?alt=media\&token=c0fca3a0-ca4f-4ec9-8dfb-f2944bfe0bc2)

As a group consider the Input - Process - Output of this Program

![Review the above material to Identify the Input and Process](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lv2XMvxgGB53wnydYey%2F-Lv2XZ4kM_RwCCSgcT9-%2Fimage.png?alt=media\&token=a1373c25-ace9-4384-987b-d87089a456b0)

### What will be the output?

At this stage we are developing an ALGORITHM to show to controlled movement of the boat...and to do that we need a grid. Can you think of a grid we might use?

![Consider have the boat be 1 LED moving across the grid](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lv2XwhURy43kri9LZ1X%2F-Lv2Y3ZVkLjgl3d5uzTt%2Fimage.png?alt=media\&token=6ebb09d0-17f2-43c6-a61c-4576884cacc0)

So on a piece of notebook paper as a group - identify the I P and O and add it to your envelope&#x20;

