Problem solving and programming

11
Innovative Use of Robots and Graphical Innovative Use of Robots and Graphical Programming in Software Education Programming in Software Education Scott Turner Division of Computing School of Science and Technology The University of Northampton Gary Hill Division of Computing School of Science and Technology The University of Northampton

description

A summary of the work being carried out in the school of science and technology, university of Northampton on the development of problem solving skills to support programming skill development.

Transcript of Problem solving and programming

Page 1: Problem solving and programming

Innovative Use of Robots and Graphical Innovative Use of Robots and Graphical Programming in Software Education Programming in Software Education

Scott Turner

Division of ComputingSchool of Science and Technology

The University of Northampton

Gary Hill

Division of ComputingSchool of Science and Technology

The University of Northampton

Page 2: Problem solving and programming

The Module

• 8 weeks are spent on problem-solving

– Initially stepwise refinement, group working and basic problem-solving concepts.

– As the module develops the focus moves from general concepts to solving problems based around robots.

– Series of robot exercises.

– Assessed by a robot based project.

– Comments from students are positive on the physical and visual nature of the approach.

Page 3: Problem solving and programming

• Remaining 16-17 weeks Java programming.

• Assessed by building on the first assignment to build a GUI based version.

Page 4: Problem solving and programming

Employability

• Group-work

• Presenting

• Solving time-bounded problems

Page 5: Problem solving and programming

Example

public class week2_4{

        public static void main(String[] args)

        {

                robot2 harry=new robot2();

                for(;;)

                {

                        //part of the routine inside the loop can go here

                        if (harry.checkBumpers()==true)

                        {

                                //what to do on wall detection wall goes here

                        }

                        //further code could go here

                }

                //code outside of the loop could go here

        }

}

Page 6: Problem solving and programming

Computing: Assessment

• 8 weeks are spent on problem-solving

– Assessed by a robot based project.

– Assessment includes elements aimed at:

• Satisfactory level

• Moderate level

• More Challenging

• Remaining 16-17 weeks Java programming.

– Assessed by building on the first assignment to build a GUI based version.

Page 7: Problem solving and programming

Examples

Page 8: Problem solving and programming

Programming Assignment

• “The java GUI application must emulate the movement of a robot to collect an item of rubbish and move it to a containment area before retreating/returning to a safe area/distance. ...It is expected that you may attempt to use and adapt previous robot routines produced as part of Assignment 1.”

Page 9: Problem solving and programming

Programming Assignment

Page 10: Problem solving and programming

Computing: Conclusions

• Problem-solving first before getting involved syntax of a programming language has some benefits.

• Visual and physical nature of robot is an advantage.

– From student feedback.

• Problem ownership is still a problem – is a ‘freer’, student-generated project the answer?

– Embedded in this year’s assignment.

• Each year the problem-solving assignment has increased in challenge at the ‘more challenge’ end.

Page 11: Problem solving and programming

Questions to be answered

• Other approaches that offer the visual nature but more flexibility of where they can be used needs further consideration.

– ALICE?

• Has it improved students programming ability?

– The work for the second assignment is reasonably high scoring.

– What is less clear is whether this is a short-term effect