homework 2 solutions

Structured Computer Organization (4th Edition)

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Sheet1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html <title>University of Maryland | Electrical and Computer Engineering Department</title> <link href="http://www.ece.umd.edu/styles.css" rel="stylesheet" type="text/css"> <script language="JavaScript"> <!-function ECE_navBar( tableCellRef, hoverFlag, navStyle ) { if ( hoverFlag ) { switch ( navStyle ) { case 1: tableCellRef.style.backgroundColor = '#e70000' break default: //tableCellRef.style.backgroundColor = '#e70000' if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#e70000' } } } else { switch ( navStyle ) { case 1: tableCellRef.style.backgroundColor = '#7e0000' break default: //tableCellRef.style.backgroundColor = '#7e0000' if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#7e0000' } } } } //--> </script> <script language="JavaScript" type="text/JavaScript"> <!-function ECE_navBar2( tableCellRef, hoverFlag, navStyle ) { if ( hoverFlag ) { switch ( navStyle ) { case 1: tableCellRef.style.backgroundColor = '#f58e29' break default: //tableCellRef.style.backgroundColor = '#f58e29' if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#f58e29' Page 1 Sheet1 } } } else { switch ( navStyle ) { case 1: tableCellRef.style.backgroundColor = '#e9821d' break default: //tableCellRef.style.backgroundColor = '#e9821d' if ( document.getElementsByTagName ) { tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#e9821d' } } } } //--> </script> <script language="JavaScript" type="text/JavaScript"> <!-function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload() } MM_reloadPage(true) function MM_findObj(n, d) { //v4.01 var p,i,x d=parent.frames[n.substring(p+1)].document if(!(x=d[n])&&d.all) x=d.all[n] for(i=0 if(!x && d.getElementById) x=d.getElementById(n) } function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments for (i=0 if (obj.style) { obj=obj.style obj.visibility=v } //--> </script> <style type="text/css"> <!-body { background-color: #ffe0af } .style6 {font-weight: bold} .style8 {font-size: 9px} Page 2 Sheet1 .style10 {font-size: 15px} .style11 {font-size: 10px} .style12 {font-size: 12px} --> </style></head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#FFFFFF"> <td background="http://www.ece.umd.edu/Images/bg2.gif"><a name="top"></a> <table width="740" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="100"><table width="740" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="575"><a href="/" onMouseOver="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','La <td valign="top" bgcolor="#FFFFFF"><table width="165" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="http://www.ece.umd.edu/Images/search_top.gif" width="165" height="25"></td> </tr> <tr> <td align="right"><table width="165" border="0" cellpadding="0" cellspacing="0"> <form name="Search" id="Search" method="get" action="http://www.searchum.umd.edu/search" target="_blank" <tr> <td valign="top"><img src="http://www.ece.umd.edu/Images/white.gif" width="25" height="1"></td> <td valign="top"><br> <img src="http://www.ece.umd.edu/Images/search.gif" alt="Search" width="43" height="16 </td> </tr bgcolor="#FFFFFF"> <tr> <td valign="top">&nbsp <td valign="top"> <input type="text" name="q" size="13" maxlength="255" id="search_term" value=""/> <input type="image" src="http://www.ece.umd.edu/Images/submitsearch.gif" width="21" height="14" border="0" value= <input type="hidden" name="site" value="UMCP"/> <input type="hidden" name="client" value="UMCP"/> <input type="hidden" name="proxystylesheet" value="UMCP"/> <input type="hidden" name="output" value="xml_no_dtd"/></td> </tr> </form> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="20" bgcolor="#ffe0af" valign="top"><table width="740" height="20" border="0" cellpadding="2" cellspacing= <tr> <td align="center" class="black"><span class="style6">&raquo </tr> Page 3 Sheet1 </table> </td></tr><tr><td bgcolor="#e9821d" valign="top" height="13"> <img src="http://www.ece.umd.edu/Images/white.gif" width="740" height="4" align="top"> </td> </tr> </table></td></tr> <tr> <td bgcolor="#ffe0af"><table width="740" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="170" align="center" valign="top" bgcolor="#7e0000"><table width="170" border="0" cellpadding="4" cellspaci <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_1" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_2" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_3" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_4" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_5" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_6" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_7" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_8" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" ID="Nav_9" onMouseOver="ECE_navBar(this,1,1) </tr> <tr> <td width="10" bgcolor="#9D1312">&nbsp <td bgcolor="#7e0000" onMouseOver="ECE_navBar(this,1,1) </tr> </table> <br> Page 4 Sheet1 <table width="170" border="0" cellspacing="5" cellpadding="8"> <tr> <td><img src="http://www.ece.umd.edu/Images/orange_triangle_dk.gif" width="10" height="10" align="absmiddle"> < <br> <img src="http://www.ece.umd.edu/Images/orange_triangle_dk.gif" width="10" height="10" align="absmiddle"> <a h <br> <img src="http://www.ece.umd.edu/Images/orange_triangle_dk.gif" width="10" height="10" align="absmiddle"> <a h </tr> </table> <br> <br> <br></td> <td width="570" valign="top" bgcolor="#FFFFFF"><table width="570" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td><table width="100%" border="0" cellspacing="5" cellpadding="5"> <tr> <td valign="top"><p><strong><br> <span class="headlines style10">Error 404 - File not found.</span><br> <br> The page you have requested does not exist on this server.<br> </strong><br> <br> <span class="style12">Please report this problem via our <a href="http://www.ece.umd.edu/feedback.html">ECE <br> <br> <br> <a href="http://www.ece.umd.edu"><span class="style11">Return to the ECE home page</span></a><br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> </p> <p align="right"><span class="style8"><a href="#top">&uarr <br> <strong><br> </strong></p></td> </tr> </table> </td> Page 5 Sheet1 </tr> </table></td></tr> </table> </td> </tr> <tr> <td bgcolor="#7e0000"><table width="740" border="0" cellspacing="1" cellpadding="3" bgcolor="#000000"> <tr> <td><span class="footer">&copy <td align="right" class="footer"><a href="../">ECE Home</a> </td> </tr> </table></td> </tr> <tr> <td bgcolor="#FFFFFF"><img src="http://www.ece.umd.edu/Images/white.gif" width="1" height="1"></td> </tr> </table> Page 6 Sheet1 charset=iso-8859-1"> Page 7 Sheet1 document.MM_pgH=innerHeight if(!d) d=document n=n.substring(0,p) for (i=0 !x&&d.layers&&i<d.layers.length return x i<(args.length-2) v=(v=='show')?'visible':(v=='hide')?'hidden':v } Page 8 Sheet1 hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB search" target="_blank"> h" width="43" height="16" hspace="0" vspace="0" border="0"><br> </td> ="14" border="0" value="Search" name="SUBMIT"> adding="2" cellspacing="2"> </span><strong> INFO FOR:</strong>&nbsp Page 9 Sheet1 ellpadding="4" cellspacing="1" bgcolor="#FFFFFF"> </td> MM_showHideLayers('Layer1','','show','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7' </td> MM_showHideLayers('Layer1','','hide','Layer2','','show','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','show','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','show','Layer5','','hide','Layer6','','hide','Layer7' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','show','Layer6','','hide','Layer7' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','show','Layer7' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7',' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7',' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7',' </td> MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7',' Page 10 Sheet1 0" align="absmiddle"> <a href="http://www.ece.umd.edu/directory.html" class="tan">Directory</a> <br> align="absmiddle"> <a href="https://ecemail.ece.umd.edu/" target="_blank" class="tan">ECE Webmail</a><br> align="absmiddle"> <a href="http://www.ece.umd.edu/ececf" class="tan">Help Desk</a></td> cellpadding="0"> du/feedback.html">ECE Site Feedback Form</a></span><br> age</span></a><br> Back to Top</a></span> <br> Page 11 Sheet1 Copyright 2005-2006, <a href="http://www.umd.edu" target="_blank">University of Maryland</a> </span></td> Page 12 Sheet1 Page 13 Sheet1 onresize=MM_reloadPage }} if((p=n.indexOf("?"))>0&&parent.frames.length) { } !x&&i<d.forms.length i++) x=MM_findObj(n,d.layers[i].document) i++) x=d.forms[i][n] i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2] } Page 14 Sheet1 er5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L ace="0" border="0"><br> SUBMIT"> &nbsp <a href="http://www.ece.umd.edu/admissions/" class="black" onMou Page 15 Sheet1 FFFFFF"> 1','','show','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','La 1','','hide','Layer2','','show','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','La 1','','hide','Layer2','','hide','Layer3','','show','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','La 1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','show','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','La 1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','show','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','La 1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','show','Layer7','','hide','Layer8','','hide','Layer9','','hide','La 1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','show','Layer8','','hide','Layer9','','hide','La 1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','show','Layer9','','hide','La 1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','show','La 1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','Lay Page 16 Sheet1 w.ece.umd.edu/directory.html" class="tan">Directory</a> <br> ail.ece.umd.edu/" target="_blank" class="tan">ECE Webmail</a><br> e.umd.edu/ececf" class="tan">Help Desk</a></td> rm</a></span><br> Page 17 Sheet1 ef="http://www.umd.edu" target="_blank">University of Maryland</a> </span></td> Page 18 Sheet1 Page 19 Sheet1 i++) x=d.forms[i][n] Page 20 Sheet1 r9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','LayerE','','hide','LayerF','','hide','LayerG','','hide')"><img src="http Government</a> | <a href="http://www.ece.umd.edu/faculty.html" class="black" onMouseOver="MM_showHideLayers('Layer Page 21 Sheet1 r5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L r5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L r5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L r5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L 5','','show','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L 5','','hide','Layer6','','show','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L 5','','hide','Layer6','','hide','Layer7','','show','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L 5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','show','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L 5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','show','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','L 5','','hide','Layer6','','hide','Layer7','','hide','Layer8','','hide','Layer9','','hide','LayerA','','hide','LayerB','','hide','LayerC','','hide','LayerD','','hide','La Page 22 Sheet1 ><br> Page 23 Sheet1 d</a> </span></td> Page 24 Sheet1 Page 25 Sheet1 Page 26 Sheet1 Staff</a> | <a href="http://www.ece.umd.edu/family/" class="black" onMouseOver="MM_showHideLayers('Layer1','','hide','La Page 27 Sheet1 Page 28 Sheet1 Page 29 Sheet1 Page 30 Sheet1 Page 31 Sheet1 Page 32 Sheet1 erD','','hide','LayerE','','hide','LayerF','','show','LayerG','','hide')">Family</a> | <a href="http://www.ece.umd.edu/News/" class="black" onMou Page 33 Sheet1 Page 34 Sheet1 Page 35 Sheet1 Page 36 ...
View Full Document

Ask a homework question - tutors are online