Unit 5: Reinforcement Learning - Practice Quiz

INT394 — Machine Learning Algorithms 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 What is the primary goal of an agent in Reinforcement Learning?

A. To minimize the reconstruction error of the input data
B. To maximize the cumulative reward over time
C. To classify data into distinct categories based on labeled examples
D. To find hidden structures in unlabeled data

2 Which of the following tuple representations correctly defines a Markov Decision Process (MDP)?

A.
B.
C.
D.

3 What does the Markov Property imply about the state of an environment?

A. The future is independent of the past given the present
B. The future depends on the entire history of past states
C. The current state provides no information about the future
D. The transition probabilities change over time

4 In the context of RL, what does the discount factor (gamma) control?

A. The importance of immediate rewards versus future rewards
B. The learning rate of the agent
C. The exploration rate of the agent
D. The probability of transitioning to a random state

5 What distinguishes Reinforcement Learning from Supervised Learning?

A. RL relies on a static dataset with labeled targets
B. RL maps inputs to outputs without any feedback
C. RL learns from interaction and delayed feedback (rewards) rather than explicit labels
D. RL is only used for continuous value prediction

6 What is a Policy () in Reinforcement Learning?

A. A function that predicts the next state given the current state
B. A mapping from states to actions (or probabilities of actions)
C. The mechanism that provides rewards to the agent
D. The numerical value indicating the goodness of a state

7 Which equation represents the total discounted return ?

A.
B.
C.
D.

8 What does the State-Value Function represent?

A. The expected return starting from state and following policy
B. The probability of moving to state
C. The maximum reward possible in the entire environment
D. The immediate reward received at state

9 What is the Action-Value Function ?

A. The value of taking action in state and then following policy
B. The reward received immediately after taking action
C. The probability of taking action in state
D. The value of being in state regardless of the action taken

10 The Bellman Equation expresses a relationship between:

A. The value of a state and the value of its successor states
B. The learning rate and the discount factor
C. The current observation and the previous observation
D. The policy and the reward function only

11 In the Bellman Optimality Equation, which operator is used to define the optimal value?

A. Average
B. Max (Maximization over actions)
C. Min (Minimization over costs)
D. Summation over time

12 What is the Exploration vs. Exploitation trade-off?

A. Deciding whether to use a neural network or a tabular method
B. Choosing between model-based and model-free learning
C. Balancing between gathering new information and using known information to maximize reward
D. Trading off computation time for memory usage

13 Which method is commonly used to balance exploration and exploitation?

A. -greedy (Epsilon-greedy)
B. Principal Component Analysis
C. Backpropagation
D. Gradient Descent

14 What does it mean for an RL algorithm to be Model-Free?

A. It does not use any value functions
B. It cannot solve MDPs
C. It does not require knowledge of the transition probability or reward function
D. It builds an explicit model of the environment's transition dynamics

15 What is Temporal Difference (TD) Learning?

A. A method that updates estimates based on other learned estimates without waiting for the outcome
B. A method that requires a complete model of the environment
C. A method that waits until the end of an episode to update values
D. A supervised learning technique applied to RL

16 Which of the following is the TD(0) update rule for the state-value function ?

A.
B.
C.
D.

17 What is Bootstrapping in the context of TD learning?

A. Restarting the episode when the agent gets stuck
B. Updating a value estimate using another estimated value
C. Resampling the dataset to create more training data
D. Initializing weights to zero

18 Q-Learning is considered an Off-Policy algorithm. What does this mean?

A. It requires the environment to be turned off during updates
B. It does not use a policy at all
C. It must follow the exact policy it is trying to learn
D. It learns the value of the optimal policy while following a different exploratory policy

19 Which represents the Q-Learning update equation?

A.
B.
C.
D.

20 In the Q-Learning update rule, what is ?

A. Exploration probability
B. Discount factor
C. Learning rate
D. Reward function

21 If , the agent is:

A. Optimal
B. Infinitely far-sighted
C. Myopic (short-sighted)
D. Random

22 What is the key difference between Monte Carlo (MC) methods and TD Learning?

A. MC is biased while TD is unbiased
B. MC updates are performed only after a complete episode, while TD updates can happen at every step
C. MC can only be used for continuous states
D. TD requires a model of the environment

23 Which of the following best describes the Credit Assignment Problem in RL?

A. Calculating the computational cost of the algorithm
B. Distributing rewards among multiple agents
C. Assigning memory to store the Q-table
D. Determining which past action is responsible for a current reward

