Difference between revisions of "CSC111 Final Exam 2010"

From dftwiki3
Jump to: navigation, search
Line 13: Line 13:
 
</bluebox>
 
</bluebox>
  
==Problem #1: Temperatures in the UK==
+
=Problem #1: Temperatures in the UK=
 
:[[Image:HistoricStationDataUKWeather.png | right | 200px]]
 
:[[Image:HistoricStationDataUKWeather.png | right | 200px]]
 
You have to write a program that reads weather data from the Web, process the data, and output the answers to several questions.
 
You have to write a program that reads weather data from the Web, process the data, and output the answers to several questions.
Line 280: Line 280:
 
:There won't be any extension due to failure of the computer, either beowulf or yours.  Python can run on all the various platforms available to you.  As long as the computer you are using can access the Web, you can write a program for the final.  In case beowulf is down on the last day of exam period, email your program to your instructor (thiebaut@cs.smith.edu) before the 4:00 p.m. deadline.
 
:There won't be any extension due to failure of the computer, either beowulf or yours.  Python can run on all the various platforms available to you.  As long as the computer you are using can access the Web, you can write a program for the final.  In case beowulf is down on the last day of exam period, email your program to your instructor (thiebaut@cs.smith.edu) before the 4:00 p.m. deadline.
  
==Problem #2==
+
=Problem #2=
  
 
Write a program called final2.py that contains a '''recursive''' function called '''minmax()''' which returns the smallest and largest element of a list.
 
Write a program called final2.py that contains a '''recursive''' function called '''minmax()''' which returns the smallest and largest element of a list.
Line 298: Line 298:
 
</source>
 
</source>
  
===Requirements===
+
==Requirements==
  
 
The function '''minmax()''' must be recursive.
 
The function '''minmax()''' must be recursive.
  
===Submission===
+
==Submission==
  
 
Submit your program as follows:
 
Submit your program as follows:

Revision as of 07:12, 30 April 2010


...