Difference between revisions of "CSC111 Final Exam 2014"

From dftwiki3
Jump to: navigation, search
Line 7: Line 7:
 
'''This final exam is take-home'''.  It is open-books, open-notes, and open-Web. ''' It is due''' a week after it is made available, '''at 4:00 p.m.''' on Friday May 9th, 2014.
 
'''This final exam is take-home'''.  It is open-books, open-notes, and open-Web. ''' It is due''' a week after it is made available, '''at 4:00 p.m.''' on Friday May 9th, 2014.
  
'''You cannot discuss the details of this exam with anyone except your instructor'''.  You cannot work in pair-mode.  The TAs are '''not allowed''' to help you out in any way.  No question will be answered in person after the last CSC111 class.  All questions about the exam should be posted to Piaza.  If you are not sure whether your question should be made public because it might contain revealing information about the code, make your question private when you post it to Piaza.
+
'''You cannot discuss the details of this exam with anyone except your instructor'''.  You cannot work in pair-mode.  The TAs are '''not allowed''' to help you out in any way.  No question will be answered in person after the last CSC111 class.  All questions about the exam should be posted on Piaza.  If you are not sure whether your question should be made public because it might contain revealing information about your code, make your question private when you post it.
  
 
'''The exam is given under the rules of the Smith College [http://www.smith.edu/sao/handbook/socialconduct/honorcode.php Honor Code].'''   
 
'''The exam is given under the rules of the Smith College [http://www.smith.edu/sao/handbook/socialconduct/honorcode.php Honor Code].'''   
  
Make sure you reference all work/resources in the header of your code.  This include Web sites you visited and from which you may have taken some code sections.  You do not need to reference any code taken from the CSC111 class pages.
+
Make sure you reference all work/resources in the header of your code.  This includes Web sites you visited and from which you may have taken some code sections.  You do not need to reference any code taken from the CSC111 class pages.
  
You must submit a solution for Problem 1, and one solution for either Problem 2 or Problem 3.  You may submit solutions for all three problems.  In this case the exam grade will be computed as ''gradeProblem1'' + '''max'''( ''gradeProblem2'', ''gradeProblem3'' ).
+
You must submit a solution for Problem 1, and one solution for either Problem 2 or Problem 3.  You may submit solutions for all three problems.  In this case the exam grade will be computed as ''gradeProblem1'' + '''max'''( ''gradeProblem2'', ''gradeProblem3'' ).  All programs are worth 50 points max.
 
</bluebox>
 
</bluebox>
 
<br />
 
<br />
Line 20: Line 20:
 
=Problem #1 (50 points)=
 
=Problem #1 (50 points)=
 
<br />
 
<br />
Store the code below in a file called '''finaltext.py'''.
+
<br />
 +
<font color="magenta">Store the code below in a file called '''finaltext.py'''.</font>
 +
<br />
 
<br />
 
<br />
 
<source lang="python">
 
<source lang="python">

Revision as of 08:40, 2 May 2014


...