CSE 121
CSE 121
  • Home / Calendar
  • Syllabus
  • Assignments
  • Resubmissions
  • Exam
  • Course Staff
  • Office Hours
  • Grading Rubrics
  • Resources

  • Course Tools
  • EdStem
  • Anonymous Feedback
  • Acknowledgements

Introduction to Computer Programming I

Autumn 2024

24au ver.

Note: this is for the Autumn 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 I 🎉

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

Syllabus

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

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.

This Week (at a glance)¶

Monday (12/09)

  • Exam Review Session (2:30 - 4:00 PM, SMI 120)

Tuesday (12/10)

  • Nothing!

Wednesday (12/11)

  • Final Exam (12:30 - 2:20 PM, KNE 120 and KNE 130)

Thursday (12/12)

  • Nothing!

Friday (12/13)

  • Nothing!

Calendar¶

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 09/25
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: materials pdf pptx
resources: recordings
Recordings
  • Lecture A Recording
  • Lecture B Recording
Thu 09/26
SEC 00 Welcome!

Note: Usually, the post-section work will be "in" the materials slide. For just this section, it is instead the CSE 121 Intro Survey. Please fill it out before 11:59pm at 09/30!

resources: materials
Fri 09/27
LES 01 Printing; Strings; Variables
pre-class: materials
in-class: materials pdf pptx
resources: recordings
Recordings
  • Lecture A Recording
  • Lecture B Recording
Released
C0
Hello Bugs
I.S. by 11:59pm PT
Week 2
Tue 10/01
SEC 01 Printing; Strings; Variables
resources: materials
Wed 10/02
LES 02 Datatypes; Expressions
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • expressions practice
  • studentVariables
  • logic expressions
Released
P0
Cornbear's Cafe
I.S. by 11:59pm PT
Thu 10/03
SEC 02 Datatypes; Expressions
resources: materials extra resources
Extra resources
  • Extra Practice: Variables & Expressions
Fri 10/04
LES 03 Revisiting Strings & Variables
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • ijk values
  • valuesOfABC
Week 3
Tue 10/08
SEC 03 Revisiting Strings & Variables
resources: materials
Wed 10/09
LES 04 for Loops
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • finger trap
Released
C1
ASCII Art
I.S. by 11:59pm PT
Thu 10/10
SEC 04 For Loops
resources: materials extra resources
Extra resources
  • Extra Practice: For Loops
Released
R0
Resub 0
C0, P0 Due 11:59pm PT
Fri 10/11
LES 05 Nested for Loops; Random; Math
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • nested numbers
  • random lines
  • math expressions
Week 4
Tue 10/15
SEC 05 Nested For Loops; Random; Math
resources: materials
Wed 10/16
LES 06 Methods; Parameters; Scope
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • Dollar Figure
  • Dollar Figure 2
  • Strange
Released
P1
Election Simulator
I.S. by 11:59pm PT
Thu 10/17
SEC 06 Methods; Parameters
resources: materials extra resources
Extra resources
  • Extra Practice: Methods, Parameters, Returns
Released
R1
Resub 1
C0, P0, C1 Due 11:59pm PT
Fri 10/18
LES 07 Parameters; Return Values
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • parameter mystery
  • print numbers
  • print square
Week 5
Tue 10/22
SEC 07 Returns & Quiz Prep
resources: materials extra resources
Extra resources
  • Extra Practice: Methods, Parameters, Returns
Wed 10/23
LES 08 Return Values

Note: No Pre-Class Material for Today!
We strongly recommend watching the B lecture recording for today's class.

in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • largest abs val
  • area
  • distance
  • countQuarters
Released
C2
Social Network
I.S. by 11:59pm PT
Thu 10/24
QUIZ 00 Quiz 0: Printing, Datatypes, Expressions, for Loops, Methods, Parameters, Scope
resources: extra resources
Extra resources
  • Practice Quiz 0 (Version 0)
  • Practice Quiz 0 (Version 1)
  • Quiz Review Session Recording
Released
R2
Resub 2
C0, P0, C1, P1 Due 11:59pm PT
Fri 10/25
LES 09 Conditionals
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • numUnique
  • if/else simulation
  • xo
  • fibonacci
Week 6
Tue 10/29
SEC 09 Conditionals
resources: materials extra resources
Extra resources
  • Extra Practice: Conditionals
