Supervised vs Unsupervised Questions with Answers

6 practice questions on Supervised vs Unsupervised (AI & Machine Learning) with answers and step-by-step solutions. Try 6 samples below, then practise all 6 free in the AptiNest app.

Sample questions

Question 1Easy

Training a model using a small amount of labelled data together with a large amount of unlabelled data is called:

  1. Semi-supervised learning
  2. Unsupervised learning
  3. Online learning
  4. Reinforcement learning

Answer: A. Semi-supervised learning

Explanation

Semi-supervised methods exploit structure in unlabelled data, useful when labelling is expensive.

Step-by-step solution

  1. Labelled data is often expensive; unlabelled data is cheap.
  2. Semi-supervised learning combines a small labelled set with a large unlabelled set.
  3. The unlabelled data helps the model learn the structure of the input space.

Why the other options are wrong

  • B. Unsupervised learning uses no labels at all.
  • C. Online learning is about updating on a stream of data, not label mix.
  • D. Reinforcement learning uses rewards, not labels.

Tip: Semi = a little labelled + a lot unlabelled.

Question 2Easy

Principal Component Analysis (PCA) is mainly used for:

  1. Classification
  2. Reinforcement learning
  3. Clustering
  4. Dimensionality reduction

Answer: D. Dimensionality reduction

Explanation

PCA projects data onto orthogonal directions of maximum variance, keeping the top components to reduce the number of features.

Step-by-step solution

  1. PCA finds new axes (principal components) that capture the most variance.
  2. Keeping only the top few components reduces the number of dimensions.
  3. It uses no labels and does not assign classes or clusters.

Why the other options are wrong

  • A. PCA does not predict classes.
  • B. PCA has no agent, actions or rewards.
  • C. PCA transforms features; it does not group points.

Tip: PCA = compress features while keeping variance.

Question 3Easy

An agent learns to play a game by receiving rewards and penalties for its actions. This is:

  1. Transfer learning
  2. Supervised learning
  3. Reinforcement learning
  4. Unsupervised learning

Answer: C. Reinforcement learning

Explanation

In reinforcement learning, the agent learns a policy that maximises cumulative reward through trial and error, without labelled correct actions.

Step-by-step solution

  1. The agent takes actions in an environment.
  2. It receives rewards or penalties as feedback.
  3. Learning to maximise total reward is reinforcement learning.

Why the other options are wrong

  • A. Transfer learning reuses a model trained on another task.
  • B. Supervised learning needs a correct label for each example, not rewards.
  • D. Unsupervised learning finds patterns without any feedback signal.

Question 4Easy

Which of these algorithms is a supervised learning algorithm?

  1. Principal Component Analysis
  2. Hierarchical clustering
  3. Logistic regression
  4. K-means clustering

Answer: C. Logistic regression

Explanation

Logistic regression learns from labelled examples. K-means, PCA and hierarchical clustering work without labels.

Step-by-step solution

  1. Supervised algorithms need labelled training data.
  2. Logistic regression learns from features and known class labels.
  3. PCA, hierarchical clustering and k-means all work without labels.

Why the other options are wrong

  • A. PCA reduces dimensions without using labels.
  • B. Hierarchical clustering groups unlabelled points.
  • D. K-means clusters unlabelled data.

Question 5Easy

Which task is an example of unsupervised learning?

  1. Classifying emails as spam using labelled examples
  2. Predicting house prices from past sales
  3. Recognising handwritten digits from thousands of labelled example images
  4. Grouping customers into segments without predefined labels

Answer: D. Grouping customers into segments without predefined labels

Explanation

Unsupervised learning finds structure in unlabelled data. The other tasks learn from labelled examples, which is supervised learning.

Step-by-step solution

  1. Unsupervised learning works without target labels.
  2. Grouping customers with no predefined segments is clustering.
  3. The other three all use known labels.

Why the other options are wrong

  • A. Spam filtering learns from labelled emails, so it is supervised.
  • B. House prices are known targets, so this is supervised regression.
  • C. Labelled digit images make this supervised classification.

Tip: Labels present = supervised; no labels = unsupervised.

Question 6Hard

Which task is best described as anomaly detection?

  1. Predicting tomorrow's temperature from past weather records
  2. Flagging unusual credit-card transactions
  3. Ranking search results by relevance
  4. Translating text between languages

Answer: B. Flagging unusual credit-card transactions

Explanation

Anomaly detection identifies rare points that deviate from the bulk of the data and is often done without labels (e.g. isolation forests).

Step-by-step solution

  1. Anomaly detection looks for rare points that differ from normal behaviour.
  2. Unusual credit-card transactions are a classic example (fraud).
  3. The other options are forecasting, ranking and translation.

Why the other options are wrong

  • A. Forecasting temperature is regression.
  • C. Ranking search results is a ranking task.
  • D. Translation is a sequence-to-sequence task.

Practise all 6 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all AI & Machine Learning topics · All topics