24 In a tabular Q-learning approach, the Q-table has dimensions of:

A. Number of Episodes Time Steps
B. Number of States Number of Actions
C. Number of States Number of States
D. Number of Actions Number of Rewards

25 What is an Episodic Task?

A. A task where the environment changes randomly
B. A task with a well-defined starting and ending point (terminal state)
C. A task that requires supervised training data
D. A task that continues forever without limit

26 What is a Continuing Task?

A. A task solvable only by Monte Carlo methods
B. A task that naturally breaks into episodes
C. A task where rewards are always zero
D. A task that goes on forever without a terminal state

27 The Bellman Expectation Equation for can be written as:

A.
B.
C.
D.

28 What is the TD Error ()?

A. The error in the reward function
B. The difference between the predicted value and the actual target value
C. The probability of taking a wrong action
D. The difference between two consecutive rewards

29 Which algorithm is known as "on-policy" TD control?

A. SARSA
B. Monte Carlo
C. Value Iteration
D. Q-Learning

30 The SARSA update rule is given by:

A.
B.
C.
D.

31 If a problem has a continuous state space, which challenge arises for tabular Q-learning?

A. The rewards cannot be calculated
B. The Curse of Dimensionality (table becomes too large)
C. The Markov property no longer holds
D. The discount factor must be 1

32 A Deterministic Policy maps:

A. State to a probability distribution over actions
B. State to a single action
C. State to a reward value
D. Action to a state

33 The transition probability represents:

A. The probability of receiving a reward in state
B. The value of state
C. The probability of transitioning to state given state and action
D. The probability of taking action in state

34 Which of the following guarantees the convergence of Q-learning to the optimal ?

A. If the discount factor is exactly 1
B. If the environment is deterministic only
C. If all state-action pairs are visited infinitely often and the learning rate decays appropriately
D. If the policy is strictly greedy

35 What is the value of a Terminal State in an episodic task?

A. Infinity
B. The last received reward
C. 0
D. 1

36 What is the Prediction Problem in RL?

A. Predicting the next state
B. Estimating the value function for a given policy
C. Finding the optimal policy
D. Predicting the immediate reward

37 What is the Control Problem in RL?

A. Estimating the value of a fixed policy
B. Controlling the environment parameters
C. Finding the optimal policy that maximizes return
D. Ensuring the agent does not crash

38 In the context of the Bellman Equation, what does the term 'Recursive' mean?

A. The function is linear
B. The function calls itself
C. The function depends on the previous time step only
D. The function is undefined

39 Which of the following is a model-based algorithm?

A. Monte Carlo
B. Q-Learning
C. SARSA
D. Dynamic Programming (Policy Iteration)

40 Why do we use the max operator in Q-Learning?

A. To calculate the average reward
B. To ensure the agent explores
C. To estimate the value of the best possible future action
D. To minimize the error

41 In an MDP, if is Finite, is Finite, and dynamics are known, which technique can solve for the optimal policy exactly?

A. Random Search
B. Linear Regression
C. Dynamic Programming
D. Clustering

42 What is a Stochastic Policy?

A. A policy used only in deterministic environments
B. A policy that always chooses the same action for a given state
C. A policy that ignores the state
D. A policy where actions are selected based on probabilities

43 In TD Learning, the term is known as:

A. The Baseline
B. The TD Target
C. The Return
D. The TD Error

44 Which of the following is NOT a component of the RL Agent-Environment interface?

A. Supervised Label
B. Reward
C. Action
D. State

45 If an agent always chooses the action with the highest estimated value, it is acting:

A. Randomly
B. Stochastically
C. Greedily
D. Optimally (always guaranteed)

46 What is the relationship between and ?

A.
B.
C.
D.

47 Which represents a purely delayed reward scenario?

A. Winning a game of Chess after many moves
B. Receiving a salary every day
C. A thermostat adjusting every minute
D. Getting a point for every correct step

48 In the equation , what does this represent?

A. A complete replacement of the old value
B. A weighted average between the old estimate and the new information
C. A sum of all past rewards
D. The probability of the action

49 What happens if the exploration rate in -greedy is set to 1?

A. The agent alternates actions
B. The agent stops learning
C. The agent acts completely randomly
D. The agent acts purely greedily

50 Generally, how does TD learning compare to Monte Carlo in terms of variance?

A. They have the same variance
B. TD has higher variance
C. TD has lower variance
D. Variance is not a factor in RL