next up previous
Next: 2.4.1 Using J to Up: 2 Criteria Previous: 2.3.2 Modeling Processes with

2.4 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 2.3. In Section 2.4.1, a J version of this experiment is described. The Scheme description of this experiment is similar.



Subsections
next up previous
Next: 2.4.1 Using J to Up: 2 Criteria Previous: 2.3.2 Modeling Processes with
2002-09-27