Explaining Algorithms: A New Perspective

Explaining Algorithms: A New Perspective

Tomasz Muldner (Acadia University, Canada) and Elhadi Shakshuki (Acadia University, Canada)
DOI: 10.4018/978-1-59904-941-0.ch131
OnDemand PDF Download:


This article presents a novel approach for explaining algorithms that aims to overcome various pedagogical limitations of the current visualization systems. The main idea is that at any given time, a learner is able to focus on a single problem. This problem can be explained, studied, understood, and tested, before the learner moves on to study another problem. Toward this end, a visualization system that explains algorithms at various levels of abstraction has been designed and implemented. In this system, each abstraction is focused on a single operation from the algorithm using various media, including text and an associated visualization. The explanations are designed to help the user to understand basic properties of the operation represented by this abstraction, for example its invariants. The explanation system allows the user to traverse the hierarchy graph, using either a top-down (from primitive operations to general operations) approach or a bottom-up approach. Since the system is implemented using a client-server architecture, it can be used both in the classroom setting and through distance education.

Complete Chapter List

Search this Book: