CSCI046: Data Structures and Algorithms
About the Instructor
Name | Mike Izbicki (call me Mike) |
[email protected] | |
Office | Adams 216 |
Office Hours | TBA |
Zoom | See Issue #325 |
Webpage | izbicki.me |
Research | Machine Learning (see izbicki.me/research.html for some past projects) |
Fun facts:
- grew up in San Clemente (~1hr south of Claremont, on the beach)
- 7 years in the navy
- nuclear submarine officer, personally converted >10g of uranium into pure energy
- worked at National Security Agency (NSA)
- left Navy as a conscientious objector
- phd/postdoc at UC Riverside
- taught in DPRK (i.e. North Korea)
- my wife is pregnant and due to have a baby April 18th
About the Course
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 have already taken a data structures course (e.g. Pomona: CS62; HMC: CS60, CS70), or
- you are a CS major through Mudd or Pomona.
-
This course is required for CMC's data science major and the computer science sequence. It is optional for the data science sequence.
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:
Your grade will be composed of:
- Weekly labs (worth
2**1
points) - Weekly quizzes (worth
2**2
or2**3
points) - Weekly projects (worth
2**4
or2**5
points) - No midterm/final exam.
- Non-seniors will complete a final project due during finals week.
- Occassional extra credit assignments
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.
Late Work Policy:
You lose 2**i
points on every assignment,
where i
is the number of days late.
It is usually better to submit a correct assignment late than an incorrect one on time.
Grade Schedule:
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 |
Caveats::
There are 2 "caveat tasks" in this course. These tasks should be easy, and everyone will get full credit on the task just for completing the task. If you don't complete one of the tasks, however, your grade (from the table above) will be docked 10%. (For example, an A- grade would become a B- grade.) You have the entire semester (until I submit grades) to complete these tasks.
You can find the details about the caveat tasks at:
Academic Integrity
Technology Policy:
-
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 credentials with anyone else.
Violations of any of these policies will be treated as academic integrity violations.
Collaboration Policy
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!
Accommodations Policy
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.