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 (05/27)

  • Holiday (Memorial Day)

Tuesday (05/28)

Wednesday (05/29)

  • 📚 Pre-Class Material 18 (Complete before class.)
  • 👥 Lesson 18: Review: Putting It All Together
    Class session @ 12:30 PM in KNE 130.

Thursday (05/30)

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

Friday (05/31)

  • 👥 Lesson 19: Victory Lap & Next Steps
    Class session @ 12:30 PM in KNE 130.
  • 🎨 C3 - OOP It! released. Due Friday (05/31) @ 11:59PM PT.
  • No pre-class material for today!

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 03/25
Tue 03/26
Wed 03/27
LES 00 Welcome; Syllabus Details

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: materials
Thu 03/28
SEC 00 Welcome
resources: materials
Fri 03/29
LES 01 Java Review/Introduction; Functional Decomposition
pre-class: materials
in-class: pdf pptx materials
resources:
Released
C0
Warm Up
I.S. by 11:59PM PT
Week 1 - File I/O
Mon 04/01 Java Review Session

Note: Optional and tentative

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

Note: No pre-class work for today!

Released
C3
OOP It!
I.S. by 11:59PM PT
Week 9 - Final Review
Mon 05/27
Tue 05/28
SEC 17 Review: Sets, Maps, & Nested Collections
resources: materials
Wed 05/29
LES 18 Review: Putting It All Together
pre-class: materials
in-class: pdf pptx
resources:
Thu 05/30
SEC 18 Review: OOP, Reference Semantics, File I/O
resources: materials
Released
R7
All HWs Eligible Due 11:59 pm PT
Fri 05/31
LES 19 Victory Lap & Next Steps

Note: No pre-class work for today!

in-class: pdf pptx
resources:
Week 10 - Finals Week
Mon 06/03
Tue 06/04
Wed 06/05
Thu 06/06
EXAM Final Exam 8:30am - 10:20am
Fri 06/07