Pages

Monday, 24 May 2021

Today at technology with Mrs Ferguson we coded micro-bits. We coded the micro-bits to mimic a dice, we coded the micro-bit to show different numbers on the dice by shaking the micro-bit. After coding the micro-bit to mimic a dice we coded the micro-bit to count our steps, we had to try many ways, first we coded the micro-bit to count only when one of our legs move, we achieved this by placing the micro-bits in our socks an walking. we had to do this many times and debug the micro-bit but it was all worth it. 

Here is my code.






Tuesday, 18 May 2021

Coding with Python

 Today at tech we used Python, Miss Ferguson gave us a micro-bit as a testing device and gave us a tutorial on how to use Python. We used python to create a mini Heart. When we were done with that we coded the micro-bit to play paper, rock, and scissors the whole class played, ( I  placed first, to lose.) After that Miss Ferguson let us do more coding, (I made a Pacman) we had so much fun coding with Miss Ferguson.

Here is my code for the small beating heart:

Maths problem solving

 You are making a fruit salad and need 2/3 of a cup of passion fruit. You have a 1/2, 1/4 and a ⅙ sized measuring cup. How will you measure the passion fruit? 

⅙ because 2 times 3 = 6

2 times 2 = 4

4/6 is the answer and to check if it's correct just divide it back.

4 divided by 2 = 2

6 divided by 2 = 3

Which brings us back to ⅔