# Using AI to Learn about Algorithms

By Freedman, Reva | Academic Exchange Quarterly, Fall 2005 | Go to article overview

# Using AI to Learn about Algorithms

Abstract

As a course available for general education credit, one purpose of our undergraduate Introduction to Cognitive Science course is to increase students' understanding of mathematical concepts. We chose to concentrate on the concept of algorithm. The course contains a section discussing artificial intelligence as a way to simulate human cognition, using both symbolic and numerical algorithms. Since many undergraduate students are uncomfortable with numbers, we chose a program that used a symbolic algorithm. We replaced the discussion of this program with a live demo that students could discuss step by step. The demo program simulated a grocery store bagger. As this program was an example of an expert system, a program that simulates human expertise, students could not only watch the program make choices for different sets of groceries, but change its bagging rules as well. Thus students were able to observe the underlying expert system algorithm as well as a family of bagging algorithms. Course evaluations showed that students enjoyed the demo and found it more helpful than the material it replaced, but they still found the material difficult.

Introduction

An important part of learning mathematics at the university level is the concept of algorithm. Yet many undergraduate students are uncomfortable with numbers, even to the point of math anxiety (Tobias, 1990). This paper reports on an attempt to increase students' understanding of the concept of algorithm in a general education course without triggering the nonproductive responses often fostered by previous negative experiences with mathematics. To this end, we replaced a segment discussing the behavior of various computer programs in our Introduction to Cognitive Science course with a live demo that students could discuss step by step.

Moursund (2005) points out that the term "algorithm" has different connotations in mathematics education and in computer science. For both types of educators, an algorithm describes a procedure for solving a problem or obtaining a result. In mathematics, an algorithm usually involves a calculation, while in computer science, an algorithm may use words, structures, or other symbolic elements instead of numbers. For this study we selected a symbolic algorithm rather than a numerical one. Using familiar content along with an approach and notation that students had not seen before, we hoped to trigger curiosity and enthusiasm rather than the negative feelings that a numerical approach might otherwise trigger.

Naps et al. (2002), in a survey of software visualization experiments, conclude that learner engagement with the software may be the most important factor in student learning. This is consistent with Papert's classic work (Papert, 1980) on engaging children in creating software using the Logo language. Papert's work was based on the constructivist approach of Piaget (1973). Some of the practices most generally considered useful for this purpose include adapting to the knowledge level of the student, supporting flexible execution control of the program, supporting learner initiatives in changing the data, showing history in addition to current state of the system, and including explanations along with the demo. The intent of these practices is to help students attain deeper levels of understanding as measured by Bloom's taxonomy (Bloom & Krathwohl, 1956). Using these principles, we wanted to help students understand the concept of algorithm by providing students a compelling experience where they could see an algorithm run and affect what it does.

In the next section we explain our motivation for teaching artificial intelligence in a Cognitive Science course and how we selected the software to use in the study. In the following section we describe how the software works and how we used it in class. Then we give the results of our study. Finally, we place our work in context. …

If you are trying to select text to create highlights or citations, remember that you must now click or tap on the first word, and then click or tap on the last word.
One moment ...
Default project is now your active project.
Project items
Notes

#### Cited article

Style
Citations are available only to our active members.
Buy instant access to cite pages or passages in MLA 8, MLA 7, APA and Chicago citation styles.

(Einhorn, 1992, p. 25)

(Einhorn 25)

(Einhorn 25)

1. Lois J. Einhorn, Abraham Lincoln, the Orator: Penetrating the Lincoln Legend (Westport, CT: Greenwood Press, 1992), 25, http://www.questia.com/read/27419298.

#### Cited article

Using AI to Learn about Algorithms
Settings

#### Settings

Typeface
Text size Reset View mode
Search within

Look up

#### Look up a word

• Dictionary
• Thesaurus
Please submit a word or phrase above.

Why can't I print more than one page at a time?

Help
Full screen
• Highlights & Notes
• Citations
Some of your highlights are legacy items.

### How to highlight and cite specific passages

1. Click or tap the first word you want to select.
2. Click or tap the last word you want to select, and you’ll see everything in between get selected.
3. You’ll then get a menu of options like creating a highlight or a citation from that passage of text.

## Cited passage

Style
Citations are available only to our active members.
Buy instant access to cite pages or passages in MLA 8, MLA 7, APA and Chicago citation styles.

"Portraying himself as an honest, ordinary person helped Lincoln identify with his audiences." (Einhorn, 1992, p. 25).

"Portraying himself as an honest, ordinary person helped Lincoln identify with his audiences." (Einhorn 25)

"Portraying himself as an honest, ordinary person helped Lincoln identify with his audiences." (Einhorn 25)

"Portraying himself as an honest, ordinary person helped Lincoln identify with his audiences."1

1. Lois J. Einhorn, Abraham Lincoln, the Orator: Penetrating the Lincoln Legend (Westport, CT: Greenwood Press, 1992), 25, http://www.questia.com/read/27419298.

## Thanks for trying Questia!

Please continue trying out our research tools, but please note, full functionality is available only to our active members.

Your work will be lost once you leave this Web page.