Difference between revisions of "CSC111 Midterm Exam Preparation 2015"
Line 136: | Line 136: | ||
farm = [ "dog", "cat", "horse", ... , "mouse" ] | farm = [ "dog", "cat", "horse", ... , "mouse" ] | ||
</source> | </source> | ||
− | Write the code that will print the sum of the length of all the words. For example, if the list contains [ "dog", "horse" ], the program would print 8, which is 3 + 5, the | + | Write the code that will print the sum of the length of all the words. For example, if the list contains [ "dog", "horse" ], the program would print 8, which is 3 + 5, the length of "dog" plus the length of "horse". |
</onlydft> | </onlydft> |
Revision as of 20:40, 28 February 2015
--D. Thiebaut (talk) 18:08, 28 February 2015 (EST)
Midterm Exam Prep
The midterm is an in-class exam given under the rules of the honor code. It lasts 70 minutes. It will be closed books, closed notes, closed computers.