Article

Dry Run

Wednesday, 11 March 2026

Dry Run

A dry run is the manual execution of a program using sample input values.

The programmer follows the program line by line and records the values of variables in a trace table.

This helps check that the algorithm produces the correct output before running the program.