Category: General News (page 1 of 21)

History: The Transatlantic Slave Trade by Callum MacDonald


Users who have LIKED this post:

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar

Algebra help by Tom Gill


Users who have LIKED this post:

  • avatar

Periodic Table Revision Guidelines. Will W

Physics:Reflection, Refraction and light waves by Jamilm


Users who have LIKED this post:

  • avatar
  • avatar

Programming Reflection by Imogen

What Algorithms have you been creating on the microbits?

We have been writing algorithms, which the micobit understands, to create animations like falling snow flakes and games such as guess the number.

How has sequencing affected your coding?

We have been using touch development to create algorithms which can be downloaded onto the microbit.

What variables have you used when programming the microbits?

Sequencing affects the code lots as if it is in the wrong order the code won’t work.

What are variables and have you used when programming the microbits?

A variable is something which changes in the code and store information. I used a variable when I programmed a compass on the microbit. The variable meant that when the microbit changed direction the letter, standing north, south, east or west, changed.

Have you used any loops?

I used a loop when programming a snowflake animation so that the snowflake would continuously fall.

What are functions and how you used them?

Functions are different sections of code inside the main code which do specific things. We used them to make the microbit work.


Users who have LIKED this post:

  • avatar

Programming Reflection by Ben W

What have we been doing with Micro:bits?

I have been programming Micro:bits on a website called ” micro:bit : Touch Develop Lessons ”

What sort of algorithms have you been writing?

An algorithm is a process or set of rules to be followed in the script or another problem-solving. I have been writing algorithms which makes LED lights on the micro:bit light up then want them to, this is well understood by the computer and then the script or the ” game ” is transferred into the micro:bit.

How has sequencing affected your code?

Sequencing is a set of ruler is a specific order so it makes sense so the action, or event works right. Sequencing has affected my code allot because it shows me that when I understand the code I am writing it makes it allot easier and fun. For example in Rock, Paper, Scissors it gives a random LED format which you have chose yourself.

Have you had to debug anything? Provide examples.

Debugging is when you find a problem in your code and fix it, for example in “Line of Fire” the dot on the LED light was not moving when it was transferred to my micro:bit  so I went back onto my code realized that on the dot code it said “paused” and then set in to move.

What are variables and have you used them when programming a Micro:bit?

A variable is a piece of code that stores information and is given a name from what you choose, and you only make it when there is quantity of information that is referred to as a value. I did use a variable and I used it in a game called “Line of Fire”, the variable that i made counted how many times i had lost and won.

Have you used any loops? Give some examples.

A loop is a piece of code which allows to be executed repeatedly, I have used loops on a game called “Line of Fire”, on this game the dot that I am trying to catch on the center of the LED board and it has to do random pattern over and over again.

What are functions and how have you used them when coding your Micro:bits?

A function is code which all works together to create a certain purpose or a certain “function”. I have used functions quite allot because in all of the games I have done they all need a certain function to work. I have used function’s in a game called Line of Fire and the dot has a function to tell it to go to a certain speed, and by changing the code.


Users who have LIKED this post:

  • avatar
  • avatar

Programming reflection by Katelyn T

What have we been doing on the Micro bits?

We have been using a website called Micro:bit: Touch develop lessons to help us program the Micro bit. On this website there are loads of different tutorials that you can follow to help you program your Micro bit to do different things. Once we finished the tutorial we would press a button called compile and that allows me to download my algoriths on to my micro bit and the the the micro bit will do what we have programmed it to do.

 What sort of algorithms have you been writing?

I have written a range of different algorithms some examples of the ones I have written are :

Truth or dare,Snowflake fall,glowing sword and Guess the number.

The latest one I have finished is pong which was the one that I found hard to do as it has 36 steps to complete.

 

How has sequencing affected you code?

The sequence aloud my code to go in a specific order. This aloud the game e.g Truth or dare  to make sense. For example the sequence aloud the word truth or dare to show up in a random order so that people would not have to  continually  get a dare and some one else always get a Truth all the time otherwise the game would be very boring.

 

Have you had to debug anything? 

I have had to debug guess the number as it kept on showing up 1 and 2 but no other number this was because when I coded the Micro bit to show number 3,4,5 and 6 I did not put else if in front of them this meant that when I went to program my Micro bit it would not work so I had to go back and correct the code. Once I did that the Micro bit worked.

 

What are variables and have you used them when programming the Micro bit?

 

A variable is something that can change, depending on the way you have Programmed something. A variable usually consists of Information that tells the computer what to do.

I think that we have all used variables in our work as they tell the Micro-bit what to do.

 

Have you used any loops? Give some examples.

When I was working on the flashing heart I used a loop as the heart kept on flashing which shows that it is in a loop because It was doing the same thing over and over again.A  loop is when you program something to continue doing the same thing over and over again when you use loops you usually put things on something called a forever loop which keeps things that you have programmed doing the same thing forever until you stop it.

 

What are Functions and have you used them when programming your Micro bit?

In programming, a named section of a program that performs a specific task is called a function. A function is a type of  routine that the Micro bit follows.

We have used a function in every thing that we have coded as for our Micro bits to work they need to use a step by step instruction which we had created.


Users who have LIKED this post:

  • avatar

Lilly Sheppard – Programming Microbits Review

What algorithms have you been doing on the Microbits?

In our microbit project we were able to choose different tutorials which showed us algorithms to  follow in order to make a code for games. An algorithm is a type of instruction the computer follows.  I was able to code, a compass script, a spinner script, whack a mole script, pong script, catch the egg script. The compass script shows weather you are facing North, South, East or West. I attempted to improve the algorithm by adding a NE, NW, SW, SE, I wasn’t able to finish it but if we had more time in the future I would come back and debug my code. The spinner script is coded to show and arrow facing a random way when it has been shaken, this was quite a simple algorithm but it enabled me to discover my way round the set up, I explored new variables and I included a variety of if else codes in my algorithms. My Whack a mole script was an advanced algorithm it was harder to follow, because the computer didn’t show you where all the pieces of code were. To attempt this I had to know my way around simple variables, loops, else if and plotting lights. This code required a lot of debugging and eventually I was able to completely debug it after many attempts and place the script onto my microbit. The catch the egg script was quite simple once you gained an understanding of what the pieces of algorithms meant and did. I was unable to complete the pong script, I attempted this script on my second go at making an algorithm which was a big step, because I had little experience with the touch develop coding style. I was used to doing the block coding style which is much more simple all you have to do is drag pieces of block code onto your script. If we had more time I would come back to my script and finish it having gained more knowledge since then.

How has sequencing affected your code?

Sequencing is vital in your code if the sequencing is wrong it can have a knock on affect with your whole code. It doesn’t matter how little is wrong it will still affect your code and your game will not work properly. Before compiling the  scripts I checked my sequencing was correct, I found the easiest way to check is to compile that game and play it on your micro bit. Having understood your code, if there is something wrong you know your sequencing is wrong and you can debug and change the algorithm. Sequencing on the touch develop tutorials were easier, because it told you if and where you had made a mistake as you went along.

Have you debugged any thing? Provide examples.

The Whack a mole script needed a lot of debugging, because it was not on a tutorial mode I just had to refer to a picture of the code which could easily be misread. I managed to use my own knowledge to adapt the script so it worked properly. I debugged section by section and changed the sequencing to the correct order. Eventually I got the game running and displayed it on my microbit. Other scripts required debugging as I went along which made it  a bit more time efficient, because you don’t have to go through the whole script again to try and find the bug.

What variables have you used when programming the microbit?

I used the GameRunning?, ButtonPressed?, Mole position, start time, change item to, change item by number. The game running variable is used to start and stop your game it is usually attached to a true or false block. The ButtonPressed? variable is also usually attached to  a true or false block. It is used to determine what the game does if A or B is pressed. The mole position variable  is used before plotting where the LEDS are suppose to be. I used this variable in the whack a mole game. Start time before the running time input. The change item to variable is used to change something the script is telling the computer to do so that the code tells the computer to do something else. E.g. Change – time- to 60

 

Have you used any loops?

I have used loops in almost all my scripts, loops are used to repeat a script forever, when the script is ended the computer will read that script from the top again and carry on doing this for as many times you code it to, e.g. repeat — times, do. The ‘do’ is used so they computer knows what to follow for —– times. Another loop I used was the while do loop, it tells the computer to do two things at a time, e.g. while button A pressed, set time to.

What are functions and how have you used them?

Functions are sections of a program that performs a specific task. We used them to save us from writing the same piece of code over and over again.  In your code once you have selected the function name you need to code a mini script of how the function is going to work, you need to put in ‘end function’  at the end so that the computer knows where the mini function code ends and the rest of the script starts again. E.g. Dance function, code the character to dance then, ‘end function’ later on if you need to make your character dance again on instead of coding the dance part again select the dance function you have coded already. Functions allow us to save space and time.

 

 

 

Reflection George T

What Algorithms have you been creating on the microbits?

I have created many algorithms for example I have made pong. The game pong to quite a long time to make because is such a big game and more complex than other games that i could of chose but i decided to challenge myself as an individual. I also made a compass to point to north east south west.

How has sequencing affected your coding? 

Sequencing has affected my coding because it needs to be in the right order otherwise the program will be wrong. For example if you were about to play football and you put your socks on before your shin pads that would be the wrong order and I would have to correct it.

Have you had to debug anything?

No I haven’t had to debug anything because I got all of it right and therefore had no errors to debug.

What variables have you used when programming the microbits?

I used many variables in pong because I had to make the ball deflect off of the paddles for the ball to stay alive and carry on playing the game. I also had to make a variable for when the ball got past the paddle and make it go game over.

Have you used any loops?

I have used loops for when the  game finishes and it has to start again once game over has been read.

What are functions and how you used them?

Functions is a language or a sequence in computing terms. I used them bye typing in numbers a letters into the code to program pong.

 

Microbit Topic Questionnaire by harrison f.

1.  What ALGORITHMS have you been CREATING on the Microbits?

During the Lent term we have been using Microbits. With  the Microbit I have been making an Algorithm on the microbit website.  On the website we could transfer information to our hard drives which made it able for us to play the games we have made on the website.

2. How has sequencing affected your code?

Sequencing effects the code because if the microbit has the wrong code it will not function meaning our games will not work. On the microbit website, there were instructions which helped us get our coding in the correct order. Microbit also gave us the option to either type the code in or drag the code in.

3. Have you had to debug anything? Provide examples.

Yes I had to debug a piece of code on truth or dare because when I shook the microbit the arrow wouldn’t move occasionally. It happened because in my code I missed out a small bit of code, but luckily it was only a small error.

4. What variables have you used when programming the microbits?

Variables store little bits of code that can randomise the game at any time if the game has levels. None of my projects had levels but on truth or dare I had the option to make the arrow appear faster on the microbit.

5. Have you used any loops? Give some examples.

Loops are used in coding so you don’t have to keep typing the code in over and over again. None of my projects had to use loops because most of them were word or arrow based.

6. What are functions and how have you used them in coding Microbits?

Functions are a group of instructions in a sequence which can make your code work in a different way.

 

Older posts