Skip to main content

Programming by experimentation and example

  • Conference paper
  • First Online:
Computer Assisted Learning (ICCAL 1992)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 602))

Included in the following conference series:

Abstract

In this paper we describe our long term project aimed at improving the teaching of the first year computer science courses. The project is based on extensive individually designed animation and visualization programs. All programs are written in THINK Pascal for the Macintosh, using QuickDraw toolbox. There are written in a good modular style with documentation that enables students to use the source code in their own programs. A separate collection of tools enables students to easily create graphical user interfaces. The programs can be used during lectures, in closed labs, as examples of programming style, and as tools to be used by students.

We describe three examples of the use of our modules. The first is a MiniPaint programming project students program after only six weeks of instruction. It gives them great freedom to design their own graphic user interface, teaches them about software engineering and provides a challenge for all levels of learners. The second example presents several different visualizations used in presenting recursion. The programming assignment, drawing of recursive trees, reinforces student's understanding of the difference between passing parameters to recursive procedure by value vs. by reference. The third example is a program that demonstrates all sorting algorithms typically introduced in the first year course, and a number of ways it can be used in teaching.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Moshe Augenstein and Langsam Yedidyah, Automatic Generation of Graphic Displays of Data Structures Through a Preprocessor, SIGCSE Bulletin, February 1988, Vol. 20, No. 1, p. 148.

    Article  Google Scholar 

  2. Ronald M. Baecker, An Application Overview of Program Visualization, Computer Graphics, July 1986, Vol. 20, No. 4, p 325.

    Google Scholar 

  3. Ronald M. Baecker and David Sherman, Sorting Out Sorting, 16mm color sound film, 30 minutes, 1981. (Shown at ACM SIGGRAPH '81 in Dallas, TX and excerpted in ACM SIGGRAPH Video Review No.7, 1983.)

    Google Scholar 

  4. Jon L. Bentley and Brian W. Kernighan, A System for Algorithm Animation: Tutorial and User Manual, Computer Science Technical Report No. 132

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Ivan Tomek

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Brown, C., Fell, H., Proulx, V.K., Rasala, R. (1992). Programming by experimentation and example. In: Tomek, I. (eds) Computer Assisted Learning. ICCAL 1992. Lecture Notes in Computer Science, vol 602. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-55578-1_64

Download citation

  • DOI: https://doi.org/10.1007/3-540-55578-1_64

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-55578-0

  • Online ISBN: 978-3-540-47221-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics