Difference between revisions of "CSC111 Final Exam 2018"
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 | + | * Here are typical lines you will find in the 5colMajors.csv file: |
email, major1, major2, minor | email, major1, major2, minor | ||
− | + | Florance872@hampshire.edu,RUL,, | |
− | + | Nguyet929@umass.edu,REES,CSC,THE | |
− | + | Sol937@hampshire.edu,CSC,, | |
− | + | Loreen219@smith.edu,ITL,ENV, | |
− | |||
... | ... | ||
Marquerite747@amherst.edu,DAN,,BUX | Marquerite747@amherst.edu,DAN,,BUX | ||
... | ... | ||
− | + | Alishia128@hampshire.edu,AMS,, | |
− | + | Nolan149@smith.edu,SAX,, | |
− | + | Xiao517@umass.edu,CSF,, | |
− | + | 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: |