Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Reinforcement Learning important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. What is reinforcement learning, with a real life example
Asked 1 time in 2025 · Unit 1
From the papers
“What is Reinforcement learning? State one appropriate real-life example.” (June 2025)
The short answer
Reinforcement learning (RL) is learning by trial and error. An agent takes actions in an environment, gets a reward after each action and learns to choose actions that give the largest total reward over time.
Write these points
Main parts
Agent: the learner and decision maker.
Environment: everything the agent interacts with.
State s: what the agent sees now. Action a: what it does. Reward r: a number that says how good the result was.
Policy: the rule that picks an action in each state.
Return G: the discounted sum of future rewards, G = r1 + gamma r2 + gamma^2 r3 + ...
How it learns
The agent sees a state.
It picks an action by its policy. Sometimes it explores a new action.
The environment gives a new state and a reward.
The agent updates its policy or its value estimates.
Repeat for many episodes.
There is no teacher with correct answers, only rewards. A reward may come late, so the agent must learn which earlier action earned it (the credit assignment problem).
Return of one episode.
A delivery robot gets rewards 1, 0 and 2 in three steps. Discount gamma = 0.9.
G = 1 + 0.9 x 0 + 0.9^2 x 2 = 1 + 0 + 1.62 = 2.62.
A reward now is worth more than the same reward later, because gamma is below 1.
Real-life example
A child learns to ride a bicycle. Nobody gives the exact steering angle. The child tries, falls (negative reward) or stays up (positive reward) and slowly learns which moves keep the balance. Self driving cars, game players and warehouse robots learn in the same way.
Figure: the reinforcement learning loop
Same or opposite: agent and environment
Point
Agent
Environment
Same or opposite
Role
Chooses actions
Gives states and rewards
Opposite
Is learning
Yes
No
Opposite
Part of the RL loop
Yes
Yes
Same
Example
Bicycle rider
Road and bicycle
Opposite
Exam tip. Define RL in the first line using the words agent, environment and reward. Draw the loop. Name one example such as the bicycle or a game player and map each part to it.
Q2. Approaches to implement reinforcement learning
Asked 1 time in 2025 · Unit 1
From the papers
“Explain various approaches to implement reinforcement learning.” (June 2025)
The short answer
RL can be implemented by learning values, by learning the policy directly, by doing both (actor critic) or by learning a model of the environment.
Write these points
The approaches
Approach
What is learned
Example algorithms
Value based
Q(s,a) or V(s). Act greedily on it.
Q-learning, SARSA, DQN
Policy based
Policy pi(a | s) directly
REINFORCE, policy gradient
Actor critic
Policy (actor) and value (critic)
A2C, A3C
Model based
Transition and reward model, then plan
Dyna, dynamic programming
Model free
Only from experience, no model
Q-learning, MC, TD
Other ways to split the methods
On policy learns the value of the policy it follows (SARSA). Off policy learns about another policy than the one it follows (Q-learning).
Tabular keeps a table, good for small problems. Function approximation uses a model such as a neural network for large state spaces.
Imitation learning copies an expert. Inverse RL learns the reward from an expert.
Choosing
Few states and actions: a table with Q-learning.
Continuous actions such as a robot arm: policy gradient or actor critic.
Costly real world trials: model based, because it needs fewer samples.
Images as states: deep value or deep actor critic methods.
Memory needed by a table.
A grid world has 100 states and 4 actions. The Q table has 100 x 4 = 400 numbers.
A game screen of 84 x 84 pixels cannot be tabulated, so a neural network approximates Q.
Real-life example
To reach a hill station you can score each road (value based). You can memorise the turn at each junction (policy based). You can draw a map and plan on it (model based).
Figure: approaches to RL
Same or opposite: value based and policy based
Point
Value based
Policy based
Same or opposite
Learns
Action values Q
The policy
Opposite
Action choice
Greedy on Q
Sample from the policy
Opposite
Learns from rewards
Yes
Yes
Same
Handles continuous actions
Poorly
Well
Opposite
Exam tip. A table of approaches is the best answer. Add one line on on policy against off policy and one line on when to choose each.
Q3. Reinforcement learning against supervised learning
Asked 1 time in 2025 · Unit 1
From the papers
“Differentiate between Reinforcement Learning and Supervised Learning.” (June 2025)
The short answer
Supervised learning learns from labelled examples that give the correct answer for each input. Reinforcement learning learns from rewards for the actions it chose, with no correct action given.
Write these points
Differences
Point
Supervised learning
Reinforcement learning
Feedback
The correct label for each input
A reward, often late and rare
Data
Fixed data set
Collected by the agent as it acts
Decisions
Each prediction is separate
Actions change the next state
Exploration
Not needed
Essential
Goal
Minimise prediction error
Maximise total reward
Example
Spam filter
Game playing agent
Key points
In supervised learning the examples are assumed independent. In RL one action affects all later states.
In RL the agent must balance exploration and exploitation.
Rewards can be delayed, so credit assignment is needed.
RL can discover answers no human wrote down, since it needs no labels.
Same task, two views.
Teach a robot to reach a door in 10 steps.
Supervised: record an expert doing it and copy the 10 actions. If the robot drifts off the expert path, it has no example to fix it.
RL: give +10 at the door and -1 per step. After many trials the robot finds the shortest route by itself. The best total reward is 10 - 9 = 1 for a 10 step path.
Real-life example
A student learns maths in two ways. In a class the teacher marks each answer right or wrong (supervised). By playing a quiz game the student only sees a final score and must work out which choices helped (reinforcement).
Figure: feedback in the two settings
Same or opposite: supervised and reinforcement learning
Point
Supervised learning
Reinforcement learning
Same or opposite
Feedback
Correct answer
Reward
Opposite
Exploration
Not needed
Needed
Opposite
Learns a mapping from experience
Yes
Yes
Same
Decisions affect later data
No
Yes
Opposite
Exam tip. Use a table with at least five rows. Include delayed reward and exploration, since these are the two points examiners look for.
“What is the key objective of bandit algorithms with reference to reinforcement learning?” (June 2025)
The short answer
A multi armed bandit is a one state RL problem: you pick one of K arms each round and see only that arm's reward. The key objective is to maximise the total reward, which is the same as minimising regret, by balancing exploration and exploitation.
Write these points
The problem
K arms, each with an unknown average reward.
At each round pick one arm and get a random reward. No state changes.
You must try arms to learn their values (exploration) and also pull the best known arm to earn (exploitation).
Regret
Let mu* be the best arm's average reward. Regret after n rounds = n x mu* - total reward earned (in expectation).
A good algorithm has regret that grows slowly. UCB has regret growing like log n.
Common strategies
Greedy: always the best estimate. It can lock onto a poor arm.
Epsilon greedy: with probability epsilon pick a random arm.
UCB: pick the arm with the highest optimistic estimate.
Thompson sampling: sample from a belief about each arm and play the best sample.
Regret of a poor arm.
Three ads have true click rates 0.5, 0.6 and 0.8.
Showing ad 1 for 100 rounds earns 100 x 0.5 = 50 on average. The best ad would earn 80.
Regret = 80 - 50 = 30 clicks.
Real-life example
You visit three tea stalls. Going only to the first good one may miss a better stall. Trying all the stalls forever wastes cups of bad tea. The best plan tries each stall a few times and then mostly returns to the best one.
Figure: bandit strategies
Same or opposite: exploration and exploitation
Point
Exploration
Exploitation
Same or opposite
Action
Try less known arms
Pull the best known arm
Opposite
Short term reward
Often lower
Higher
Opposite
Needed for a good long run result
Yes
Yes
Same
Too much of it
Wastes pulls
Misses a better arm
Opposite
Exam tip. Say "maximise reward by minimising regret" in the first line. Write the regret formula and one numeric example. Name the four strategies.
“After 12 iterations of the UCB 1 algorithm applied on a 4-arm bandit problem, we have n1 = 3, n2 = 4, n3 = 3, n4 = 2 and Q12(1) = 0.55, Q12(2) = 0.63, Q12(3) = 0.61, Q12(4) = 0.40. Which arm should be played next.” (June 2025)
“Explain the following term with respect to Bandit algorithm: ii) Upper Confidence Bound (UCB) algorithm” (June 2025)
The short answer
UCB1 (Upper Confidence Bound) plays the arm with the highest value of Q + sqrt(2 ln t / n), the estimate plus an exploration bonus. An arm that was pulled rarely has a large bonus, so it gets tried.
Write these points
The UCB1 algorithm
Pull each arm once.
At round t compute for each arm j: index = Q(j) + sqrt(2 ln t / n(j)).
Pull the arm with the largest index.
Update n(j) and the average Q(j). Repeat.
The first term favours arms that look good. The second favours arms that are uncertain.
As n(j) grows, the bonus shrinks, so a well known arm is not pulled for the bonus.
Regret grows only like log t.
The question
Total pulls t = 3 + 4 + 3 + 2 = 12 and ln 12 = 2.485, so 2 ln 12 = 4.970.
Arm
n
Q
Bonus sqrt(4.970 / n)
Index
1
3
0.55
1.287
1.837
2
4
0.63
1.115
1.745
3
3
0.61
1.287
1.897
4
2
0.40
1.576
1.976
Answer.
The largest index is arm 4 with 1.976, even though its estimate 0.40 is the lowest.
It has been pulled only twice, so its bonus is the biggest. Pull arm 4 next.
Check with t = 13 for the next round: arm 4 gives 0.40 + 1.602 = 2.002 and arm 3 gives 1.918. Arm 4 still leads.
Remember. Some books write the bonus as sqrt(ln t / n) or with a constant c. With sqrt(ln t / n) arm 3 gets 1.520 and arm 4 gets 1.515, so the answer would change to arm 3. The standard UCB1 formula with the factor 2 is used here. Use the formula your teacher gave.
Real-life example
A selector gives a bowler who has played only twice another chance, because two matches say little. UCB does the same with a number.
Figure: UCB1 index of the four arms
Same or opposite: UCB and epsilon greedy
Point
UCB
Epsilon greedy
Same or opposite
Exploration
Targeted at uncertain arms
Random
Opposite
Needs a random number
No
Yes
Opposite
Balances exploration and exploitation
Yes
Yes
Same
Regret growth
log t
Grows linearly for fixed epsilon
Opposite
Exam tip. Write the formula and a four row table of indexes. State the answer in one bold line.
“What is meant by passive and active reinforcement learning and how do we compare the two?” (June 2025)
The short answer
In passive RL the policy is fixed and the agent only learns how good that policy is, that is its state values. In active RL the agent also decides what to do, so it must learn the best policy and must explore.
Write these points
Passive RL
The agent follows a given policy pi and observes the states and rewards.
Task: estimate the utility U(s) of each state under pi. This is policy evaluation.
Methods: direct utility estimation, adaptive dynamic programming (learn a model then solve), TD learning.
Active RL
The agent chooses actions. It must learn the best policy.
It needs exploration, otherwise it may never find a better action.
Methods: active ADP, Q-learning, SARSA.
Point
Passive
Active
Policy
Fixed
Learned
Goal
Evaluate the policy
Find the best policy
Exploration
Not needed
Needed
Example methods
TD(0), direct estimation
Q-learning, SARSA
TD update in passive RL.
Policy fixed. Current V(A) = 0, V(B) = 0.5. The agent moves A to B with reward 0. gamma = 1, alpha = 0.5.
V(A) = 0 + 0.5 x (0 + 1 x 0.5 - 0) = 0.25.
No action was chosen by the learner, so this is passive evaluation. In active RL the next step would also have to choose the action to try.
Real-life example
A passenger in a taxi notes how good the driver's route is. That is passive learning. When the passenger takes the wheel and tries other routes, that is active learning. A few slow roads come with the exploring.
Figure: passive and active learning
Same or opposite: passive and active RL
Point
Passive RL
Active RL
Same or opposite
Who picks the actions
A fixed policy
The learner
Opposite
Output
Values of states
Best policy
Opposite
Learns from rewards
Yes
Yes
Same
Exploration issue
None
Central
Opposite
Exam tip. A two column table with policy, goal and exploration is the core. Mention TD or ADP for passive and Q-learning for active.
“Explain the following term with respect to Bandit algorithm: i) Median Elimination” (June 2025)
“Explain the following term with respect to Bandit algorithm: iii) Probably Approximately Correct (PAC)” (June 2025)
The short answer
A bandit algorithm is PAC (epsilon, delta) if, with probability at least 1 - delta, it returns an arm whose mean is within epsilon of the best arm. Median elimination is a PAC algorithm that repeatedly samples all arms and drops the worse half.
Write these points
PAC for bandits
Epsilon is the allowed gap to the best arm. Delta is the allowed chance of failure.
The cost is the number of pulls needed. Fewer pulls for the same epsilon and delta is better.
Simple method: pull every arm n times and return the best average. With rewards in [0,1], Hoeffding and a union bound need n >= (2 / epsilon^2) ln (2K / delta) pulls per arm.
Median elimination
Start with all K arms. Set epsilon1 = epsilon / 4 and delta1 = delta / 2.
Pull every arm enough times for the current epsilon and delta.
Find the median of the estimates and remove every arm below it. Half the arms go.
Reduce epsilon and delta (epsilon times 3/4, delta halved) and repeat on the arms left.
Stop when one arm is left and return it.
It needs about log2 K rounds. The total pulls grow like K / epsilon^2 x log (1 / delta), without the log K factor of the simple method.
Simple method for 10 arms.
K = 10, epsilon = 0.1, delta = 0.05.
n >= (2 / 0.01) x ln (2 x 10 / 0.05) = 200 x ln 400 = 200 x 5.99 = 1,199 pulls per arm.
Total = 10 x 1,199 = 11,990 pulls.
Median elimination with 8 arms halves them 8, 4, 2, 1, so it takes 3 rounds.
Real-life example
A talent show has 8 singers. Each gets a short try, then the weaker half goes home. The rest get longer tries and again half go. After 3 rounds one singer remains. Few trials were wasted on weak singers.
Figure: median elimination with 8 arms
Same or opposite: median elimination and UCB
Point
Median elimination
UCB
Same or opposite
Goal
Find a near best arm (PAC)
Keep regret low
Opposite
Style
Rounds that drop half the arms
One arm per step
Opposite
Needs reward samples from arms
Yes
Yes
Same
Output
One chosen arm
A sequence of pulls
Opposite
Exam tip. Define epsilon and delta first. List the median elimination steps. Write the Hoeffding sample size and the 10 arm number.
“Explain the Q-Function and Q-Learning Algorithm.” (June 2025)
The short answer
The Q-function Q(s,a) is the expected total discounted reward when the agent takes action a in state s and then follows the best policy. Q-learning learns Q from experience with the update Q(s,a) = Q(s,a) + alpha x [r + gamma max Q(s',a') - Q(s,a)].
Write these points
The Q-function
Q*(s,a) = E[r + gamma max over a' of Q*(s',a')]. This is the Bellman optimality equation for Q.
Once Q* is known the best action in state s is the one with the largest Q*(s,a). No model of the environment is needed.
Q-learning algorithm
Start with Q(s,a) = 0 for all pairs.
In state s pick an action by epsilon greedy (mostly the best Q, sometimes random).
Take it. Observe the reward r and the next state s'.
Update Q(s,a) = Q(s,a) + alpha x [r + gamma max Q(s',a') - Q(s,a)].
Set s = s' and repeat until the episode ends.
alpha is the learning rate. gamma is the discount.
It is off policy: the update uses the max over next actions, not the action actually taken next.
With every pair visited often enough and a suitable alpha, Q converges to Q*.
One update.
Q(s,a) = 0.5. The agent gets r = 1 and reaches s' where Q(s',.) = (1.0, 2.0). alpha = 0.1, gamma = 0.9.
A traveller keeps a notebook that scores each road choice at each junction. After every trip the traveller corrects the score using what was earned and the best score at the next junction. After many trips the notebook shows the best road at every junction.
Figure: one Q-learning update
Same or opposite: Q-learning and SARSA
Point
Q-learning
SARSA
Same or opposite
Update target uses
max Q(s',a')
Q(s',a') of the action taken
Opposite
Type
Off policy
On policy
Opposite
Learns action values Q
Yes
Yes
Same
Risk taking near danger
More
Safer
Opposite
Exam tip. Write the Bellman form of Q and the update rule. Show the 0.5 to 0.73 example. State that it is off policy and model free.
Q9. Maximum likelihood and least squared error hypothesis
Asked 1 time in 2025 · Unit 3
From the papers
“Discuss Maximum Likelihood and Least Square Error Hypothesis.” (June 2025)
The short answer
The maximum likelihood (ML) hypothesis is the hypothesis h that makes the observed data most probable. If the noise in the data is Gaussian, the ML hypothesis is exactly the one that minimises the sum of squared errors, the least squared error hypothesis.
Write these points
Maximum likelihood
Given data D and a set H of hypotheses, h_ML = the h that maximises P(D | h).
If all hypotheses are equally likely at first, h_ML is also the most probable one (the MAP hypothesis with a flat prior).
Why least squares appears
Assume each target is d_i = h(x_i) + noise, with noise Gaussian of mean 0 and variance sigma^2.
Then P(d_i | h) is a Gaussian centred at h(x_i).
Maximising the product over all examples is the same as maximising the sum of log terms.
That reduces to minimising the sum over i of (d_i - h(x_i))^2.
So fitting a line by least squares is maximum likelihood under Gaussian noise.
Other noise (for example heavy tailed) gives other losses.
Two lines on five points.
Data (1,2), (2,4), (3,5), (4,4), (5,6). Hypothesis h1: y = 1.8 + 0.8 x. Hypothesis h2: y = 1 + x.
Squared errors for h1 sum to 2.4. For h2 the errors are 0, 1, 1, 1, 0 so the sum is 3.
With sigma = 1, log likelihood is minus half the sum of squares plus a constant: -1.2 for h1 and -1.5 for h2. h1 is more likely, so h1 is the ML hypothesis.
Real-life example
A weighing scale shows slightly different readings each time. The best estimate of the true weight is the value closest to all readings in the squared sense. That is the average. It is also the most likely true weight.
Figure: from likelihood to least squares
Same or opposite: maximum likelihood and MAP
Point
Maximum likelihood
MAP
Same or opposite
Maximises
P(D given h)
P(D given h) x P(h)
Opposite
Uses a prior
No
Yes
Opposite
Chooses one best hypothesis
Yes
Yes
Same
Same result when the prior is flat
Yes
Yes
Same
Exam tip. State the three links: Gaussian noise, log likelihood, sum of squares. A short numeric comparison of two lines makes it clear.
Q10. Fitted Q iteration and the problems of deep Q-learning
Asked 1 time in 2025 · Unit 4
From the papers
“Explain Fitted-Q and Deep Q-Learning Problems.” (June 2025)
The short answer
Fitted Q iteration is a batch method that repeatedly fits a regression model to targets r + gamma max Q(s',a') built from a stored set of transitions. Deep Q-learning does the same with a neural network but meets several problems that come from combining bootstrapping, off policy data and function approximation.
Write these points
Fitted Q iteration
Collect a data set of transitions (s, a, r, s').
Start with Q0 = 0.
Build a target for each transition: y = r + gamma max Q_k(s', a').
Fit a regressor (trees, a neural network) so that Q_{k+1}(s,a) is close to y.
Repeat for K rounds.
It reuses data well, so it needs fewer samples than online Q-learning. Fitted Q needs no table.
Problems of deep Q-learning
Correlated samples: steps in a row are alike, which breaks the independent data assumption.
Moving target: the target uses the same network that is being changed.
Overestimation: taking the max of noisy estimates is biased upward.
Instability and divergence: bootstrapping plus off policy data plus a function approximator can diverge.
Sparse rewards and big state spaces make exploration slow.
Forgetting: new data can erase what was learned about old states.
Overestimation by the max.
Three actions have true value 0 but noisy estimates +0.4, -0.1 and -0.3.
The max over the estimates is +0.4, though the true max is 0.
Each update then bootstraps from this inflated number, so errors build up.
Real-life example
A student who corrects his own homework using his own answer key, while that key keeps changing, will never be sure what is right. A fixed answer key kept for some time (a target network) gives a steadier signal.
Figure: fitted Q iteration
Same or opposite: fitted Q iteration and online Q-learning
Point
Fitted Q iteration
Online Q-learning
Same or opposite
Data use
Whole stored batch each round
One transition at a time
Opposite
Sample efficiency
Higher
Lower
Opposite
Target is r + gamma max Q
Yes
Yes
Same
Compute per round
Heavy (a full fit)
Light
Opposite
Exam tip. Write the fitting loop as steps. Then list at least four problems. The overestimation example makes the answer special.
What are the most important topics in Reinforcement Learning?
By how often they were asked in the papers on this site: What is reinforcement learning, with a real life example (1 times); Approaches to implement reinforcement learning (1 times); Reinforcement learning against supervised learning (1 times); Objective of bandit algorithms (1 times); UCB algorithm and the 12 iteration problem (1 times).
How were these Reinforcement Learning important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Reinforcement Learning important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Reinforcement Learning is free to download from this page.
The 10 most repeated topics of Reinforcement Learning (AD-802-B) for RGPV B.Tech AI & Data Science semester 8, counted from the previous year papers on this site.