Welcome to CSE 122: Introduction to Computer Programming II 🎉

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 second-level course in computer programming focused on the use of data structures and object oriented programming. It assumes students already have experience with some computer language and understand fundamental computing concepts such as control structures (loops and conditionals), variables, and arrays (see “Prior Experience and Expectations” for more details).

In this course, students will learn:

  1. Solving complex problems by decomposing them into smaller programming tasks, and assess the design trade-offs of particular solutions to these problems.
  2. The use of data structures such as lists, dictionaries, and sets to efficiently solve computational problems.
  3. Fundamental concepts in designing objected oriented programs to ensure abstraction between the interface of something and its implementation.
Prior Experience and Expectations

Prerequisite Material

This course is intended for students who already have some programming experience. Students entering CSE 122 should already be familiar with programming constructs for problem decomposition (methods or functions), control structures (loops and conditionals), variables and data types (such as integer data), and data structures such as arrays or lists.

To better assess if CSE 122 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 122 is taught in the Java programming language, but previous experience in Java is not expected to be successful in this course. Students who are familiar with another programming language will be provided with resources and tutorial to get up-to-speed with Java. If you would like to get started with practicing Java, please see our Java Tutorial.

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)

Monday (12/02)

  • Nothing!

Tuesday (12/03)

  • 🧑‍🏫 Section 18: Final Exam Practice: Sets, Maps, Nested Collections

Wednesday (12/04)

  • 👥 Lesson 19: Putting it all together
    Class session @ 12:30 or 3:30 in GUG 220.

Thursday (12/05)

  • 🧑‍🏫 Section 19: Final Exam Practice: OOP, Reference Semantics, File I/O
  • 🎨 C3 - OOP It! due @ 11:59PM PT.

Friday (12/06)

  • 👥 Lesson 20: Victory Lap
    Class session @ 12:30 or 3:30 in GUG 220.

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 0 - Welcome, Review, Functional Decomposition, Design
Mon 09/23
Tue 09/24
Wed 09/25
LES 00 Welcome!

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

Thu 09/26
SEC 00 Welcome
Fri 09/27
LES 01 Java Review & Functional Decomposition
Released
C0
Warm Up
I.S. by 11:59PM PT
Week 1 - File I/O
Mon 09/30 Java Review Session

Note: Optional and will be recorded! Sessions are from 12:30 - 1:20 PM and 3:30 - 4:20 PM in GUG 220.
See here for practice problems.
Session A Recording here!
Session B Recording here!

Tue 10/01
SEC 01 Welcome, Java Practice, Functional Decomposition
Wed 10/02
LES 02 File Input/Output - Part 1
Thu 10/03
SEC 02 File I/O - Day 1
Fri 10/04
LES 03 File Input/Output - Part 2
Released
P0
Stonks
I.S. by 11:59PM PT
Week 2 - ArrayLists
Mon 10/07
Tue 10/08
SEC 03 File I/O - Day 2
Wed 10/09
LES 04 ArrayLists
Thu 10/10
SEC 04 ArrayLists
Released
R0
C0 Due 11:59 pm PT
Fri 10/11
LES 05 ArrayList Applications
Released
C1
TODO List
I.S. by 11:59PM PT
Week 3 - Reference Semantics, Stacks/Queues
Mon 10/14
Tue 10/15
QUIZ 00 Functional Decomposition, File I/O, ArrayLists
Wed 10/16
LES 06 Stacks & Queues
Thu 10/17
SEC 06 Stacks and Queues Practice
Released
R1
C0, P0 Due 11:59 pm PT
Fri 10/18
LES 07 Stacks & Queues Application
pre-class: materials
in-class: materials pdf pptx
resources:
Released
P1
Music Playlist
I.S. by 11:59PM PT
Week 4 - Sets and Maps
Mon 10/21
Tue 10/22
SEC 07 Data Structures Practice
Wed 10/23
LES 08 Sets; for-each Loop
Thu 10/24
SEC 08 Sets Practice
Released
R2
C0, P0, C1 Due 11:59 pm PT
Fri 10/25
LES 09 Maps
Released
P2
Absurdle
I.S. by 11:59PM PT
Week 5 - Nested Collections and Objects
Mon 10/28
Tue 10/29
SEC 09 Maps Practice
Wed 10/30
LES 10 Nested Collections
Thu 10/31
SEC 10 Nested Collections Practice
Released
R3
P0, C1, P1 Due 11:59 pm PT
Fri 11/01
LES 11 Introduction to Objects
Week 6 - Object Oriented Programming
Mon 11/04
Tue 11/05
QUIZ 01 Reference Semantics, Stacks and Queues, Sets, Maps
Wed 11/06
LES 12 Encapsulation and Instance Methods
Thu 11/07
SEC 12 Objects Day 1
Released
R4
C1, P1 Due 11:59 pm PT
Fri 11/08
LES 13 Advanced Object-Oriented Programming (OOP)
Released
C2
Twitter Trends
I.S. by 11:59PM PT
Week 7 - Interfaces and Beyond
Mon 11/11
Tue 11/12
SEC 13 Objects Day 2
Wed 11/13
LES 14 Interfaces
pre-class: materials
in-class: materials pdf pptx
resources:
Thu 11/14
SEC 14 Interfaces
Released
R5
P1, P2 Due 11:59 pm PT
Fri 11/15
LES 15 Java Collections
pre-class: materials
in-class: materials pdf pptx
resources:
Released
P3
Program Linting
I.S. by 11:59PM PT
Week 8 - Testing and Libraries
Mon 11/18
Tue 11/19
QUIZ 02 Nested Collections, Objects, Interfaces
Wed 11/20
LES 16 JUnit
Thu 11/21
SEC 16 Final Exam Practice: ArrayLists, Stacks, Queues
Released
R6
P2, C2 Due 11:59 pm PT
Fri 11/22
LES 17 Third Party Libraries

Note: No pre-class work today

Released
C3
OOP It!
I.S. by 11:59PM PT
Week 9 - Thanksgiving Week
Mon 11/25
Tue 11/26
SEC 17 (Optional) TA's Choice!
Wed 11/27
LES 18 Optional Extra Lecture!
Thu 11/28
HOLIDAY No class (Thanksgiving Day)
Fri 11/29
HOLIDAY No class (Native American Heritage Day)
Week 10 - Final Review
Mon 12/02
Tue 12/03
SEC 18 Final Exam Practice: Sets, Maps, Nested Collections
Wed 12/04
LES 19 Putting it all together
Thu 12/05
SEC 19 Final Exam Practice: OOP, Reference Semantics, File I/O
Released
R7
All HWs Eligible Due 11:59 pm PT
Fri 12/06
LES 20 Victory Lap
Week 11 - Finals Week
Mon 12/09
Tue 12/10
Wed 12/11
Thu 12/12
EXAM Final Exam 12:30pm - 2:20pm