Visualizing Prolog: a "jigsaw puzzle" approach

  • Authors:
  • Lee Mondshein;Abdul Sattar;Torben Lorenzen

  • Affiliations:
  • Bridgewater State College, Bridgewater, Massachusetts;Bridgewater State College, Bridgewater, Massachusetts;Bridgewater State College, Bridgewater, Massachusetts

  • Venue:
  • ACM Inroads
  • Year:
  • 2010

Quantified Score

Hi-index 0.01

Visualization

Abstract

At Bridgewater State College, Prolog serves as a student's first introduction to programming in a declarative language. Students often find it difficult to understand how Prolog implements logical deduction and handles variable bindings as it processes a query. The authors show snapshots of the deduction process and present a graphical ("jigsaw puzzle") representation of the emerging logical relationships, which our students find to be helpful. Typical parent-child predicate relationships are used as introductory examples.