24sp ver.

Note: this is for the Spring 2024 iteration of CSE 121. Looking for a different quarter? Please visit https://courses.cs.washington.edu/courses/cse121/.

Welcome to CSE 121: Introduction to Computer Programming 🎉

What is this class? What will I learn?

Computing continues to play an ever-increasing role in today’s society. Having an understanding of computing is an essential skill for those in the 21st century; from working in industries more reliant on technology, using computational methods to further scientific understanding, or being an informed citizen in a world with technology all around us.

This course is a first course in computer programming focused on the basics of procedural programming in Java. It assumes students have not taken a previous programming course and do not have substantial other programming experience. (Students with previous experience are encouraged to consider CSE 122.)

Prior Experience and Expectations

Prerequisite Material

To better assess if CSE 121 is the right class for you, the Allen School has developed a Self-Guided Placement to help students assess which intro course is the right one for them to enroll in. Please see this website for more information on who to contact if you have questions about which introductory CSE course is the right course for you.

Programming Language

CSE 121 is taught in the Java programming language. No prior experience in Java is required!

Syllabus

If you want to learn more about the course and its policies, please check out our course syllabus.

Feedback

Feedback is always welcome! You can contact the the course staff or submit anonymous feedback.

Registration

Please do not email the course staff or instructors regarding registration for the course. The course staff do not have access to add codes. Please email ugrad-adviser@cs.washington.edu for assistance.

Announcements

This Week (at a glance)

Wednesday (06/05)

  • Final Exam at 2:30 - 4:20 PM in KNE 120!

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!

Lessons

Anything listed in the “Lesson” materials for a day should be read before attending class that day. The Lessons are a first introduction to the most important terms and concepts for that day of class. It is okay if the Lesson doesn’t make complete sense as we have the rest of the class day to clarify the concepts, but if you don’t do the Lesson the class session won’t make any sense.

Topic Programming / Creative Projects Resubmissions
Week 1
Wed 03/27
LES 00 Course Policies; Hello World!

Note: Normally you would complete the Pre-class Work before class. There is nothing you need to complete before class today!

in-class: pdf pptx materials
resources:
Thu 03/28
SEC 00 Welcome!
resources: materials
Fri 03/29
LES 01 Printing; Turtle Basics
Released
C0
Hello World!
I.S. by 11:59pm PT
Week 2
Tue 04/02
SEC 01 Printing; Turtle Basics
resources: materials
Wed 04/03
LES 02 Datatypes; Expressions
Thu 04/04
SEC 02 Datatypes; Expressions
resources: materials
Released
P0
Code Reviews
I.S. by 11:59pm PT
Fri 04/05
LES 03 Variables; Strings; Debugging
pre-class: materials
in-class: pdf pptx materials
resources:
Extra resources
Week 3
Tue 04/09
SEC 03 Variables; Strings; Debugging
resources: materials
Wed 04/10
LES 04 for Loops
pre-class: materials
in-class: pdf pptx materials
resources:
Released
C1
Drawing Shapes
I.S. by 11:59pm PT
Thu 04/11
SEC 04 For Loops
resources: materials
Released
R0
Resub 0
C0, P0 Due 11:59pm PT
Fri 04/12
LES 05 Nested for Loops; Random; Math
Week 4
Tue 04/16
SEC 05 Nested For Loops; Random; Math
resources: materials
Wed 04/17
LES 06 Methods; Parameters; Scope
Released
P1
Election Simulator
I.S. by 11:59pm PT
Thu 04/18
SEC 06 Methods; Parameters
resources: materials
Released
R1
Resub 1
C0, P0, C1 Due 11:59pm PT
Fri 04/19
LES 07 Parameters; Return Values
Week 5
Tue 04/23
SEC 07 Returns & Quiz Prep
resources: materials
Wed 04/24
LES 08 Return Values

Note: No Pre-Class Material for Today!

Released
C2
Social Network
I.S. by 11:59pm PT
Thu 04/25
QUIZ 00 Quiz 0: Printing, Datatypes, Expressions, for Loops, Methods, Parameters, Scope
resources:
Released
R2
Resub 2
C0, P0, C1, P1 Due 11:59pm PT
Fri 04/26
LES 09 Conditionals
Week 6
Tue 04/30
SEC 09 Conditionals
resources: materials
Wed 05/01
LES 10 while Loops

Note: Today's lecture was shorter because of our mid-quarter feedback session!

pre-class: materials
in-class: pdf pptx materials
resources:
Thu 05/02
SEC 10 while Loops
resources: materials
Released
R3
Resub 3
P0, C1, P1, C2 Due 11:59pm PT
Fri 05/03
LES 11 User Input (Scanner)
Released
P2
Prioritizing Patients
I.S. by 11:59pm PT
Week 7
Tue 05/07
SEC 11 Scanner & Quiz Prep
resources: materials
Wed 05/08
LES 12 Putting It All Together

Note: No Pre-Class Material for Today!

in-class: pdf pptx materials
resources:
Thu 05/09
QUIZ 01 Quiz 1: for loops, Random, Math, Methods, Parameters, Returns, Conditionals, while Loops
Released
R4
Resub 4
C1, P1, C2 Due 11:59pm PT
Fri 05/10
LES 13 Putting It All Together

Note: No Pre-Class Material for Today!

in-class: pdf pptx materials
resources:
Week 8
Tue 05/14
SEC 13 TA's Choice!
Wed 05/15
LES 14 Arrays
Released
C3
Dance Dance Arrayvolution
I.S. by 11:59pm PT
Thu 05/16
SEC 14 Arrays
Released
R5
Resub 5
P1, C2, P2 Due 11:59pm PT
Fri 05/17
LES 15 Reference Semantics
Week 9
Tue 05/21
SEC 15 Reference Semantics
resources: materials
Wed 05/22
LES 16 2D Arrays
pre-class: materials
in-class: pdf pptx materials
resources:
Released
P3
2DNArray Sequencing
I.S. by 11:59pm PT
Thu 05/23
QUIZ 02 Quiz 2: Conditionals, while Loops, User Input (Scanner), Arrays
Released
R6
Resub 6
C2, P2, C3 Due 11:59pm PT
Fri 05/24
LES 17 Array Patterns
Week 10
Tue 05/28
SEC 17 2D Arrays & Array Patterns
resources: materials
Wed 05/29
LES 18 Final Exam Review

Note: No Pre-Class Material for Today!

Thu 05/30
SEC 18 Final Exam Review; Wrap-Up
resources: materials
Released
R7
Resub 7
ALL C & P Due 11:59pm PT
Fri 05/31
LES 19 Wrap-Up; Victory Lap!

Note: No Pre-Class Material for Today!

Week 11
Tue 06/04 Finals Week
Wed 06/05
EXAM Final Exam 2:30 - 4:20pm
Thu 06/06 Finals Week