Informatics 42 • Department of Informatics • UC Irvine • Winter 2012
Informatics Core Course II
Instructor: David G. Kay,
5056 Donald Bren Hall (
Teaching assistant: Joel Ross (
firstname.lastname@example.org). Reader: Francisco Servant (
email@example.com). Lab Tutor: Melody Truong.
Quick links: Assignments Email archive Python docs Practice problems Piazza (Q&A) Other references
Course goals: As the middle course in the first-year sequence, this course continues to focus on software design, from a variety of approaches for modeling problems to the alternatives and tradeoffs of data structure design and implementation to analyzing the performance of those data structures and the associated algorithms. We could call these three themes design (How do we represent our problem so we can solve it with software?), implementation (How do we decide which of the many alternatives would be best for building this solution?), and communication (How can we characterize our solution, especially its efficiency in consuming machine resources under various conditions, in a way that other informaticians will understand?).
This quarter's offering of Informatics 42 is unique because it will use the language Python. The School of ICS plans to teach Python in all its first-year courses starting in Fall 2012; students in this course get to make the transition early. Informatics 45 next quarter will continue in Python but will also do some work in Java (which will be much easier to learn at that point).
Prerequisite concepts: This course expects Informatics 41 as a prerequisite. But because of this quarter's unique transitional nature, students with other strong programming backgrounds who wish to enroll should consult with the instructor.
Meeting place and times: Lecture meets six hours each week in Bren Hall 1200: Tuesdays and Thursdays from 11:00 to 12:20 and also from 2:00 to 3:20. Discussion and lab section meets Monday, Wednesday, and Friday from 1:00 to 2:50 in ICS 189. Most of your lab work will be done in pairs, so you should plan to attend the scheduled lab times to work with your partner.
Office hours: You are welcome to drop by my office at any time. If I'm there and not immersed in something else, I'll be glad to chat about the course material or other topics. I will definitely be in or near our offices during these scheduled hours, during which course-related matters will have first priority: Tuesdays from 12:30 to 1:00 and Fridays from 9:45 to 10:30; I may adjust these times at the end of the first week. Of course emergencies may come up, but I will try to give advance notice of any change. I'll also be happy to make arrangements for other times during the week; "making an appointment" is no big deal (but if you make one, don't blow it off without getting in touch). The quickest and most effective way to reach us is by electronic mail, as described below.
Questions and announcements: You can
usually get a response to your course-related questions within a few hours
(a bit less frequently on the weekends) by sending electronic mail to the
This goes to me and the TAs, and whoever reads it first can respond. If you
need to reach one of us individually, use our individual IDs listed above. The
firstname.lastname@example.org Email address is private between you and the course staff. We have also set up a more public discussion forum at a site called
www.piazza.com. Piazza has some advantages over the typical noteboard or discussion group and it may get you quicker answers to your questions, especially about small language details.
We may also send course announcements by Email to the official course mailing list, so you should check your Email regularly. Note that this mailing list goes to the Email address that the registrar has for you (your UCInet ID). If you prefer to read your Email on another account, forwarding instructions appear below.
This course's web page at http://www.ics.uci.edu/~kay/courses/i42; official course Email is archived at http://e3.uci.edu/12w/w3m3/37000.
Textbooks: This textbook isn't absolutely required, though you'll probably want to have something for reference. The course references page also lists Python resources.
Introduction to Computing Using Python: An Application Development Focus, by Ljubomir Perkovic. This one is available for purchase online at Amazon.com and elsewhere; unfortunately it isn't available free online.
Labs and lab hours: Of course you will need to do some of your work outside of the scheduled Monday/Wednesday/Friday lab hours. Students in Informatics 42 may use any of the school's instructional computing labs except for times when another course is scheduled in the lab exclusively. See http://www.ics.uci.edu/~lab for lab hours and other information. Note in particular that all ICS labs are closed on university holidays.
Please remember that programming tasks always take longer to complete than you think they will, no matter how much experience you have. You must account for this as you plan your time; we cannot accept busy schedules or time mismanagement as an excuse for late or incomplete assignments.
Programming language: For most of the work in this course, we will be using the current version of Python, Python 3.2. (The earlier version, Python 2.7, is not compatible although it remains in wide use. Bear this in mind if you do your own searching for references; you'll get messed up if you read materials about Python 2 instead of Python 3.) The python.org site has download information for those who wish to install Python on their own machines. Work cautiously; we can't guarantee that we'll be able to resolve installation problems on everyone's machine.
Weekly homework assignments and roughly bi-weekly lab assignments, some on paper and some on line (25% of the course grade). All the assignments will be available at http://www.ics.uci.edu/~kay/courses/i42/hw/ .
Class participation: Based primarily on participating fully and consistently in lab, including turning in partner evaluations (10%).
Weekly quizzes: Given in lecture every Thursday morning at 11:00, starting on January 12 (30% together).
One final exam: On Tuesday, March 20, from 10:30 a.m. to 12:30 p.m. (35%).
We determine final grades neither on a formal curve (with equal numbers of As and Fs, Bs and Ds, etc.) nor on a fixed, straight scale. Scores on the scale shown below will get the grades indicated, but in the past the actual cutoffs have often been significantly lower; this means that you should not assume your grade will be as low as the scale indicates. If you're concerned, check with your TA or the instructor. The basic scale is: grades in the A range (A–, A, and in exceptional cases, A+), 90% and above; grades in the B range, 80%–90%; grades in the C range, 70%–80%.
Your TA has primary responsibility for evaluating your work; go to him first for any questions about grading or scoring. If that does not resolve your question, then see the instructor. The TA and instructor will be happy to correct any errors that do occur, but we must ask that you bring us your grading questions within a week after the item is returned; the course moves quickly, and we simply can't deal with assignments long past.
We're required to say that in unusual circumstances, these criteria could change, but we do not expect that to happen.
What to do this week to get started in Informatics
— If you do not have a UCInet ID (an account on the EA system for reading electronic mail), get one. See http://activate.uci.edu/ .
— If you aren't already subscribed to the Informatics Student Association mailing list, INSA-News, subscribe now at https://mailman.ics.uci.edu/mailman/listinfo/insa-news. You'll receive notice of student events, company visits, research opportunities, and more.
— If you prefer to read your electronic mail on an account other than your UCInet account, redirect your mail at http://www.oit.uci.edu/email/deliverypoint.html .
— Sign yourself up at
piazza.com and read a little about it on their site.
— On the Web, go to
log in with your UCInet ID, choose the Winter 2012 quarter if it's not
already selected, click "Course Listing," click "Go"
next to Informatics 42, and then click "List me for this course."
You'll submit some of your work electronically; this step is necessary
to set that up.
— Get a lab printing key-card if you want to print things in the lab.
Good advice and helpful hints: Make every effort to attend the lectures; even more often than last quarter, we will cover material that isn't directly in the textbooks. It's not fair to ask the TA simply to repeat lecture material you missed, though of course he will answer questions about it.
Attend your lab section, too, since your partner depends on your presence. Don't hesitate to ask your TA to cover things that will help you.
Check your electronic mail regularly; this is an official channel for course announcements.
Keep up with the reading; you'll need it to do your assignments, and the quarter system goes so fast that a few missed pages can quickly become a few chapters if you're not careful. Our text contains some details that won't be vital for your work. You will want to read the assigned sections early and quickly (for the main ideas, not to memorize every detail); then you can ask your TA in section which parts merit closer attention.
The assignments, like all technical specifications, require careful and thorough reading and re-reading. Expect to refer back to the assignment often, and check it first when you have questions about what's required or how to proceed. Before you come to lab, be sure to read the assignment to get an idea of what's required.
Start each assignment early. Programming always takes longer to complete than you think it will, even if you have previous programming experience. By starting early, you'll have time to ask in discussion section about problems you encounter.
If you find yourself having trouble or getting behind, speak with your TA or the instructor. But never take the shortcut of copying someone else's work and turning it in; the consequences can be far worse than just a low score on a lab assignment. ICS takes academic honesty very seriously; for a more complete discussion, see the ICS departmental web page covering academic honesty issues (http://www.ics.uci.edu/ugrad/current/policies/index.php).
Always keep your own copy of each assignment, both electronically and on paper; if an assignment should get lost in the shuffle (or if the Checkmate server should crash), we'll expect you to be able to supply a replacement easily. Finally, turn in whatever portion of the assignment you have completed on the due date. In some circumstances you may arrange with your TA to work further on an assignment after the due date, but you must turn in whatever you have when the official due date comes.
Very approximate course outline:
|Week||Date||Topics (and chapters in the Perkovic (P) and Downey (D) texts)|
|1.||10 January||Introduction to the course • Introduction to Python (P1; D1, D2)|
|12 January||Python data structures (P2; D8, D10)|
|2.||17 January||Python control structures and functions (P3, P5; D3, D5, D6, D7)|
|19 January||File handling and exceptions (P4; D14)|
|3.||24 January||Classic data structures: list, stack, queue, priority queue, map/table/dictionary, tree (P6; D11, D12)|
|26 January||Algorithm analysis|
|4.||31 January||Implementation alternatives and performance tradeoffs|
|2 February||Object-oriented design, inheritance (P7, P8; D15, D16, D17, D18)|
|5.||7 February||Graphical user interfaces (P9; D19)|
|9 February||Extended example|
|6.||14 February||Finite-state automata|
|16 February||Formal languages and natural languages|
|7.||21 February||Recursion and analysis of recursive code (P10)|
|23 February||Web programming (P11)|
|8.||28 February||Probability and decision-making|
|1 March||Extended example|
|9.||6 March||Concurrency (P12.4) • Programming paradigms (P12.3)|
|8 March||Programming languages compared|
|10.||13 March||Looking back and looking forward|
|15 March||Epilogue and review|
|F.||20 March||Final exam, Tuesday, 10:30 a.m. to 12:30 p.m.|