Difference between revisions of "CSC111 Final Exam 2018"

From dftwiki3
Jump to: navigation, search
Line 22: Line 22:
 
   
 
   
 
* 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:
* The most popular major
+
::* The most popular major.  In this case both the first major and second major count.
* The least popular major
+
::* The most popular minor
* The most popular second major
+
::* The most popular double major.  In this case, "CSC MTH" and "MTH CSC" should be considered the same double major, and should printed with the acronyms listed in alphabetical order, as "CSC MTH" in the output.
* The most popular minor
+
::* Which email domain is most frequent in the file.
* The most popular double major.  In this case, "CSC MTH" and "MTH CSC" should be considered the same double major, and should printed with the acronyms listed in alphabetical order, as "CSC MTH."
 
* Which email domain is most frequent in the file.
 
 
* Example of output:
 
* Example of output:
  

Revision as of 10:43, 26 April 2018

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



...