>>    




Syllabus

CS 121B (CS1), Spring 2014

datereadingtopicquizzesitems
2/10Problem solving, algorithms, programming languages-python install/using, programs, idle, modules
2/121,2Values and types, variables, statements, expressions, operators and operands, assignment, input
2/143,4,5Iteration (for); turtle graphics Turtle Graphics module, methods, attributes, state, iteration-the for loop, range, math module, random module, random, randrange
2/176Functions def, arguments/strings, docstrings, function calls, return, local variables, local and global scope, accumulators
2/197quiz 1
2/21Conditionals: if; guards Boolean: values expressions operators functions, logical operators: and or not, conditional statements, if elif else
2/248While loops; image processingwhile, 3n+1 sequence, Newton's Method, algorithms, simple tables, 2-dimensional iteration: image processing, nested iteration
2/2613Recursion quiz 2definition of recursion, listsum, 3 laws of recursion, integer to any base, stack frames, drawing a tree, Sierpinski triangle
2/28
3/39Strings string operations, string methods, immutable, strings and loop guards, accumulator patterns, L-system
3/5Lists/tuples, nested lists, sequences list operations, mutability, list methods, objects and references, parameters, list comprehensions, nested lists, tuples
3/7Machine learning (Prof. Richey)quiz 3
3/1010Files; command-line text files, open, close read, readline, readlines, write, command line
3/12
3/1412Dictionaries quiz 4key-value pairs, dictionary operations and methods, aliasing and copying, sparse matrices
3/17 sequential vs parallel computing, cluster, MapReduce, WMR, mapper, reducer, shuffler, Hadoop, data vs task parallelism, pipelining
3/19WebMapReduce quiz 5counting words, keys, values, emit, iterator, distributed file system, identity mapper, identity reducer, dataset, cluster path
3/21wmr 1 Activities with datasets: poker hands, car information, movies, flight data, Google N-grams
3/24Spring break
3/26Spring break
3/28Spring break
3/31wmr 2
4/2 quiz 6
4/4Defining classes project intro, OOP, programming paradigms, objects, state, methods, user defined classes, point class, constructor, ___init__
4/7 fraction class, helper function, mutable, is, ==, shallow copy/equality, deep copy/equality
4/914 quiz 7
4/11 Subclasses subclasses, superclasses, encapsulation, inheritance, Student class
4/14 Person class, Military class, Teacher class, STudent class
4/16subcl 1Simulation quiz 8simulation1
4/18subcl 2 simulation2
4/21Animation animation1: astronomy animation
4/23animation2
4/25Projectquiz 9GUI, graphics window, pixels, graphics objects and methods
4/28 mouse clicks, coordinate transformations, widgets, buttons
4/30
5/2
5/5Project demo
5/7
5/9
5/12Project presentationsproject
5/14Reviewproject