Problem solving and programming

Post on 01-Dec-2014

659 views 0 download

Tags:

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

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

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.

• Remaining 16-17 weeks Java programming.

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

Employability

• Group-work

• Presenting

• Solving time-bounded problems

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

        }

}

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.

Examples

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

Programming Assignment

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.

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