Chapter 2- Visualizing C programs



Software Visualization is the visualization of computer programs and algorithms, i.e. the use of images and animations to convey meaningful information about programs and their executions.
Software Visualization finds its utility both in debugging, for discovering either programming errors or conceptual errors related to the algorithm design, and in education, for understanding and for teaching algorithms.

In this chapter you will see two step-by-step examples showing how to use Leonardo to visualize C programs. Chapters 9, 10, 11 and 12 will give you more detailed information about these topics.

2.1 - Leonardo's approach to visualization

2.2 - Visualization of the sorting algorithm

 

2.3 - Another visualization example: the breadth-first visit of a graph

[Index page]