I'm one of two volunteer teachers at a nearby Detroit high school and won one of the classroom packs. The Teals idea is to get teachers able to teach CS independently by pairing them up with industry professionals until they can teach CS on their own. This is the 2nd year for the program here in Michigan and this year most of the students are sophomores or juniors with a couple of seniors. Many have never coded before.

 

The TealsK12 curriculum has them coding in Snap! which is a graphic language that runs in the browser much like the micro:bit environment does.

 

That background aside, I wanted to teach at least one “real” computer science type algorithm and the Micro:Bit has become both the platform we will do it on as well as a practical demonstration on how programmers are often required to switch to new languages, environments, platforms, etc. but the base concepts are the same no matter which world you are in.

 

The students should already be familiar with and able to use variables, conditional statements, loops, the basics of input / output and the concept of an algorithm before introducing this lab.

 

We are close to that point now but I’m afraid we won’t be able to do this lab before the deadline given the holiday break.

 

So here is the binary search lab / game submitted for your use / approval! I included a sample solution in script, graphic, text suitable for copy / pasting, as well as a link to the project itself shared for the instructor to reference.

 

If there are any questions, please feel free to email me.

 

Regards,

David Soussan