Listing all results (71)

Java programming with Greenfoot: bouncy coloured balls

In this revision tutorial students create a new game that features bouncing balls.  They revisit class and field structures, modifying images and using constructors to add new balls as well as exploring using methods to change parameters.

More resources can be found here

 

 

Meet the Sense HAT

 

Astro Pi is the name of a small computer developed by the Raspberry Pi Foundation, in collaboration with the UK Space Agency and the European Space Agency (ESA).

There are two very special Astro Pi’s. Their names are Ed and Izzy, and they have been qualified for spaceflight. They are now onboard...

How to Collect Data from Astro Pi

Astro Pi is the name of a small computer developed by the Raspberry Pi Foundation, in collaboration with the UK Space Agency and the European Space Agency (ESA).

There are two very special Astro Pi’s. Their names are Ed and Izzy, and they have been qualified for spaceflight. They are now onboard the...

Dijkstra's Algorithm

Dijkstra's algorithm finds the shortest path for a given problem. Dijkstra's algorithm can be used to find the shortest route between two cities. This algorithm is so powerful that it not only finds the shortest path from a chosen source to a given destination, it also finds all of the shortest paths from the...

Pseudocode Challenge

This activity, created by Pete Dring and originally published here, contains a resource which is accessed via the web browser (although it is just on the local machine). The web page once loaded contains 20 interactive ...

Fly by the Stars

Satellites and other spacecraft use star cameras to image space and to determine which direction they are pointing.

This resource, suitable for upper secondary school students, looks in detail at the night sky, examining objects and orbital motion within the solar system. Constellations and the stories...

Java programming with Greenfoot: viewer questions (timers)

This video tutorial considers how to arrange for something to happen after a specific time delay.  It covers the difference between real time and game time; the latter depends upon the program’s frame rate, which can be quickly altered by the speed setting within the game.  Expressing changes in real time is...

Java programming with Greenfoot: refactoring for good style (teacher commentary)

This video explains good coding behaviour.  This includes an emphasis on refactoring (changing code to make its structure better so that it can later be easily changed or understood) and cohesion (ensuring that each method does only one thing).  It also explains that private methods will only apply to objects in...

Java programming with Greenfoot: more loopiness

In this video tutorial students are guided through programming a nested loop to create multiple rows of blocks within their breakout game.  Different ways of achieving this are assessed and implemented.

More resources can be found here

Java programming with Greenfoot: classes and objects (teacher commentary)

The fundamental concepts of object oriented programming, classes and objects, are explained to students in this video tutorial.  The correct terminology is also introduced, including referring to ‘instructions’ as ‘methods’.  Students will be able to create multiple objects within a class using the examples...

Pages

View all publishers