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/04)

  • 🎨 C3 - OOP It! due @ 11:59PM PT.
  • Resubmission form for this week released.

Tuesday (12/05)

  • 🧑‍🏫 Section 19: Review: Collections Programming

Wednesday (12/06)

  • 👥 Lesson 20: Victory Lap & Next Steps
    Class sessions @ 11:30 AM & 3:30 PM in GUG 220.
  • No pre-class material for today!

Thursday (12/07)

  • 🧑‍🏫 Section 20: Review: Objects

Friday (12/08)

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
Tue 09/26 No section today!
Wed 09/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: materials pdf pptx
resources:
Videos
Thu 09/28
SEC 00 Welcome
Fri 09/29
LES 01 Java Review/Introduction; Functional Decomposition
pre-class: materials
in-class: materials pdf pptx
resources:
Released
P0
Warm Up
I.S. by 11:59PM PT
Week 1 - ArrayList, Reference Semantics
Mon 10/02 Java Review Session

Note: Optional and will be recorded! Session is from 4:30 - 6:00 PM in BAG 131
See here for practice problems.
Recording here!

Tue 10/03
SEC 01 Java Practice; Functional Decomposition Practice
resources: materials
Wed 10/04
LES 02 ArrayLists
pre-class: materials
in-class: materials pdf pptx
resources:
Thu 10/05
SEC 02 ArrayLists Practice
resources: materials
Fri 10/06
LES 03 ArrayLists cont.
pre-class: materials
in-class: materials pdf pptx
resources:
Released
C0
TODO List
I.S. by 11:59PM PT
Week 2 - Stacks/Queues
Tue 10/10
QUIZ 00 Functional Decomposition, ArrayList
Wed 10/11
LES 04 Stacks & Queues
pre-class: materials
in-class: materials pdf pptx
resources:
Thu 10/12
SEC 04 Stacks and Queues Practice
resources: materials
Fri 10/13
LES 05 Stacks & Queues Application
pre-class: materials
in-class: materials pdf pptx
resources:
Released
P1
Music Playlist
I.S. by 11:59PM PT
Released
R0
Resub 0
Due 11:59 pm
Week 3 - 2D Arrays and Sets
Tue 10/17
SEC 05 Data Structures Practice
resources: materials
Wed 10/18
LES 06 2D Arrays
pre-class: materials
in-class: materials pdf pptx
resources:
Thu 10/19
SEC 06 2D Arrays Practice
resources: materials
Released
R1
Resub 1
Due 11:59 pm
Fri 10/20
LES 07 Sets; for-each Loop
pre-class: materials
in-class: materials pdf pptx
resources:
Videos
Released
C1
Image Manipulation
I.S. by 11:59PM PT
Week 4 - Maps and Nested Collections
Tue 10/24
SEC 07 Sets Practice
resources: materials
Wed 10/25
LES 08 Maps
pre-class: materials
in-class: materials pdf pptx
resources:
Videos
Thu 10/26
SEC 08 Sets, Maps Practice
resources: materials
Released
R2
Resub 2
Due 11:59 pm
Fri 10/27
LES 09 Maps; Nested Collections
pre-class: materials
in-class: materials pdf pptx
resources:
Released
P2
Absurdle
I.S. by 11:59PM PT
Week 5 - Objects
Tue 10/31
QUIZ 01 Reference Semantics, Stacks and Queues, 2D Arrays, Sets
Wed 11/01
LES 10 Introduction to Objects
pre-class: materials
in-class: materials pdf pptx
resources:
Videos
Thu 11/02
SEC 10 Nested Collections Practice
resources: materials
Released
R3
Resub 3
Due 11:59 pm
Fri 11/03
LES 11 Encapsulation and Instance Methods
pre-class: materials
in-class: materials pdf pptx
resources:
Videos
Week 6 - Object Oriented Programming
Tue 11/07
SEC 11 Objects Practice 1
resources: materials
Wed 11/08
LES 12 Object Oriented Programming (OOP)
pre-class: materials
in-class: materials pdf pptx
resources:
Thu 11/09
SEC 12 Objects Practice 2
resources: materials
Released
R4
Resub 4
Due 11:59 pm
Fri 11/10
HOLIDAY Veteran's Day - NO CLASS!
Released
C2
Twitter Trends
I.S. by 11:59PM PT
Week 7 - Interfaces and Beyond
Tue 11/14
SEC 13 TA's Choice!
Wed 11/15
LES 14 Interfaces
pre-class: materials
in-class: materials pdf pptx
resources:
Videos
Thu 11/16
SEC 14 Interfaces Practice
resources: materials
Released
R5
Resub 5
Due 11:59 pm
Fri 11/17
LES 15 Tying It All Together: Java Collections
pre-class: materials
in-class: materials pdf pptx
resources:
Videos
Released
P3
Program Linting
I.S. by 11:59PM PT
Week 8 - Testing, Libraries, and Turkeys
Tue 11/21
HOLIDAY Thanksgiving Week - NO SECTION!
Wed 11/22
LES 16 JUnit
pre-class: materials
in-class: materials pdf pptx
resources:
Released
R6
Resub 6
Due 11:59 pm
Thu 11/23
HOLIDAY Thanksgiving! - NO SECTION!
Fri 11/24
HOLIDAY Eating Turkey - NO CLASS!
Week 9 - Final Review
Mon 11/27
Tue 11/28
QUIZ 02 Maps, Nested Collections, and Objects
Released
C3
OOP It!
I.S. by 11:59PM PT
Wed 11/29
LES 18 Third Party Libraries

Note: No pre-class work for today! Hello CSE 122!

in-class: pdf pptx
resources:
Thu 11/30
SEC 18 Review: Stacks & Queues
resources: materials
Fri 12/01
LES 19 Review: Putting It All Together
pre-class: materials
in-class: pdf pptx
resources:
Week 10 - Victory Lap
Mon 12/04
Released
R7
Resub 7
Due 11:59 pm
Tue 12/05
SEC 19 Review: Collections Programming
resources: materials
Wed 12/06
LES 20 Victory Lap & Next Steps

Note: No pre-class work for today!

in-class: pdf pptx
resources:
Thu 12/07
SEC 20 Review: Objects
resources: materials
Fri 12/08
LES 21 In-Class Review!
Week 11 - Finals Week
Mon 12/11 Gigi & Gumball Visit Campus 🐶

Note: 1:00 - 3:00 PM around Drumheller Fountain!

Released
R8
Resub 8
Due 11:59 pm
Tue 12/12
EXAM Final Exam 12:30pm - 2:20pm
Wed 12/13
Thu 12/14