Listing all results (48)

Java programming with Greenfoot: if statements (teacher commentary)

In this video tutorial students explore method return values in more details.  True or false (Boolean) statements are used to create if statements.  In this example an object, a turtle, is programmed to interact with the edge of the world (the screen) by using an if statement.  Students are then able to make their...

Java programming with Greenfoot: dealing With errors

This video tutorial explains the different error codes that occur in Greenfoot Java and other programming languages and demonstrates how to find out exactly where the error has occurred.  This includes syntax errors (which present code from compiling as something has been typed incorrectly) and runtime errors (...

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...

Java programming with Greenfoot: adding random behaviour

This video tutorial introduces students to the Greenfoot API (application processing interface) – a collection of shortcut commands built in to the Greenfoot environment.  Students are guided through using the API to make their turtle move in a random manner by generating random numbers and inserting them into an...

Java programming with Greenfoot: installing Greenfoot

In this video tutorial students are guided through the process of installing Java and the Greenfoot environment on a range of operating systems.  Common installation problems are also addressed.

More resources can be found here

Java programming with Greenfoot: return of the object interaction

This video tutorial presents an alternative approach to programming objects to interact, specifically a different structure for making the ball and counter objects cooperate in the breakout game.  The concept of ‘coupling’ is introduced – dependency/links between objects.  ‘Casting’ is also explained as a way of...

Java programming with Greenfoot: animating the image

In this video tutorial students increase the complexity of their bouncing ball game.  They are introduced to dynamically changing images by increasing their bouncing ball’s transparency as the game progresses.  This is achieved by adding ‘else’ to an ‘if’ statement.  A special keyword, ‘this’, is introduced that...

Java programming with Greenfoot: how to display text

In this video tutorial students are shown how to add text in to their games.  This may be static text that does not change, such as instructions.  It may be dynamic text that changes as the program runs; in this example it is a score counter that increases in value as the game progresses.  This latter example is...

This will revolutionize education

This video explores how technology has always been expected to replace teachers.  It concludes that a teacher’s purpose is not to transmit information, but to guide the social process of learning. To challenge, inspire and excite their students to want to learn.

Java programming with Greenfoot: object interaction (a second look)

This video tutorial explores an essential element of object oriented programming – getting objects to interact.  This is modelled by integrating a counter object into a scenario – in this case, a simple paddle and ball breakout game.  The tutorial uses a previously created score counter and shows a method to...

Pages

View all publishers