Name | Mike Izbicki (call me Mike) |
[email protected] | |
Office | Adams 216 |
Office Hours | MW 2pm-3pm, or by appointment |
Webpage | izbicki.me |
Research | Machine Learning (see izbicki.me/research.html for some past projects) |
Fun facts:
- grew up in San Clemente
- 7 years in the navy
- phd/postdoc at UC Riverside
- taught in DPRK
- My wife is pregnant and due to have a baby early April. This may result in a class session being rescheduled, depending on when the baby decides to come.
Data structures is the most important course in computer science, and many of the "classic" CS interview questions come from this course. Mastering this material is the first step towards getting a high paying CS job. See:
Who should take this course?
-
This is a second semester course in computer science designed for students who have previously taken either CS40 (CMC), CS5 (Mudd), or CS51 (Pomona).
-
You cannot take this course if you've already taken a data structures course (e.g. Pomona: CS62; HMC: CS60, CS70).
-
This course is required for CMC's data science major and the computer science sequence. It is optional for the data science sequence. You cannot take this course if you are a computer science major.
Learning Objectives:
Primary objectives:
- Learn basic devops and how open source software is developed
- Be able to answer the following three questions about an algorithm:
- Is it correct?
- How much resources does it consume? (time, memory, money, etc.)
- Can we do better?
Secondary objectives:
- Learn basic shell programming
- More experience with python programming
- Solve the questions asked in programming interviews and contests
- Introduction to the mathematics of programming (overlap with discrete math)
- Introduction to the hacker culture
Differences between this course and HMC's CSCI060HM/CSCI070HM:
- This course does not cover low-level memory management (C/C++ programming languages)
- This course is more practical
This course is NOT an algorithms course. Algorithms courses form the "other half" of classic CS interview questions, and you should consider taking CS148 - Graph Algorithms after this course.
Textbook:
All of our textbooks are both free as in beer and free as in speech:
-
Problem Solving with Algorithms and Data Structures using Python by Brad Miller and David Ranum
Grades:
You will have:
- Weekly labs (worth 2pts each)
- Weekly homeworks (worth 10-25 points each)
- No midterms, 1 open book final (worth approx. 30 points)
- In total, there will be about 250 points in the class.
Historically, the average student needs to spend about 10 hours per week (including class time) to get an A. About 25% of students will either: spend 15-20 hours per week and get an A, or spend 10 hours per week and get a B/C.
Your final grade will be computed according to the following table, with one caveat.
If your grade satisfies | then you earn |
---|---|
95 ≤ grade | A |
90 ≤ grade < 95 | A- |
87 ≤ grade < 90 | B+ |
83 ≤ grade < 87 | B |
80 ≤ grade < 83 | B- |
77 ≤ grade < 80 | C+ |
73 ≤ grade < 77 | C |
70 ≤ grade < 73 | C- |
67 ≤ grade < 70 | D+ |
63 ≤ grade < 67 | D |
60 ≤ grade < 63 | D- |
60 > grade | F |
CAVEAT: In order to get an A/A- in this course, you must also complete one of the following two tasks to learn about the history of unix programming:
-
watch the following two documentaries about open source:
-
RevolutionOS (from 2001)
-
The Internet's Own Boy: The Story of Aaron Swartz (from 2014)
-
-
read chapters 1-3 of The Art of Unix Programming by ESR
I also strongly recommend that you read through the following advice from famous programmers, but it's not required:
- Peter Norvig (AI researcher and senior engineer at Google)
- Paul Graham (Founder of YCombinator startup incubator); being a noob
- Jeff Atwood (Founder of stackoverflow.com)
- Eric Steven Raymond, better known as ESR (a famous hacker)
Late Work Policy:
You lose 10% on the assignment for each day late. If you have extenuating circumstances, contact me in advance of the due date and I may extend the due date for you.
It is usually better to submit a correct assignment late than an incorrect one on time.
Week | Date | Topic |
---|---|---|
0 | M, 25 Jan | Unix + open source workflow |
0 | W, 27 Jan | Unix + open source workflow |
1 | M, 01 Feb | Intermediate Python Features |
1 | W, 03 Feb | Intermediate Python Features |
2 | M, 08 Feb | Stacks + Algorithm Analysis |
2 | W, 10 Feb | Stacks + Algorithm Analysis |
3 | M, 15 Feb | Queues + Algorithm Analysis |
3 | W, 17 Feb | Queues + Algorithm Analysis |
4 | M, 22 Feb | Recursion |
4 | W, 24 Feb | Recursion |
5 | M, 01 Mar | Sorting |
5 | W, 03 Mar | Sorting |
6 | M, 08 Mar | Spring Break |
6 | W, 10 Mar | Spring Break |
7 | M, 15 Mar | Parallel Algorithms |
7 | W, 17 Mar | Parallel Algorithms |
8 | M, 22 Mar | Trees |
8 | W, 24 Mar | Trees |
9 | M, 29 Mar | BST Trees |
9 | W, 31 Mar | BST Trees |
10 | M, 05 Apr | AVL Trees |
10 | W, 07 Apr | AVL Trees |
11 | M, 12 Apr | Heap Trees |
11 | W, 14 Apr | Heap Trees |
12 | M, 19 Apr | Generators |
12 | W, 21 Apr | Generators |
13 | M, 26 Apr | Graphs |
13 | W, 28 Apr | Graphs |
14 | M, 03 May | Graphs |
14 | W, 05 May | Graphs |
-
You must complete all programming assignments on the lambda server.
-
You must use either vim or emacs to complete all programming assignments. In particular, you may not use the GitHub text editor, VSCode, IDLE, or PyCharm for any reason.
-
You must not share your lambda-server password with anyone else.
Violations of any of these policies will be treated as academic integrity violations.
You are encouraged to discuss all labs and homeworks with other students, subject to the following constraints:
- you must be the person typing in all code for your assignments, and
- you must not copy another student's code.
You may use any online resources you like as references.
WARNING: All material in this class is cumulative. If you work "too closely" with another student on an assignment, you won't understand how to complete subsequent assignments, and you will quickly fall behind. You should view collaboration as a way to improve your understanding, not as a way to do less work.
You are ultimately responsible for ensuring you learn the material!
I've tried to design the course to be as accessible as possible for people with disabilities. (We'll talk a bit about how to design accessible software in class too!) If you need any further accommodations, please ask.
I want you to succeed and I'll make every effort to ensure that you can.