<quiz>

<shuffle>

    <paramBlock>
	<paramDefs>

	    <defineSet names="entity,f1,f2">
		<set values="file,lab01.txt,lab02.txt" />
		<set values="file,lab03.cc,lab04.cc" />
		<set values="directory,lab01,lab02" />
		<set values="directory,lab03,lab04" />
		<set values="file,printArray1.cc,printArray2.cc" />
		<set values="file,test.html,test2.html" />
	    </defineSet>

	    <defineSet names="f3,f4">
		<set values="lab01.txt,lab02.txt" />
		<set values="lab03.cc,lab04.cc" />
		<set values="printArray1.cc,printArray2.cc" />
		<set values="test.html,test2.html" />
	    </defineSet>


	</paramDefs>

    <shuffle>
	<question>
	    <text>
               <p>Which of the following is a valid Unix command to rename the <param name="entity" />  <code><param name="f1" /></code> to <code><param name="f2" /></code>?</p>
	    </text>

   <multipleChoice>
	<choice answer="true"><code>mv <param name="f1" /> <param name="f2" /></code></choice>
	<choice ><code>rn <param name="f1" /> <param name="f2" /></code></choice>
	<choice ><code>mvdir <param name="f1" /> <param name="f2" /></code></choice>
	<choice ><code>cd <param name="f1" /> <param name="f2" /></code></choice>
	<choice ><code>cf <param name="f1" /> <param name="f2" /></code></choice>

</multipleChoice>

	</question>


	<question>
	    <text>
               <p>Which of the following is a valid Unix command to delete the file <code><param name="f3" /></code>?</p>
	    </text>

   <multipleChoice>
	<choice answer="true"><code>rm <param name="f3" /> </code></choice>
	<choice ><code>del <param name="f3" /> </code></choice>
	<choice ><code>dl <param name="f3" /> </code></choice>
	<choice ><code>cp <param name="f3" /> </code></choice>
	<choice ><code>chmod -R 000 <param name="f3" /> </code></choice>

	    </multipleChoice>

	</question>

     </shuffle>
   </paramBlock>


    <paramBlock>
	<paramDefs>
	    <define name="subdir1" values="lab02,lab03,lab04,lab05" />
	</paramDefs>

	<question>
	    <text>
               <p>How do you create a subdirectory <param name="subdir1" /> under the current directory? </p>
	    </text>

   <multipleChoice>
	<choice answer="true"><code>mkdir  <param name="subdir1" /> </code></choice>
	<choice ><code>cd <param name="subdir1" /> </code></choice>
	<choice ><code>mkdir ~/<param name="subdir1" /> </code></choice>
	<choice ><code>cd ~/<param name="subdir1" /> </code></choice>
	<choice ><code>md  ~/<param name="subdir1" /> </code></choice>

	    </multipleChoice>

	</question>


  </paramBlock>


<question>

  <text><p>Which of the following is a Unix command to change your current directory to the parent of the current directory?</p></text>

<multipleChoice>
<choice answer="true"><code><![CDATA[cd ..]]></code></choice>
<choice answer="true"><code><![CDATA[cd .]]></code></choice>
<choice answer="true"><code><![CDATA[cd ~]]></code></choice>
<choice answer="true"><code><![CDATA[cd ]]></code></choice>
<choice answer="true"><code><![CDATA[pwd ]]></code></choice>
</multipleChoice>

</question>

</shuffle>

</quiz>

