Welcome to CSE 160: Data Programming! 🎉
What is this class? What will I learn?
The world has become data-driven. Domain scientists and industry increasingly rely on data analysis to drive innovation and discovery; this reliance on data is not only restricted to science or business, but also is crucial to those in government, public policy, and those wanting to be informed citizens. As the size of data continues to grow, everyone will need to use powerful tools to work with that data.
CSE 160 is an introductory programming class that meets this need. You will learn to write small programs in Python to solve real-world problems in science, engineering, business, and other fields. This will be useful in your classes, research, and jobs.
In this course:
- You will learn computational problem-solving. If given a data source and problem description, you will be able to write a complete, useful program to solve the problem.
- You will learn Python, a popular and general-purpose programming languages that includes libraries for data manipulation, scientific computing, and visualization.
- Assignments will use real datasets from fields such as biology, government, social networks, and more.
Prerequisites and Expectations
There are no prerequisites to this course other than high school math. We assume that you are familiar with basic computer usage (running applications, editing documents, etc).
This course does not assume any previous programming experience. If you have taken CSE 143, 123, or any 300-level CSE class, you will not receive credit for taking CSE 160. For those who have taken CSE 142, 122 or have had some experience with programming, CSE 163 may be a better class choice.
Feedback
Feedback is always welcome! You can contact the the course staff or submit anonymous feedback.
Registration
Do not email the course staff or instructor requesting an add-code for the course. The course staff do not have any add-codes. Please email ugrad-advisor@cs.washington.edu.
Announcements¶
Jan 20 Homework 2 Release + Coding Practice 2 deadline extended
Our next homework, Homework 2, has been released and is due 11:59pm on Friday, January 24th.
This homework is intended to give you more practice writing Python code to analyze DNA data. This applies knowledge of for loops, variables, and strings that you learned from Week 1-2. It will also require you to work with the terminal, which we will describe in the specifications.
The best way to get help for the projects is through Ed or Office Hours! Please do not hesitate to ask if you’re stuck on something, because chances are somebody else will be too, and now they can be helped by your thread!
In addition, the deadline for Coding Practice 2 has been extended until 11:59pm on Friday, January 24th. Please see the pinned post on Ed for more details.
Jan 06 First Day Announcements
Survey + Intro
Welcome to CSE 160! We hope you have a wonderful time this quarter learning Python. To get started, fill out the About You Survey!
Homework 0 Released!
Our first homework of the quarter (Homework 0) has been released and is due 11:59pm on Friday, January 10th. This homework is intended to get you up to speed the course infrastructure and give you some light practice with Python. You can find the instructions for HW0 here.
Preliminary Office Hours now posted
We now have office hours! Office Hours being this week! Office Hours tend to be the best way to get face-to-face help with the instructor or a TA, so do come and say hi!
And a reminder, if you have any questions, please post on Ed! All of the course staff will be checking in on Ed regularly, so you can get help from us without having to schedule an appointment or come to office hours.
Calendar¶
Info
This is a rough sketch of the quarter and things are subject to change. We can accurately predict the past, but predicting the future is hard!
Topic | Homeworks | Practice | Check-In | ||
---|---|---|---|---|---|
Week 1 | |||||
Mon 01/06 | LEC 01 Intro to CSE 160 and Python | ||||
06 Jan HW 0 10 Jan, 11:59 pm Homework 0 | P 1 10 Jan, 11:59 pm Check-in #0 About you Survey | ||||
Wed 01/08 | LEC 02 Intro to Python (cont.) | ||||
08 Jan W 1 17 Jan, 11:59 pm Coding Practice #1 | P 2 09 Jan, 11:59 pm Written Check-in #1 | ||||
Thu 01/09 | SEC 01 Intro to Python in-class: gslides | ||||
Fri 01/10 | LEC 03 Loops | ||||
Week 2 | |||||
Mon 01/13 | LEC 04 Nested Loops & Intro If | ||||
11 Jan HW 1 17 Jan, 11:59 pm Homework 1 | |||||
Wed 01/15 | LEC 05 If Statements | ||||
P 3 16 Jan, 11:59 pm Written Check-in #2 | |||||
Thu 01/16 | SEC 02 Loops + If Statements | ||||
Fri 01/17 | LEC 06 Functions | ||||
Week 3 | |||||
Mon 01/20 | LEC 07 Holiday | ||||
18 Jan HW 2 24 Jan, 11:59 pm Homework 2 | 18 Jan W 2 24 Jan, 11:59 pm Coding Practice #2 | ||||
Wed 01/22 | LEC 08 Functions (cont.) | ||||
P 4 23 Jan, 11:59 pm Written Check-in #3 | |||||
Thu 01/23 | SEC 03 Functions | ||||
Fri 01/24 | LEC 09 Lists | ||||
Week 4 | |||||
Mon 01/27 | LEC 10 Nested Lists | ||||
25 Jan HW 3 31 Jan, 11:59 pm Homework 3 | |||||
Wed 01/29 | LEC 11 File I/O | ||||
P 5 30 Jan, 11:59 pm Written Check-in #4 | |||||
Thu 01/30 | SEC 04 Lists & File IO | ||||
Fri 01/31 | LEC 12 Mutability & Sharing | ||||
Week 5 | |||||
Mon 02/03 | LEC 13 Dictionaries | ||||
01 Feb HW 4 10 Feb, 11:59 pm Homework 4 - Part 1 | |||||
Wed 02/05 | LEC 14 Nested Dictionaries | ||||
P 6 06 Feb, 11:59 pm Written Check-in #5 | |||||
Thu 02/06 | SEC 05 Dictionaries | ||||
Fri 02/07 | LEC 15 Sets & Tuples | ||||
Week 6 | |||||
Mon 02/10 | LEC 16 Midterm Review | ||||
Wed 02/12 | LEC 17 MIDTERM | ||||
11 Feb HW 5 21 Feb, 11:59 pm Homework 4 - Part 2 | P 7 13 Feb, 11:59 pm Written Check-in #6 | ||||
Thu 02/13 | SEC 06 Sets & Nested Structures | ||||
Fri 02/14 | LEC 18 Modules and Program Decomposition | ||||
Week 7 | |||||
Mon 02/17 | LEC 19 Holiday | ||||
Wed 02/19 | LEC 20 Graphs | ||||
P 8 20 Feb, 11:59 pm Written Check-in #7 | |||||
Thu 02/20 | SEC 07 Tuples, Itemgetter, and Sorting | ||||
Fri 02/21 | LEC 21 Sorting | ||||
Week 8 | |||||
Mon 02/24 | LEC 22 Sorting (review + cont.) | ||||
22 Feb HW 6 28 Feb, 11:59 pm Homework 5 - Part 1 | |||||
Wed 02/26 | LEC 23 Testing & Debugging | ||||
P 9 27 Feb, 11:59 pm Written Check-in #8 | |||||
Thu 02/27 | SEC 08 Testing | ||||
Fri 02/28 | LEC 24 Good Programming Practices | ||||
28 Feb HW 7 07 Mar, 11:59 pm Homework 5 - Part 2 | |||||
Week 9 | |||||
Mon 03/03 | LEC 25 Visualization & Intro Classes | ||||
Wed 03/05 | LEC 26 Classes (cont.) | ||||
P 10 06 Mar, 11:59 pm Written Check-in #9 | |||||
Thu 03/06 | SEC 09 Classes and Visualization | ||||
Fri 03/07 | LEC 27 Classes (cont.) | ||||
07 Mar HW 8 14 Mar, 11:59 pm Homework 6 | |||||
Week 10 | |||||
Mon 03/10 | LEC 28 CSV DictReader | ||||
Wed 03/12 | LEC 29 Bonus Python | ||||
P 11 13 Mar, 11:59 pm Written Check-in #10 | |||||
Fri 03/14 | LEC 30 Final Review | ||||
Week 11 | |||||
Mon 03/17 | LEC 31 THURSDAY, MARCH 20TH, FINAL EXAM | ||||