ÿþ<html xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=unicode"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 12"> <meta name=Originator content="Microsoft Word 12"> <link rel=File-List href="index_files/filelist.xml"> <link rel=Edit-Time-Data href="index_files/editdata.mso"> <title>Recitation for Comp 401</title> <link rel=themeData href="index_files/themedata.thmx"> <link rel=colorSchemeMapping href="index_files/colorschememapping.xml"> <style> </style> <meta name=keywords content="Comp 401 Recitation"> <meta name=author content="Sajal Dash, Alfredo Miranda, Yu Meng"> </head> <body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'> <div class=WordSection1> <h1><span style='mso-fareast-font-family:"Times New Roman"'>Recitation Material<o:p></o:p></span></h1> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'><a href="makeproject/">How to set up a project</a><o:p></o:p></span></h2> <h2><span style='mso-fareast-font-family:"Times New Roman"'><a href="rubrics/">Grading rubrics for assignments</a><o:p></o:p></span></h2> <h2><span style='mso-fareast-font-family:"Times New Roman"'><a href="MidtermISummary.pdf">Midterm I Summary Statistics</a><o:p></o:p></span></h2> <h2><span style='mso-fareast-font-family:"Times New Roman"'><a href="submit/">How to submit your assignments/recitations</a><o:p></o:p></span></h2> <h2><span style='mso-fareast-font-family:"Times New Roman"'><a href="downloads/Corrections.docx">Template for Corrections, Returned Late Points, and Moved Dates Credit</a><o:p></o:p></span></h2> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>November 18, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Animation</span></b><span style='mso-fareast-font-family: "Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation12.ppt">Recitation 12</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation12.zip">Recitation12.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>November 11, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Observers and Automatic Refresh</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation11.pptx">Recitation 11</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation11.zip">Recitation11.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>November 4, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Generics</span></b><span style='mso-fareast-font-family: "Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation10.ppt">Recitation 10</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation10.zip">Recitation10.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>October 28, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Abstract Classes and Scanning</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation9.ppt">Recitation 9</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation9.zip">Recitation9.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>October 14, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Overloading and&nbsp;Overriding</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation8.ppt">Recitation 8</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation8.zip">Recitation8.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>October 7, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Inheritance &amp; Overriding</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation7.ppt">Recitation 7</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation7.zip">Recitation7.zip</a><br> The code for the extra challenge can be downloaded here: <a href="code/Extra7.zip">Extra7.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>September 30, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Variable-Sized Collections</span></b><span style='mso-fareast-font-family: "Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation6.ppt">Recitation 6</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation6.zip">Recitation6.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>September 23, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Graphics &amp; Test-first programming</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation5.ppt">Recitation 5</a><br> The code for this recitation can be downloaded here: <a href="code/Recitation5.zip">Recitation5.zip</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>September 16, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Constructors, Immutable Objects and Instances</span></b><span style='mso-fareast-font-family:"Times New Roman"'> <br> Slides are here: <a href="slides/Recitation4.ppt">Recitation 4 </a><br> Java file is here: <a href="code/Recitation4.java">Recitation4.java</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>September 9, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Using ObjectEditor to edit state</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <br> The slides for this recitation can be downloaded here: <a href="slides/Recitation3.ppt">Recitation 3</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>September 2, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Using ObjectEditor to Invoke Methods</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <br> The set of slides explaining the recitation exercise can be downloaded here: <a href="slides/Recitation2.ppt">Recitation 2</a><o:p></o:p></span></p> <div class=MsoNormal align=center style='text-align:center'><span style='mso-fareast-font-family:"Times New Roman"'> <hr size=2 width="100%" align=center> </span></div> <h2><span style='mso-fareast-font-family:"Times New Roman"'>August 26, 2011<o:p></o:p></span></h2> <p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='mso-fareast-font-family: "Times New Roman"'>Part 1: Download Java and Eclipse</span></b><span style='mso-fareast-font-family:"Times New Roman"'><br> <a href="downloads" target=blank>Downloads</a><br> <br> <b>Part 2: Setup Java Programming Environment (<a href="slides/EclipseSetup.ppt">Slides</a>)</b><br> Start to get your hands dirty with Eclipse! Eclipse provides a user-friendly interface for various programming languages. This part will go through the installation/setup process step by step. In addition, the debugging and packaging tools are introduced in this section.<br> <br> <b>Part 3: Problem</b><br> Save <a href="code/Factorial.java" target=blank>Factorial.java</a> into your newly created Factorial project in Eclipse. Instead of reading the input from the console, read the inputs from the command line (using args[]). If the user enters exactly one argument, calculate the factorial of that argument. You can assume the argument is an integer, but must fail with appropriate output if more than one argument is given.<o:p></o:p></span></p> <h2><span style='mso-fareast-font-family:"Times New Roman"'><a href="video/ball.avi">Ballistic Animation</a><o:p></o:p></span></h2> </div> </body> </html>