Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 7643 Quiz 5 Review – Questions and Answers | 2026 Update | 100% Correct – GT.

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
03-03-2026
Written in
2025/2026

CS 7643 Quiz 5 Review – Questions and Answers | 2026 Update | 100% Correct – GT.

Institution
Course

Content preview

CS 7643 Quiz 5 Review – Questions and Answers | 2026 Update | 100% Correct – GT.


🔵 SECTION 1: Deep Reinforcement
Learning

Q1. Define Reinforcement Learning and explain how Deep Reinforcement
Learning extends it.

Answer:

Reinforcement Learning (RL) is a framework where an agent interacts with an environment to
maximize cumulative reward.

At each timestep:

1. Observe state sts_tst
2. Take action ata_tat
3. Receive reward rtr_trt
4. Transition to next state st+1s_{t+1}st+1

Deep Reinforcement Learning (DRL) extends RL by using deep neural networks to
approximate:

 Value functions V(s)V(s)V(s)
 Q-functions Q(s,a)Q(s,a)Q(s,a)
 Policies π(a∣s)\pi(a|s)π(a∣s)

This enables solving high-dimensional problems such as images and continuous control.



Q2. What is the difference between Q-learning and SARSA?

Answer:

Both are temporal-difference (TD) methods.

Q-Learning (Off-Policy)

Q(s,a)←Q(s,a)+α[r+γmax⁡a′Q(s′,a′)−Q(s,a)]Q(s,a) \leftarrow Q(s,a) + \alpha \big[r + \gamma
\max_{a'} Q(s',a') - Q(s,a)\big]Q(s,a)←Q(s,a)+α[r+γa′maxQ(s′,a′)−Q(s,a)]

,  Uses maximum next Q-value
 Learns optimal policy
 Off-policy

SARSA (On-Policy)

Q(s,a)←Q(s,a)+α[r+γQ(s′,a′)−Q(s,a)]Q(s,a) \leftarrow Q(s,a) + \alpha \big[r + \gamma Q(s',a') -
Q(s,a)\big]Q(s,a)←Q(s,a)+α[r+γQ(s′,a′)−Q(s,a)]

 Uses actual next chosen action
 Learns behavior policy
 On-policy

Key difference:
Q-learning uses greedy max; SARSA uses actual action taken.



Q3. Explain step-by-step how Deep Q-Learning (DQN) works.

Answer:

1. Replace Q-table with neural network:

Q(s,a;θ)Q(s,a;\theta)Q(s,a;θ)

2. Use ε-greedy action selection.
3. Store experience tuple:

(s,a,r,s′)(s,a,r,s')(s,a,r,s′)

4. Sample minibatch from replay buffer.
5. Compute target:

y=r+γmax⁡a′Q(s′,a′;θ−)y = r + \gamma \max_{a'} Q(s',a';\theta^-)y=r+γa′maxQ(s′,a′;θ−)

6. Minimize loss:

L=(y−Q(s,a;θ))2L = (y - Q(s,a;\theta))^2L=(y−Q(s,a;θ))2

7. Periodically update target network.

Stabilization methods:

 Experience Replay
 Target Network

Written for

Institution
Course

Document information

Uploaded on
March 3, 2026
Number of pages
15
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$16.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Wiseman NURSING
Follow You need to be logged in order to follow users or courses
Sold
7916
Member since
4 year
Number of followers
3879
Documents
29410
Last sold
4 hours ago
Premier Academic Solutions

3.9

1611 reviews

5
786
4
294
3
250
2
92
1
189

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions