Showing posts with label year 8. Show all posts
Showing posts with label year 8. Show all posts

Sunday, May 23, 2021

Maths in Y8 Coding

 This week was the last week of the Technology rotation for my Year 8 coding class. I have taught them coding since they were in year 7 and we have had a lot of fun.

For the last couple of weeks we have been playing with the Microbits. We have also been playing with mBots and Drones over the last couple of years. I am a Graphics teacher and I have only been teaching coding for the last two years, so I am learning as i am going with the students. Here is my planning on my class site.

This week, we made the Microbit into a step counter. They had to code their microbit to count each time it was shaken and show that number on the LED's. They then had to stuff it down their sock and go outside and test it.

They had to analyse if the step counter was counting one leg or just the one. We then discussed what differences to make if they thought it was just counting one leg.



The next step was to get the Microbit to measure how far they had walked. The students measured their stride, then changed the number being shown on the Microbit to that stride length multiplied by the number of steps.




To test this, the students went into the carpark with rulers and chalk and marked out a 3 meter line so they could walk down that and see if the Microbit was saying the same amount.

Here they are out in the carpark doing the testing. It was pink shirt day on this day which is why they are looking really pink.



Here is the class and me looking very pink.



Friday, June 26, 2020

Coding Matariki Stars with mBots

This week we have been celebrating Matariki and we have had lots of activities and competitions. Many of these activities involved the theme of stars so  decided to continue this theme with my Year 8 class this morning. We have been coding our mBots to move, make noises, make lights come on, react to sensors. Today, we were coding our mBots to move in a star pattern.
First of all, we drew stars on paper without taking our pencils off the page.
Then we looked at what we would need in mBlock to code the star. They already know the repeat block.
These were the blocks they needed to use. The tricky part was setting the variables to the correct values so the mBot will turn the correct amount on the points of the stars.



The students showed fabulous resilience today and went about the task of trial and error really happily.
We went out into the carpark about half way through. We drew big stars on the ground and walked the path so they could feel the actions that the mBot needed to take.
When they were testing the movement of the mBots in the class, we decided to tape a board marker pen to the front so it could draw on the table top. The students could then see the motion clearer and see what changes needed to be made.


. 

The students have been writing this up on their blogs and explain it much better than me.

Florence
Giovani
Karlos
Sakshi
Ellenora
Akuhata