• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

CSE 230 Final Exam Review (Ch. 9) Questions with Correct Answers (Grade A+)

Document preview thumbnail
Preview 1 out of 3 pages

CSE 230 Final Exam Review (Ch. 9) Questions with Correct Answers (Grade A+)

Content preview

CSE 230 Final Exam Review (Ch. 9) Questions with Correct Answers
(Grade A+)

Question 1: Which of the following describes 2-bit history table branch prediction? A history table is
used to store multiple bits, mapped to the branch instruction address, indicating the history of the
branch behavior. A state machine is used to update the table. Hardware designer specifies to always
predict a taken or untaken branch. The next instruction to load after a branch instruction is randomly
chosen from instruction memory. A history table is used to store a single bit mapped to the branch
instruction address, indicating that the branch was previously taken or untaken.

Answer: A history table is used to store multiple bits, mapped to the branch instruction address, indicating
the history of the branch behavior. A state machine is used to update the table.

Question 2: What is an advantage of static branch prediction? Increases hardware complexity. High
branch prediction accuracy (better than chance) Increased performance. Low branch prediction
accuracy (no better than chance). Simple implementation.

Answer: Simple implementation.

Question 3: What is a disadvantage of static branch prediction? Simple implementation. High branch
prediction accuracy (better than chance) Increased performance. Increases hardware complexity. Low
branch prediction accuracy (no better than chance).

Answer: Low branch prediction accuracy (no better than chance).

Question 4: What is a disadvantage of a dynamic branch prediction method, like history table?
Increased performance. Simple implementation. Low branch prediction accuracy (no better than
chance). Increases hardware complexity. High branch prediction accuracy (better than chance)

Answer: Increases hardware complexity.

Question 5: What is an advantage of dynamic branch prediction methods, such as history tables, over
static branch prediction? Increased hardware complexity. Decreased hardware complexity Improved
branch prediction accuracy (better than chance) Low branch prediction accuracy (no better than
chance).

Answer: Improved branch prediction accuracy (better than chance)

Question 6: Given the following code, what hazards occur? lw $s1, 0($s0) lw $s2, 4($s0) add $s3, $s1, $s2
sw $s3, 12($s0) lw $s4, 8($s0) add $s5, $s1, $s4 Control Hazards Structure Hazards None of these. Data
Hazards

Answer: Data Hazards




Page 1

Document information

Uploaded on
September 16, 2026
Number of pages
3
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

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

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.
DrJon
3.8
(159)
Sold
600
Followers
188
Items
24731
Last sold
1 day ago




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