<!DOCTYPE quiz SYSTEM "ttxml.dtd">

<quiz id="CISC106 07F Final Exam">
  <question breakQuestion="true">

    <fillInTheBlankQuestion>
    <text> 
    <p>Below you will find complete listings of a MATLAB function M-file, and 
      a test script for that M-file, except that 
    at a few places in the files code has been removed.</p>  
    <p>Before the code was removed, the MATLAB function correctly calculated the value of the maximum element in a row or column vector, and returned that element.  If the vector was empty, the function returned the empty matrix.</p>
   <p>The function <code>performEqualTest</code> operates correctly on vector and/or scalar input, including the empty matrix, and prints out <code>passed</code> if its first two arguments are equal and <code>failed</code> if its first two arguments are not equal. It is not guaranteed to work correctly on anything other than scalar or vector input for the first two arguments.</p>
    <p>Fill in the missing code.</p>
    </text>


   <url id="testRemoveNegatives.m">http://www.udel.edu/CIS/pconrad/thing/106/removeNegatives/testRemoveNegatives.m</url>
   <url id="performEqualTest.m">http://www.udel.edu/CIS/pconrad/thing/106/removeNegatives/performEqualTest.m</url>
   <url id="testRemoveNegatives.txt">http://www.udel.edu/CIS/pconrad/thing/106/removeNegatives/testRemoveNegatives.txt</url>
   <url id="removeNegatives.m" suppress="true">http://www.udel.edu/CIS/pconrad/thing/106/removeNegatives/removeNegatives.m</url>

    <showAnswer />


    </fillInTheBlankQuestion>
  </question>
</quiz>