Wed 10/30
LES 10 while Loops and User Input (Scanner)
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • diceSum
  • while loop mystery
Thu 10/31
SEC 10 while Loops
resources: materials
Released
R3
Resub 3
P0, C1, P1, C2 Due 11:59pm PT
Fri 11/01
LES 11 More while Loops and User Input

Note: No Pre-Class Material for Today!
Today's lecture is shorter because of our mid-quarter feedback session!

in-class: materials
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • inputBirthday
  • Scanner tokens
  • repeat
Released
P2
Prioritizing Patients
I.S. by 11:59pm PT
Week 7
Tue 11/05
SEC 11 Scanner & Quiz Prep
resources: materials extra resources
Extra resources
  • Extra Practice: While Loops & User Input
Wed 11/06
LES 12 Putting It All Together

Note: No Pre-Class Material for Today!

in-class: materials pdf pptx
resources: recordings
Recordings
  • Lecture A Recording
  • Lecture B Recording
Thu 11/07
QUIZ 01 Quiz 1: for loops, Random, Math, Methods, Parameters, Returns, Conditionals, while Loops, Scanner
resources: extra resources
Extra resources
  • Practice Quiz 1 (Version 0)
Released
R4
Resub 4
C1, P1, C2 Due 11:59pm PT
Fri 11/08
LES 13 Arrays
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • numbersElements
  • declareArray
  • printElements
  • oddsArray
Week 8
Tue 11/12
SEC 13 Arrays
resources: materials extra resources
Extra resources
  • Extra Practice: Arrays
Wed 11/13
LES 14 Reference Semantics
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • print backwards
  • all less
  • traversal
  • reference mystery
Released
C3
Dance Dance Arrayvolution
I.S. by 11:59pm PT
Thu 11/14
SEC 14 Reference Semantics
resources: materials
Released
R5
Resub 5
P1, C2, P2 Due 11:59pm PT
Fri 11/15
LES 15 2D Arrays
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • arrayMystery2d
  • isMagicSquare
Week 9
Tue 11/19
SEC 15 2D Arrays
resources: materials extra resources
Extra resources
  • Extra Practice: 2D Arrays
Wed 11/20
LES 16 Array Patterns
pre-class: materials
in-class: materials pdf pptx
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • longest sorted sequence
  • collapse
  • min gap
Thu 11/21
QUIZ 02 Quiz 2: Conditionals, while Loops, User Input (Scanner), Arrays
Released
P3
2DNArray Sequencing
I.S. by 11:59pm PT
Released
R6
Resub 6
C2, P2, C3 Due 11:59pm PT
Fri 11/22
LES 17 Putting It Even More Together

Note: No Pre-Class Material for Today!

in-class: materials pdf pptx
resources: recordings
Recordings
  • Lecture A Recording
  • Lecture B Recording
Week 10
Tue 11/26
HOLIDAY Cancelled
Wed 11/27
HOLIDAY Cancelled :)
Thu 11/28
HOLIDAY Thanksgiving
Fri 11/29
HOLIDAY Native American Heritage Day (observed)
Week 11
Tue 12/03
SEC 17 TA's Choice!
resources: materials
Wed 12/04
LES 18 Final Exam Review

Note: No Pre-Class Material for Today!

in-class: pdf pptx Review Problems
resources: recordings extra resources
Recordings
  • Lecture A Recording (with Alice)
  • Lecture B Recording (with Ronald)
Extra resources
  • sumArrays Solution (from Alice, A Section)
  • sumArrays Solution (from Ronald, B Section)
  • Debugging Solution
Thu 12/05
SEC 18 Final Exam Review; Wrap-Up
resources: materials
Released
R7
Resub 7
C0-P3 (All!) Due 11:59pm PT
Fri 12/06
LES 19 Wrap-Up; Victory Lap!

Note: No Pre-Class Material for Today!

in-class: pdf pptx Review Problem
resources: recordings extra resources
Recordings
  • Lecture A Recording
  • Lecture B Recording
Extra resources
  • insertMiddle Solution
Week 12
Tue 12/10 Finals Week
Wed 12/11
EXAM Final Exam 12:30 - 2:20pm
resources: recordings
Recordings
  • Review Session Recording (Part 1)
  • Review Session Recording (Part 2)
Thu 12/12 Finals Week

Search

Search the class website; related sections and pages will appear below. Note: this search is not as forgiving with typos as other search engines.