12:30-1:20 MWF, Room 205 MLH
Instructors:
James F. Cremer 14D MLH, cremer@cs.uiowa.edu, 319-335-1713
Sriram V. Pemmaraju 101G MLH, sriram@cs.uiowa.edu, 319-353-2956
Office Hours: To be announced
Introduction
This course has two main goals: (i) to teach students practical
programming skills in a scripting language (Python is our
choice this semester) and (ii) to introduce students to algorithm design
and analysis, focusing on algorithmic idioms such as greedy algorithms,
divide and conquer, backtracking search and basic data structures such
as arrays, strings, hashe tables, and graphs. The course also provides
a first exposure to relational databases and web programming.
The overall structure of the course is:
Teaching Assistant
The teaching assistant (TA) for this course is
Donald E. Curtis III.
Don's contact information and office hours will be announced shortly.
There are two discussion sections associated with this course whose
meeting times and locations are as follows:
Section A01 11:30-12:20 M 301 MLH Section A01 11:30-12:20 T 301 MLHDon will lead both of these discussion section meetings, in addition to grading your work and holding regular office hours. Don is a Ph.D. student in computer science and an expert Python programmer (more so than the instructors!) so you should make use of his expertise.
Required Legalese
This course is run by the College of Liberal Arts and Sciences.
This means that class policies on matters such as requirements, grading, and sanctions for academic dishonesty are governed by
the College of Liberal Arts and Sciences. Students wishing to add or drop this course after the official deadline must receive
the approval of the Dean of the College of Liberal Arts and Sciences.
Details of the University policy of cross enrollments may be found online
here.
Prerequisites
22C:005 is a prerequisite. That means you should have completed
this course in fall 2008 or earlier.
A math course selected from
22M:005, 22M:009, 22M:010, 22M:013, or 22M:015, (or MPT II score of 17
or higher) is a corequisite.
That means that you should be taking one of these math courses this
semester (spring 2009) or should have taken it earlier.
Textbook
The textbook for this course is Introduction to Computing and
Programming in Python, A Multimedia Approach by Mark Guzdial.
The book should be available in the university bookstore and is available
online via amazon here..
We will follow this book closely in the first part of the course, but the
programming ideas developed in this book will be useful throughout the
semester.
The book is also available via on-line or downloadable subscription. It is substantially cheaper than the printed book but you only get access for 180 days.
While the goal of this book is to introduce students to computing and programming, Prof. Guzdial use an innovative approach by focusing on computations that involve media (e.g., images, movies, sounds) and the web. Students will quickly be able to write programs that, for example, implement Photoshop-like effects on images or get the current temparature in Iowa City from a weather webpage, while learning the fundamentals of programming. Prof. Guzdial and colleagues have developed a lot of material (software, lecture notes, data sets, etc.) to support the media computation approach to learning to program. At Mark Guzdial's home page you'll find many links to Media Computation material.
If you are looking for a plain introductory Python book, there are a few reasonably good books available free online. Here are two we know about:
Prof. Pemmaraju will provide notes for some of the material covered in the second third of the course.
Python and JES
As mentioned before, we will program in Python in this course.
Python is a powerful, but easy-to-learn language with lots of in-built
tools for web programming, GUI development, database programming,
game development, etc.
We chose it for this course because with relatively little code students can
do fairly complicated and interesting tasks.
Our hope is the students will find both the language and media computation approach
to learning it, very exciting.
You will use the Jython Environment for Students (JES) for developing your programs. JES was developed by Prof. Guzdial and colleagues and the code examples presented in our textbook are developed on JES. In case, you are interested, Jython is an implementation of Python language written in Java. Jython will run on any machine that runs Java programs. Don't worry: you don't need to learn Java to use Jython. JES has been installed on the machines in the computer science lab in 301 MLH and very soon you will get instructions on how to get started using this environment. To be able to work in 301 MLH, you will need computer science department accounts; some of you already have such accounts; the rest of you will get CS accounts by the end of the first week.
You can also download JES for free on your home machines and laptops from here. But, first you will need to download the latest version of Java on your machine as well. You can do that from here. Both downloads are fairly straightforward, but don't hesitate to ask for help if you are stuck.
Grading
Plus/Minus grading will be used for the course.
There are three components that will determine your grade.
We reserve the right to change the percentanges of the components by up to 10% each.
Exam 1 Feb 27th, Friday 12:30-1:20 pm (in 205 MLH) Exam 2 April 10th, Friday 12:30-1:20 pm (in 205 MLH) Final May 11th, Monday 7:30-9:30 am (in 205 MH)All exams will be open book/notes exams. The final will be cumulative.
Solutions will be provided on the course page for all graded work, including programming assignments.
Students with disabilities
I would like to hear from anyone who has a disability which may require seating
modifications or testing accommodations or accommodations of other class requirements,
so that appropriate arrangements may be made. Please contact me during my office hours.
Academic Dishonesty
Academic dishonesty will not be tolerated. Under no circumstances should you
pass off someone else's work as your own. This also applies to code or other material that you
might find on the internet. Note that we will routinely use available
software systems for detecting software plagiarism, to test any suspicions
we might have. If you are unclear about what constitutes academic dishonesty
contact your professor or consult the printed policy in the Schedule of
Courses and the CLAS Bulletin (online
version).
We do want students to talk to
each other about concepts and ideas that relate to the class. However, it is
important to ensure that these discussions do not lead to the actual exchange
of written material.
Student Complaints
If you have any complaints or concerns about how the course is being conducted by the instructors or the TA
please feel free to talk. Prof. Segre.
If your difficulties are still unresolved after speaking with Profs. Cremer and/or Pemmaraju,
then you should next consult Computer Science Professor Prof. Alberto Segre, 335-0737, segre@cs.uiowa.edu.
(Normally this step would involve contacting the department chair, but that doesn't work here since it's Prof. Cremer).
Your next recourse is a written complaint submitted to
(for undergraduates) Helena Dettmer, CLAS Associate Dean for
Academic Programs (335-2633), or (for graduates) Dale Wurster,
Graduate College Associate Dean for Academic Programs (335-2137).
Consult the college policy on Student Complaints
Concerning Faculty Actions (online version)
for more information.
Tentative List of Topics
This is a relatively new course and neither of the instructors have taught this before.
So think of yourselves as "guinea pigs."
Here is a tentative list of topics we plan on covering and it is subject to change based
on your feedback and how we think things are going.