Logo image
Teaching programming with objects
Conference paper   Open access

Teaching programming with objects

G.G. Roy and J. Armarego
ASCILITE
ASCILITE 2004 Conference (Perth, W.A., 05/12/2004–08/12/2004)
2004
pdf
Published_Version.pdfDownloadView
Published (Version of Record) Open Access
url
Link to Published Version *Subscription may be requiredView

Abstract

This paper describes a new tool (P-Coder) that can assist in the teaching of Object-Oriented (O-O) programming concepts to novices. It builds on a pseudocode model that focuses on the most basic computational principles of sequence, iteration, selection and recursion. These are developed within an O-O framework that provides several views of the model: a Design View where the user interacts with the model to design the program (algorithms and structure); a Class View where the class structure can be visualised; a Code View where the generated code can be inspected, compiled and executed; and an Object View where objects can be instantiated from the defined classes. P-Coder provides a complete environment to demonstrate and implement many O-O concepts for novice users. There is a focus on developing an understanding of basic principles through a graphic/text based pseudocode notation representing the key program elements in a tree structured diagram. Users are able to design and build complete programs, compile and execute them in the normal way. Interactive object instantiation is also supported, allowing users to create, inspect and manipulate objects in their runtime state. This provides a useful perspective in teaching where the distinctions between Classes and Objects are often left confused.

Details

Metrics

148 File views/ downloads
42 Record Views
Logo image