Difference between revisions of "CSC111 Final Exam 2015"
Line 3: | Line 3: | ||
=Problem 1= | =Problem 1= | ||
<br /> | <br /> | ||
− | + | This problem is based on [[CSC111_Homework_11_2015| Homework 11]]. In Problem 1 of Homework 11, the user is asked to enter the name of a file, and then the program outputs statistics about the data stored in the file. In this exam problem, the user may enter the name of '''several files''', one after the other. There is no limit on the number of files the user enters. The exam program then outputs the same answers as for Homework 11 Problem 1, but prefixes each answer with the name of the city for which the data applies. | |
− | + | <br /> | |
− | + | ==Requirements== | |
− | + | <br /> | |
− | + | * Store your program in a file called '''final1.py'''. | |
+ | * The name of the files are all entered on one line. | ||
+ | <br /> | ||
+ | ==Example== | ||
+ | <br /> | ||
+ | ... | ||
<br /> | <br /> | ||
=Problem 2: Frogger= | =Problem 2: Frogger= |