TK Study

Software Engineering › Key terms › Y12 Software Automation › Training data and test data

Training data and test data

Term Check Y12 Software Automation

Definition

Training data is used to teach the model; separate test data checks how well it works on data it has not seen.

Example: Hold back 20% of the data for testing.

Check this one: Standard ML practice; check the exact wording against your class notes.

Where it is used in the test

Syllabus area: Y12 Software Automation.

Question types it can appear in

Where it has appeared in the paper

Software Automation (Part B). Part letters follow each paper’s own layout.

Related past questions

These are the questions the flashcard set links to this term. Open each one and compare your answer with its marking criteria.

Study links

How to use it in an answer

A model sentence

General advice, built from the definition and example above

“Training data is used to teach the model; separate test data checks how well it works on data it has not seen.” Then apply it: Hold back 20% of the data for testing.

In a short answer, give the definition in your own words first, then tie it to the situation in the question. Do not copy the example above unless it fits the scenario.

Command words used with it

From the linked past questions
  • Compare: Show how things are similar or different. (Sample exam Q23b (3 marks): Linear regression v K-nearest neighbour)

Technique for the question types

What the marking guidelines and feedback say

Sample exam Q23b (3 marks): Linear regression v K-nearest neighbour

Some school notes list KNN as unsupervised: that is wrong. NESA's sample answer treats KNN as supervised.

Worked answers from the marking guidelines

Sample exam Q23b (3 marks): Linear regression v K-nearest neighbour (3 marks): criteria and sample answer

Criteria

3: Compares linear regression and KNN. 2: Outlines features of one or both. 1: Some relevant information.

Sample answer

Linear regression and K-nearest neighbours (KNN) are both supervised learning algorithms that make predictions from labelled data. The key difference is how they handle data: linear regression assumes a linear relationship between input features and the target variable, while KNN makes predictions based on the closest 'K' training examples, allowing it to handle more complex, non-linear patterns. However, KNN can be more computationally expensive than linear regression and is usually slower.

Open the question page

Common mistakes

Marker feedback on other questions of the same type (code and diagram feedback often applies across questions)
  • Check the sources: Standard ML practice; check the exact wording against your class notes.
General advice
  • Use the term exactly as the syllabus words it, then link it to the scenario in the question; the 2025 feedback repeatedly rewards using the stimulus.
  • Answer the command word: outline gives main points only, explain gives a reason or cause, discuss gives both sides.

Same group in the syllabus: Supervised learning · Unsupervised learning · Semi-supervised learning · Reinforcement learning