Frames and boxes: a pattern-based method for manipulating binary trees

  • Authors:
  • Bruria Haberman

  • Affiliations:
  • The Weizmann Institute of Science, Rehovot, Israel

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

The abstract data type (ADT) is one of the central concepts in computer science; it plays a major role in problem solving and in data storage and retrieval. Here we describe a pattern-based method for problem solving and for developing algorithms that utilizes abstract data types. Our method is based on the classification of problems that deal with the manipulation of abstract data types. A corresponding solution pattern was adapted to each class of problems. The method was designed to serve as a scaffolding tool for problem solving: to assist in analyzing problems, to recognize the main characteristics of a given problem, to determine a suitable solution pattern, and to use it to construct an appropriate algorithm that solves the problem. We demonstrate how the method is applied to teach binary trees.