






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Steffen Heber and Brian Howard
Abstract
This report summarizes our progress so far on the LITRE project âIntegrating Algorithm Visualization into CSC 505â. The majority of the implementation goals described in the original proposal have been met. However, part of the final evaluation of the resulting algorithm visualization library will not take place until the spring semester 2008.
1.1 Description
The goal of this project is to create a library of interactive visualizations for use in teaching CSC 505: Design and Analysis of Algorithms and other related courses such as CSC 316: Data Structures for Computer Scientists. Currently, these classes teach students the use of data structures, fundamental algorithms, algorithm design, and algorithm analysis techniques mostly using conventional educational tools such as black board and overhead projector. Our goal is NOT to replace these tools, but to complement them with dynamic and interactive visual representations of abstract algorithm design and analysis concepts (e.g. growth of functions, recurrences), and animations illustrating how algorithms and data structures work. We believe that providing students with multiple views and teaching techniques will facilitate a better understanding of abstract concepts like the analysis of algorithms. The idea is similar in spirit to Gloor's HyperCard algorithm animation CD-ROM (Gloor et al. 1993) which accompanied the first edition of Corman, Leiserson and Reivest's algorithm textbook. However, instead of HyperCard (Goodmann 1987), which was discontinued in March 2004, our library is written in the highly portable Flash Professional 8 (Macromedia http://www.macromedia.com/). This guarantees problem free use virtually independent of operating system and client hardware specifications -- Flash Player is installed on 98% of desktops globally.
1.2 Background
The PI for this project is Dr. Steffen Heber, who teaches and conducts research at NCSU under a joint appointment from the Computer Science Department and the Bioinformatics Research Center. Brian Howard, one of Dr. Heberâs graduate students, did the computer programming required for this project.
Dr. Heber teaches a variety of computer science and bioinformatics courses for which the material in this library is relevant. In particular, the visualization library targets CSC 505 Design and Analysis of Algorithms, and CSC 316 Data Structures for
Computer Scientists. The vast majority of students attending these classes are Computer Science and Electrical Engineering students. Both classes usually draw 25-80 students per semester. CSC 316 is primarily for undergraduate students, while CSC 505 is intended for graduate students. Both classes are core degree requirements. Traditionally, these classes are taught in lecture style, with instructors using blackboard, overhead and computer presentation software such as Microsoft PowerPoint, Macintosh Keynote and Adobe Acrobat.
1.3 Objectives
We have three primary goals for this project:
1.4 Student Learning Outcome(s):
Algorithm visualization is widely considered to be one of the most important tools in computer science education. Although it has been shown that the educational effect of simply observing visualizations is unexpectedly low, interactive visualizations which manage to engage students, and which are mixed with other teaching methods like black board or overhead projector, have proven extremely successful (Brusilovsky, and Spring, 2004). It is our belief that the library created for this project has:
the design requirements agreed upon in step one. Occasionally, after actually seeing the initial implementation of the design, it will become apparent that further improvements are possible, or that alternate approaches may be more effective. If this is the case, the suggested modifications are then made by the software developer, and reviewed in additional meetings as necessary.
4. Integration into course materials: After the software library is complete, these tools need to be integrated into the course teaching material by the instructor. Generally this involves the creation of .HTML web pages that include the Flash visualizations. 5. Evaluation: The effectiveness of the individual tools is assessed. This involves measuring the effect on student learning, and ease of use for the instructor.
2.2 Timeline
Summer 2006 - design and implementation of visualizations Fall semester 2006 - continued design and implementation of visualizations
2.3 Assessment & Analysis Plan
The effectiveness of the visualization library is to be tested in three different ways:
There have been many studies related to the effectiveness of algorithm visualizations in class, see (Hundhausen et al. 2002) for an overview. Often students fail to understand what is happening inside a program or an algorithm in the presence of a well-developed non-interactive visualization. It has been shown, that in order to be successful, it is essential to generate interactive visualizations which are integrated with other teaching aids (Hundhausen et al. 2002). To assess the effectiveness of our library in class, we will perform post-teaching tests to measure studentsâ understanding with or without visualization. Our main focus is
to test if the presence of an interactive algorithm animation helps students to learn independently about fundamental algorithms.
We will use a test procedure adapted from (Lawrence et al., 1994). The students will be divided into two equal groups, and both groups will learn about Djikstraâs Shortest Path Algorithm in a lecture. Subsequently, both groups will use the textual description of the algorithm from Corman, Leiserson and Reivest's Introduction to Algorithms textbook (Corman et al., 2001). Group 1 will also have access to an interactive animation, while group 2 will get only the diagrams from the textbook. Both groups will complete a multiple-choice test and answer free- response questions designed to articulate concepts relating to understanding the algorithm.
The PI will administer an end-of-course questionnaire following instruction of CSC 316: Data Structures for Computer Scientists. The questionnaire will elicit student feedback and gauge their impressions of the visualization library. This procedure will be repeated in spring 2008 during instruction of CSC 505: Design and Analysis of Algorithms.
Although there is a general belief that algorithm visualizations are helpful educational tools, teachers have been hesitant to use them because they are afraid that they might be too complicated to handle, and that they use up too much class time (Hundhausen et al. 2002). In order to address these concerns, the PI will keep journals with observations concerning:
At this time, assessment items number 2 and 3 (see section 2.3) have been completed, and our visualizations have been used (and informally tested) in the classroom for the course CSC 316: Data structures for Computer Scientists, which the PI taught during the fall semester of 2006. We also tried to perform a controlled experiment to evaluate the algorithms as proposed in the grant (see assessment item number 1, above). We decided that students should be rewarded with bonus points for their
âyes, it helped me to visualize better. Also, it broke the monotony of just looking at slides.â âNo, pseudocode is enough for meâ
Outcome 2. Helped students to study and learn independently.
Was algorithm visualization for you a useful aid to study and learn independently? 25 1 1 2 Positive answer Indifferent Negative answer Did not respond
Below are some quotes from the questionnaire: âyes, to practice how the algorithm worksâ âyes, especially reviewing [tree] traversal and [search tree] balancingâ âit is much better to see how the ADTs work instead of just trying to figure out how they work from readingâ âI used them to study for the finalâ âprobably not, too time consumingâ
Outcome 3. Improved student motivation and participation in the classroom.
Did you enjoy algorithm visualization in class? 25 3 1 0 Positive answer Indifferent Negative answer Did not respond
Below are some quotes from the questionnaire: âit helped me to understand, and stay awakeâ âsometimes, other times they went by slowly, but slow is good for explainingâ âthey helped to make the lecture interestingâ âfun stuff!â
3.2 Effect on Faculty/Pedagogy
In general, This project motivated the PI to use many more examples and exercises in the classroom than before. Although preparing the visualizations from scratch takes a very long time, and requires several iterations of design and refinement, using existing libraries actually made preparation more efficient. It is comparable or even faster than preparing a paper or blackboard model. Also, the actual demonstration in class is, in general, simpler, and allows the instructor to spend more time on explanations, or questions. However, one practical problem which occurs occasionally is that the actual manipulation of the visualizations/animations via mouse or keyboard can be awkward and requires the instructor to stand close to the computer.
Using animation and visualization techniques allowed the PI to cover material, like, for example, hash performance over time, or tree update operations, which otherwise would be very hard to teach, and difficult for some students to understand. In addition,
the visualizations also allowed the PI to quickly demonstrate algorithms on multiple levels, e.g. providing a rough overview, or going step by step through the pseudocode.
4.1 Summary of Important findings
We developed and implemented a library of 17 algorithm visualizations and animations. The visualizations were tested in section 3 of CSC 316 Spring 2006, and the studentsâ attitude towards the visualizations was assessed via an end of class questionnaire. An assessment of the effectiveness of the visualizations with respect to studentsâ learning will be performed in CSC 505, Spring 2008.
In general, the class showed a high level of enthusiasm for design and analysis of algorithms, especially if one takes into account that this material is quite abstract and difficult to understand. The general attitude towards CSC 316, as well as the studentsâ responses on our questions regarding the impact of visualizations on the various student learning outcomes was surprisingly positive. Several students used the visualizations successfully outside class to study on their own, and in preparation for their exams. However, until completion of our evaluation, it remains an open question if this positive attitude is also accompanied by a measurable increase in studentsâ understanding of the material.
Although developing a visualization library from scratch is a time consuming endeavor, the use of visualization in the classroom might even save preparation time once such a library has been created. Furthermore, visualizations provide a good opportunity to âchange gearsâ, and appears to have a positive impact on maintaining studentsâ attention during class. Naturally, some topics, for example hash performance over time, or tree balancing operations, lend themselves to visualization and animation, while other topics such as asymptotic running time analysis might be better taught by conventional methods, but there is hardly any topic which suffers from use of computerized visualization. However, there is a real danger that students may skip over important details without really understanding the algorithm. The PI tried to overcome this problem by promoting class participation at crucial time points, for example by asking questions like âwhat will happen next?â
4.2 Conclusions
Overall, both the students and the PI really enjoyed the use of visualizations/animations in class. One student remarked: âvisualizations are always fun!â The PI has successfully used algorithm visualization to teach CSC 316: Data Structures for Computer Scientists and plans to use the library for an upcoming course, CSC 505: Design and Analysis of Algorithms. Students have used the visualizations to prepare and check their homework assignments, and to prepare for the final exam in CSC