Generating sample test data
A tool that makes random sample data, with fields and rows you choose, to practise with when real data is not available. You can export it to a spreadsheet. It is test data, not real data.
Understanding Generating sample test data in ACARA Digital Technologies Years 7–8
What it does: A CSV file made by the data generator can be opened in a spreadsheet to practise sorting, filtering and formulas. Naming the file test_data reminds everyone that the values are random and not real results. Fields are the kinds of data in each column. The row count is a separate choice. The row count sets how many records you get. Fields set the columns. A data generator needs at least one row to make sample data. Choose a sensible row count such as 50.
Common mistakes: A single = stores the row count in the variable. Two equals signs (==) compare values, so rows would never be set. It should be rows = 50. A for loop line must end with a colon. Without it the generator will not run. It should be for i in range(30):.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 204–236) and word search (Modules 189–236).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
data generatorFill in the Blanks
Spot the Error
Student with a class code? Join your class →