A self-driving car uses an AI model that learns by trial and error, receiving rewards for correct actions and penalties for mistakes. This type of learning is:
Correct; RL uses rewards to learn optimal actions.
Why this answer
Reinforcement learning (RL) is the correct answer because the self-driving car's AI model learns through trial and error, receiving rewards for correct actions and penalties for mistakes. This feedback-driven process, where an agent interacts with an environment to maximize cumulative reward, is the defining characteristic of reinforcement learning, not supervised or unsupervised learning.
Exam trap
CompTIA often tests the distinction between reinforcement learning and supervised learning by describing a scenario with feedback (rewards/penalties) but no labeled dataset, leading candidates to mistakenly choose supervised learning because they associate 'feedback' with 'labels'.
How to eliminate wrong answers
Option A is wrong because supervised learning requires labeled input-output pairs (e.g., images tagged with 'stop sign') to train a model, not trial-and-error feedback. Option B is wrong because unsupervised learning finds hidden patterns in unlabeled data (e.g., clustering sensor readings) without any reward or penalty signals. Option C is wrong because transfer learning applies knowledge from a pre-trained model to a new but related task, not learning from scratch via rewards and punishments.