exampleprogram
nounUK /ɪɡˈzɑːmpəl ˈprəʊɡræm/
US /ɪɡˈzæmpəl ˈproʊɡræm/
A small computer program that shows you how to do something.
The teacher gave us an exampleprogram to help us learn how to draw shapes on the screen.
OTHER MEANINGS
2. A short piece of code used to test whether a system works.
The engineer ran an exampleprogram to check the new compiler.
3. A program written to demonstrate a feature of a programming language.
The manual includes an exampleprogram for sorting numbers.
4. A practice program used by students to learn programming.
Each lesson ends with an exampleprogram that students can change and run.