<div dir="ltr">Hello Computer Architecture Class:<div><br></div><div>I updated the posted homework 3 assignment on our website.  I clarified problem 5 parts b and c.  </div><div>And, for problem 3 make certain to use the percentages I gave, not those from the book please.</div><div><br></div><div>The rewritten C code for problem 4 has a small mistake.  Correct code is given below.  <br></div><div><br></div><div><div style="font-size:12.8px">int f(int a, int b, int c, int d){</div><div style="font-size:12.8px"> return func(func(a,b),c+d); }</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">to </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">int f(int a, int b, int c, int d){</div><div style="font-size:12.8px">   int x;</div><div style="font-size:12.8px">   int y;  </div><div style="font-size:12.8px">   int z;</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">   x = func(a,b);</div><div style="font-size:12.8px">   y = c + d;</div><div style="font-size:12.8px">   z = func(x, y)  // not z = func(y, z);</div><div style="font-size:12.8px">   return z;</div><div style="font-size:12.8px">}</div></div><div><br></div><div>Best,</div><div>Dianne</div><div><div><div class="gmail_signature"><div dir="ltr"><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">_______________________________________________</span></font><br style="color:rgb(0,111,201);font-family:calibri,arial,helvetica,sans-serif"><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Dr. Dianne Foreback, Assistant Professor</span></font><br style="color:rgb(0,111,201);font-family:calibri,arial,helvetica,sans-serif"><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Department of Computer Science</span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Math and Computer Science Building (MSB) 266</span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">P.O. Box 5190, </span></font><span style="color:rgb(0,111,201);font-family:calibri,sans-serif">Kent, Ohio 44242-0001, USA</span></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Phone: <a href="tel:330.672.9064" value="+13306729064" style="color:rgb(17,85,204)" target="_blank">330.672.9064</a></span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">Email: <a href="mailto:dforebac@kent.edu" style="color:rgb(17,85,204)" target="_blank">dforebac@kent.edu</a></span></font></div><div><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px">_______________________________________________</span></font></div></div></div></div>
</div></div>