Year 6 have been programming physical systems. They have explored programming an emulator of CodeBug and then the real external device itself.
Below are images of the CodeBug Emulator and CodeBug External Device
CodeBug provides a fun and engaging way to build interactive devices. It is the perfect starting point to the world of electronics and computing.
They first programmed a scrolling name badge, followed by a sequence of animated pictures and then used Code Bug to investigate which objects conducted heat.
Here is a clip showing an example of an animated sequence.
Year 4 have been exploring how computers sort information into an order for example when sorting files into an order depending on size, date or type. They explored how to sort containers of different weights from the lightest to the heaviest using different sorting algorithms. They found out that ‘quick sort’ is the best method for this.
We went on to do some Irish dancing to understand how to sort 10 numbers into an order using a ‘bubble sort’ algorithm.
The children have been then looking at sorting networks, exploring how the network can sort 6 random numbers into an order. Some children were then able to design their own sorting network for 3 and 4 numbers. Edith and Sophia demonstrated theirs on the whiteboard.
Activities from: Computer Science Unplugged (http://csunplugged.org/)
Using Scratch the children programmed the input of the arrows on the keyboard to make an Etch a Sketch style game. They explored how different keys could be used to input different colours and width of pens for an output. The output is also the picture or graphic they drew on the screen.
The children then created a music box activity in Scratch to use the mouse as an input “When this sprite is clicked” and programmed outputs of sound and movement. They had to use repetition loops (forever and repeat) to play sounds when each of the sprites were clicked. They then added movement.
Year 4 have been programming procedures in LOGO to create LOGO roses and firework displays.
Aoife’s Programming Using Procedures
repeat 10[firework yellow move firework red move]
repeat 16 [fd 70 rt 160]
fd random 50
rt random 360
setpc [255 0 0]
setfloodcolor[0 0 0]
setpen [255 255 0]
Year 5 and 6 have been designing games in Kodu. They have created their own worlds with characters. Characters have been programmed to follow paths, drop objects, collect objects or even to shoot at other characters. They have created some fantastic worlds using the tools to create different terrains like water, hills and mountains.
Adding A Path
After investigating Packet Switching and what happens when we request a web page, we began to look at how web pages are made. We’ve been using HTML (Hypertext Markup Language) to create web pages. Firstly, we used Mozilla X-Ray Goggles to view the HTML that the web page is made up from. We then had fun editing the HTML to create some funny web pages.
Example of creating a character called Lucy in HTML
Over the last few weeks we have been looking at controlling physical systems and programming in Flowol. We’ve been looking at the differences between inputs and outputs by trying to work them out on a house mimic.
Then we looked at how we use sensors to control outputs on devices. In the lighthouse example the input is the sun. The children were introduced to subroutines. Subroutines are programs which wait to be called into the main program.
We have been looking at building and writing algorithms. We know that an algorithm is a sequence of instructions which has to be in a correct order to work. We created our own Crazy Character Algorithms in class from Barefoot Computing and then had to write the algorithm down in the correct order for our friends to draw our algorithm. Here are some of them:
We also have been teaching Mrs Sadler who is a Teacher Robot about how to make a jam sandwich. It was very funny and messy. This taught us that algorithms need to be precise in order to work. Here are out jam sandwich algorithms.