Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikeizbicki/cmc-csci046

CMC's Data Structures and Algorithms Course Materials
https://github.com/mikeizbicki/cmc-csci046

cmc computer-science course data-science python3

Last synced: 6 days ago
JSON representation

CMC's Data Structures and Algorithms Course Materials

Awesome Lists containing this project

README

        

# CSCI046: Data Structures and Algorithms

[![](smbc.png)](https://www.smbc-comics.com/comic/hansel-and-gretel)

## About the Instructor

|||
|---------------|-------------------------------|
| Name | Mike Izbicki (call me Mike) |
| Email | [email protected] |
| Office | Adams 216 |
| Office Hours | See [Issue #416](https://github.com/mikeizbicki/cmc-csci046/issues/416) |
| Zoom | See [Issue #325](https://github.com/mikeizbicki/cmc-csci046/issues/325) |
| Webpage | [izbicki.me](https://izbicki.me) |
| Research | Machine Learning (see [izbicki.me/research.html](https://izbicki.me/research.html) for some past projects) |

Fun facts:
1. grew up in San Clemente (~1hr south of Claremont, on the beach)
1. 7 years in the navy
1. nuclear submarine officer, personally converted >10g of uranium into pure energy
1. worked at National Security Agency (NSA)
1. left Navy as a [conscientious objector](https://www.nytimes.com/2011/02/23/nyregion/23objector.html)
1. phd/postdoc at UC Riverside
1. taught in [DPRK (i.e. North Korea)](https://pust.co)
1. my wife is pregnant and due to have a baby April 18th
1. I will take 2 weeks off for paternity leave when the baby comes

## 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:
1. Salaries:
1. Benefits:
1. [This is despite tech employers illegally colluding to reduce salaries](https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_Litigation)

**Who should take this course?**

1. This is a second-semester course in computer science designed for students who have previously taken either CS40 (CMC), CS5 (Mudd), or CS51 (Pomona).

1. You cannot take this course if:
1. you have already taken a data structures course
(e.g. Pomona: CS62; HMC: CS60, CS70), or
1. you are a CS major through Mudd or Pomona.

1. 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:**

1. Learn the basics of
1. linux terminal
1. git
1. open source software

1. Be able to answer the following three questions about an algorithm:
1. Is it correct?
1. How much resources does it consume? (time, memory, money, etc.)
1. Can we do better?

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](https://catalog.claremontmckenna.edu/preview_course_nopop.php?catoid=25&coid=31723) after this course.

**Textbook:**

All of our textbooks are both [free as in beer](https://en.wiktionary.org/wiki/free_as_in_beer) and [free as in speech](https://en.wiktionary.org/wiki/free_as_in_speech):

1. [Problem Solving with Algorithms and Data Structures using Python](https://runestone.academy/runestone/books/published/pythonds/index.html) by Brad Miller and David Ranum

1. [Official Python Documentation](https://docs.python.org/)

**Grades:**

Your grade will be composed of:

1. Weekly labs (worth `2**1` points)
1. Weekly quizzes (worth `2**2` or `2**3` or `2**4` points)
1. Weekly projects (worth `2**3` or `2**4` or `2**5` points)
1. No exams!!!
1. Non-graduating students will complete a final project due during finals week.
1. [Occasional extra credit assignments](extra_credit/README.md)

Historically, the average student needs to spend about 10 hours per week (outside of class) 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 minus 1.

> **Example:**
> Homeworks will be due on Tuesdays, so if you submit on Wednesday then `i=0` and you receive a `2**0` (i.e. `1`) point penalty.
> If you submit on Friday, you receive a `2**2` (i.e. 4) point penalty.

It is usually better to submit a correct assignment late than an incorrect one on time.

I expect that most students will be submit late assignments at some point.

**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:
1. [caveat_tasks/typespeed.md](caveat_tasks/typespeed.md)
1. [caveat_tasks/culture.md](caveat_tasks/culture.md)

## Academic Integrity

**Technology Policy:**

1. You MUST complete all programming assignments on the lambda server.

1. 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.

In particular: You MAY NOT use the GitHub interface to edit files for a pull request.

1. You MAY NOT share your lambda server credentials with anyone else.

Violations of any of these policies will be treated as academic integrity violations.

**Collaboration Policy**

1. There are no restrictions on what you can post to GitHub Issues.
In particular, you are highly encouraged to post detailed questions/answers/comments with lots of code.

1. You are highly encouraged to collaborate with students

1. in class/lab,

1. in the QCL,

1. and in office hours.

1. You MAY NOT look at another student's code (or have another human look at your code) in any other context.

1. You MAY NOT look at another student's code on github.

All projects are developed as open source projects,
and so the code is published openly online.
The benefits of this model include:
(1) you actually learn how to develop/contribute to open source projects;
(2) future employers see you have github activity.
Please do not abuse this privilege.

## 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.