SUNY Geneseo Department of Computer Science
{Date}
CSci 141, Fall 2003
Prof. Doug Baldwin
Chapter 4
Scientific method as related to computer science
Theories and hypothesis - summarize some aspect of algorithm execution
Predictions: (principled) guess at expected outcomes
Experimental procedure (important steps to follow)
Garbage collection - error source in Java, need to minimize or eliminate it
Experimental error - anything that causes correct results not to occur
Data analysis
Conclusions
Measuring time
Identify a likely source of experimental error in measuring how long it takes a robot to move or hit a wall.
Computer doing other things (running other programs, network traffic)
Discretization error in clock
Sloppy code
Instrumentation overhead
get time 1
robot.move()
get time 2
get time 1
get time 2
CodeWarrior vs ProjectBuilder repaint problem
Theoretical and Empirical Aspects of Conditionals
Read Sections 5.1 through 5.5