


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



































Lecture # CMPSCI 121, Spring 2009 Introduction to Problem Solving with Computers Prof. Erik Learned-Miller Please sit all the way at inside of your row. We’ll start 5 or 10 minutes late today.
Most complex machines ever built Extremely simple principles How to understand the workings of a complex thing: Understand function of parts Understand interaction of parts For each part,
Cylinders Spark plugs Fuel injector Cylinder head Head gasket
Writing code to do searches
Writing part of your own video game.
CS 105: Computer Literacy CS 119: Python Programming IMPORTANT: If you only want to take ONE programming class, take this one. CS 121: Intro Programming (THIS CLASS) Assumes literacy but no programming. Potential majors: Take as soon as you can! 4 credits. Moves fast! CS 123 (191B): Second semester Java No longer offered. CS 187: Data structures Assumes 123 or equivalent.
You do not need previous programming experience Will write lots of simple programs Even if you have programmed before, our approach will give you new ways of thinking The labs (aka “discussion sections”) are essential for discussion, detail and practice. In some cases you will get advice and a head start on the programming assignment there.
http://www-edlab.cs.umass.edu/cs
After hours of searching the course web site, high and low, this way and that way, I cannot find the answer to my question….
Constant time algorithms vs. linear time algorithms Let n be the number of students in a course. Preparing a web page for a course is constant-time, also written as O(1).
Gives automatic feedback Provides automatic headaches