next up previous
Next: 5.1 Using J to Up: Functional Languages and Introductory Previous: 4.2 Modeling Processes with

5 Experimentation

Experimental methods play an important role in computer science and should be a part of the introductory computer science curriculum. Measuring program performance, testing experimental hypotheses are areas where traditional scientific methodology may be used. Scheme and J systems provide facilities for measurements of memory space and execution time of programs. As an example of a simple experiment which might be performed by introductory students, consider the problem of estimating the execution time of the recursive fibonacci function discussed in Section 4. In Section 5.1, a J version of this experiment is described. The Scheme description of this experiment is similar.



Subsections
next up previous
Next: 5.1 Using J to Up: Functional Languages and Introductory Previous: 4.2 Modeling Processes with
2002-11-26