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.

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

  • Nothing!

Tuesday (04/07)

  • 🧑‍🏫 Section 1: Reference Semantics Review & Functional Decomposition

Wednesday (04/08)

  • 👥 Lesson 2: File Input/Output
    Class session @ 2:30pm in KNE 120.

Thursday (04/09)

  • 🧑‍🏫 Section 2: File I/O
  • 🎨 C0 - Warm-Up/Review due @ 11:59PM PT.

Friday (04/10)

  • 👥 Lesson 3: File I/O Wrap-up & ArrayLists
    Class session @ 2:30pm in KNE 120.
  • 💻 P0 - Stonks released. Due Thursday (04/16) @ 11:59PM PT.

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/30
Tue 03/31
Wed 04/01
LES 00 Welcome!

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

Note: Review session in JHN 102 at 2:30pm.

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