ICS 31 • DAVID G. KAY • UC IRVINE • WINTER 2013
Quizzes
Every Monday from noon to midnight (now, Sunday through Tuesday), a quiz will be available on EEE. The quizzes are self-scored; everyone who takes it receives full credit. Eventually the text of the quiz and the answers will be posted here.
- Quiz 1
(January 14): Course information, applications of computing, simple expressions and print statements.
-
Quiz 2
(January 21-22): Evaluating expressions, sequences of statements, lists, namedtuples. [We intentionally posted this before the quiz formally closed so that people who have finished the quiz can see the answers. If you haven't taken the quiz, don't look yet. (Looking before taking the quiz won't raise your score; it will just deprive you of one more source of study materials.)]
-
Quiz 3
(January 27-28): Programmer-defined functions, data types, control structures for selection and repetition, combining data structures. [The same advice about peeking early applies here.]
- Quiz 4 (February 4): Data types, function calling sequence, writing functions that call other functions.
- Quiz 5 (February 11): Printing vs. returning in functions, processing lists of namedtuples, writing assertions as tests, programming with lists of namedtuples containing lists of namedtuples (students and courses).
- Quiz 6 (February 18): Summing a list (in a structure), selecting from a list, lists containing lists, string processing, string formatting.
- Quiz 7 (February 25): Nested if/elif/else, lists containing lists, reading from files.
- Quiz 8 (March 4): Processing lists of namedtuples containing lists (ICStunes), reading error messages and fixing errors.
- Quiz 9 March 11): Changing time representation, removing initial lines from a file, creating and printing a two-dimensional matrix.
Midterms
Below are copies of past ICS 31 midterms. The most effective way to use these to study or review is to block out the answers entirely and try to answer the questions "for real".
Fall 2012 First Midterm (with answers)
Fall 2012 Second Midterm (with answers)
Winter 2013 First Midterm (with answers)
Winter 2013 Second Midterm (with answers)
David G. Kay, kay@uci.edu
Friday, March 15, 2013 8:52 PM