Difference between revisions of "CSC111 Final Exam 2018"

From dftwiki3
Jump to: navigation, search
Line 5: Line 5:
 
=Problem 1=
 
=Problem 1=
 
* The CSV file at location http://cs.smith.edu/~dthiebaut/111/5colMajors.csv contains email addresses of 5-college students along with their major or double-major, and, possibly, their minor.
 
* The CSV file at location http://cs.smith.edu/~dthiebaut/111/5colMajors.csv contains email addresses of 5-college students along with their major or double-major, and, possibly, their minor.
* Here are the first and last lines of the file, along with a line in the middle, which contains a minor:
+
* Here are typical lines you will find in the 5colMajors.csv file:
 
   
 
   
 
  email, major1, major2, minor
 
  email, major1, major2, minor
  Cecil731@smith.edu,SPB,BKX,
+
  Florance872@hampshire.edu,RUL,,
  Mandy887@smith.edu,ANS,AMS,
+
  Nguyet929@umass.edu,REES,CSC,THE
  Annamarie593@smith.edu,GES,,
+
  Sol937@hampshire.edu,CSC,,
  Shyla554@smith.edu,BUX,,
+
  Loreen219@smith.edu,ITL,ENV,
Annamarie675@amherst.edu,WEX,GEO,
 
 
  ...
 
  ...
 
  Marquerite747@amherst.edu,DAN,,BUX
 
  Marquerite747@amherst.edu,DAN,,BUX
 
  ...
 
  ...
  Daysi348@hampshire.edu,MTH,,
+
  Alishia128@hampshire.edu,AMS,,
  Cathrine543@umass.edu,PYX,,
+
  Nolan149@smith.edu,SAX,,
  Teofila517@hampshire.edu,ITL,,
+
Xiao517@umass.edu,CSF,,
  Alishia15@hampshire.edu,EAC,,
+
  Lawerence246@smith.edu,JUD,,
 +
  Dominique1@smith.edu,ESS,,LALS
 
   
 
   
 
* Write a python program that reads this type of file from its URL, and outputs this information:
 
* Write a python program that reads this type of file from its URL, and outputs this information:

Revision as of 14:37, 26 April 2018

D. Thiebaut (talk) 11:39, 26 April 2018 (EDT)



...