Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For the following pattern of branch outcomes: (T for branch taken and NT for bra

ID: 3532830 • Letter: F

Question

For the following pattern of branch outcomes: (T for branch taken and NT for branch not taken)

T, T, T, T, NT, NT, NT, T

a. What is the accuracy of always-taken and always-not-taken predictors?

b. What is the accuracy of a one-bit predictor, assuming the predictor starts off predicting

not-taken? What if the pattern repeats forever?

c. What is the accuracy of a two-bit predictor, assuming the predictor starts off in the

bottom left state from Fig 4.63 (see textbook)? What if the pattern repeats forever?

Explanation / Answer

a) the accuracy of all ways taken = 5/8 = 62.5 %


the accuracy o not taken = 37.5%


c) the accuracy when it repeats forever is 62.5 % ,sine after second iteration it repeats itself

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote