文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > Jeroo A Tool for Introducing Object-Oriented Programming
侵权投诉

Jeroo A Tool for Introducing Object-Oriented Programming

Jeroo is a tool that has been developed to help students in beginning programming courses learn the semantics of fundamental control structures, learn the basic notions of using objects to solve problems, and learn to write methods that support a functiona

Jeroo: A Tool For Introducing Object-Oriented Programming

Dean Sanders

Computer Science/Information Systems Northwest Missouri State University

Maryville, MO 64468

sanders@mail.nwmissouri.edu

Abstract

Jeroo is a tool that has been developed to help students in beginning programming courses learn the semantics of fundamental control structures, learn the basic notions of using objects to solve problems, and learn to write methods that support a functional decomposition of the task. Jeroo is similar to Karel the Robot and its descendants, but has a narrower scope that Karel’s descendants and has a syntax that provides a smoother transition to either Java or C++. Jeroo has been class tested at Northwest Missouri State University, and has proven to be an effective tool for working with students in a beginning programming class.

1 Introduction

The first programming course has always been difficult to teach. When computing curricula emphasized procedural programming, we observed that control structures and subprograms were among the more difficult topics for our students to master. As curricula moved to object-oriented programming, we observed that the list of difficult topics expanded to include the concept of objects. This paper introduces Jeroo, a tool that helps beginning students master these difficult topics. Jeroo is an integrated development environment and simulator that was inspired by Karel the Robot[7] and its descendants.

In the mid 1980’s, the first author of this paper introduced Karel to a beginning programming class at Illinois State University. Lacking appropriate hardware to have the students work with a simulator, all programs were handwritten. Examples were acted out or “animated” on the chalkboard. The lack of a simulator made it easy to implement the students’ suggestions for modifications to

Brian Dorn

Department of Computer Science

Iowa State University Ames, IA 50011 dorn@cs.iastate.edu

both the metaphor and the language. The metaphor evolved to kangaroo-like animals hopping around an island picking flowers and avoiding nets. The language was modified to fit the metaphor and to add logical operators.

In 1990, Lai Kuan Tong completed work on Jessica, which she developed as her master’s project at Illinois State University. Jessica is a development environment and simulator for the metaphor that was described above. The results of her work were never published, but her Jessica tool, was used successfully for several years at Illinois State University.

In 1999, the senior author of this paper revisited the Jessica project, and worked with students to define the requirements and construct a prototype for an object-oriented successor to Jessica. The result is the Jeroo tool.

2 Design Goals for Jeroo

A few major design goals guided the development of the Jeroo tool.

Design the tool for novice programmers.

Keep everything as straightforward as possible. Keep everything visible at all times.

Build a tool to use in just the first part of the course. Focus on just control structures, methods, and objects. Eliminate variables and data types.

Keep the Jeroo syntax close to Java and C++.

Provide animated execution and code highlighting.

Allow sophisticated problems to be solved without

complicated code.

Frequently, we referred to these goals to curb our enthusiasm for adding more features. The result is an effective tool that is easy to use.

3 Capabilities of Jeroo

The Jeroo tool has three major components. The Jeroo programming language has a basic set of features and a syntax that provides an easy transition to Java or C++. Editors allow a student to develop programs and arrange the initial positions of flowers and nets on the island. The runtime module provides both language translation and

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email