Welcome to CSE 123: Introduction to Computer Programming III 🎉

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 third course in computer programming focused on the design and implementation of data structures. It assumes students already have significant experience with programming and understand fundamental computing concepts (such as control structures (loops and conditionals), variables and data, and arrays) as well as basic data structure (lists, sets, stacks, queues, and maps/dictionaries) and the fundamentals of object-oriented programming.

In this course, students will learn:

  1. How to implement compound data structures such as lists and trees.
  2. The use of recursion to efficiently solve computational problems.
  3. How to utilize inheritance to represent relationships among similar classes.
Prior Experience and Expectations

Prerequisite Material

This course is intended for students who already have some programming experience. Students entering CSE 123 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), data structures such as arrays, lists, sets, and maps/dictionaries, and the basics of object-oriented programming.

To better assess if CSE 123 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 123 is taught in the Java programming language. Unlike CSE 122, CSE 123 does assume prior experience with the Java programming langauge. If you have not programmed in Java before, or would like to get some extra practice or review, please see our Java Tutorial.

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 fr assistance.

Announcements

Feb 22

C2 & Resub 4 Feedback Out!

Feedback for the latest assignment and resubmissions is now final.

See the full announcement on Ed!
Feb 22

Creative Project 3 Released

Our final creative project is now available.

See the full announcement on Ed!
Feb 21

IPL Closed from 4:30-7:30pm

The IPL will be closed for a few hours this evening to accommodate staff meetings.

See the full announcement on Ed!

All Announcements

This Week (at a glance)

Sunday (03/05)

Monday (03/06)

  • None

Tuesday (03/07)

  • 🧑‍🏫 Section 17: Review
  • ♻️ Quiz Retake (must be scheduled from last form)

Wednesday (03/08)

  • 👥 Lesson 18: Final exam review
    Class sessions @ 12:30 in KNE 210 and 2:30 in KNE 120.

Thursday (03/09)

Friday (03/10)

  • 👥 Lesson 19: Victory lap and next steps
    Class sessions @ 12:30 in KNE 210 and 2:30 in KNE 120.
  • 💻 P3 - Huffman due @ 11:59 pm.

Saturday (03/11)

  • None

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 1
Mon 01/02
HOLIDAY New Year's Day (observed)
Tue 01/03
HOLIDAY No class
Wed 01/04
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!

Thu 01/05
SEC 00 Welcome
resources: materials
Fri 01/06
LES 01 Implementing data structures; References
pre-class: materials
in-class: materials
resources:
Videos
Released
P0
Warm Up/Review
I.S. by 11:59 pm
Week 2
Mon 01/09
Tue 01/10
SEC 01 Implementing data structures; References
resources: materials
Wed 01/11
LES 02 Pre-/Post-conditions; Exceptions
pre-class: materials
in-class: materials
resources:
Released
C0
Abstract Strategy Games
I.S. by 11:59 pm
Thu 01/12
SEC 02 Pre-/Post-conditions; Exceptions
resources: materials
Fri 01/13
LES 03 Inheritance; Polymorphism
pre-class: materials
in-class: materials
resources:
Week 3
Mon 01/16
HOLIDAY Martin Luther King, Jr. Day
Tue 01/17
SEC 03 Inheritance; Polymorphism
resources: materials
Wed 01/18
LES 04 Abstract classes; Comparable
pre-class: materials
in-class: materials
resources:
Released
C1
Survivor Challenge
I.S. by 11:59 pm
Thu 01/19
SEC 04 Abstract classes; Comparable
resources: materials
Fri 01/20
LES 05 Linked nodes
pre-class: materials
in-class: materials
resources:
Released
R1
Resub 1
Due 11:59 pm
Week 4
Mon 01/23
Tue 01/24
QUIZ 00 Quiz 0

Note: Information for Quiz 0

  • Topics on Quiz: Inheritance, Polymorphism, Comparable
  • Topics not on Quiz: Linked nodes
  • Review Resources: Last two weeks of lecture examples and section handout problems.

Wed 01/25
LES 06 Linked nodes w/loops
pre-class: materials
in-class: materials
resources:
Thu 01/26
SEC 06 Linked nodes
Fri 01/27
LES 07 Linked lists
pre-class: materials
in-class: materials
resources:
Released
R2
Resub 2
Due 11:59 pm
Week 5
Mon 01/30
Tue 01/31
SEC 07 Linked nodes w/loops
resources: materials
Wed 02/01
LES 08 Putting it all together

Note: No pre-class work for today!

in-class: materials
resources:
Released
P1
Mini-Git
I.S. by 11:59 pm
Thu 02/02
SEC 08 Linked lists
resources: materials
Fri 02/03
LES 09 Recursive tracing
pre-class: materials
in-class: pdf pptx materials
resources:
Released
R3
Resub 3
Due 11:59 pm
Week 6
Mon 02/06
Tue 02/07
QUIZ 01 Quiz 1

Note: Information for Quiz 1

  • Topics on Quiz: Linked nodes, Linked lists
  • Topics not on Quiz: Recursion
  • Review Resources: Last two weeks of lecture examples and section handout problems.

Wed 02/08
LES 10 Recursive programming
pre-class: materials
in-class: materials
resources:
Released
C2
Mondrian Art
I.S. by 11:59 pm
Thu 02/09
SEC 10 Recursive tracing; Recursive programming
Fri 02/10
LES 11 Exhaustive search
pre-class: materials
in-class: materials
resources:
Released
R4
Resub 4
Due 11:59 pm
Week 7
Mon 02/13
Tue 02/14
SEC 11 Exhaustive search
Wed 02/15
LES 12 Recursive backtracking
pre-class: materials
in-class: materials
resources:
Released
P2
Disaster Relief
I.S. by 11:59 pm
Thu 02/16
SEC 12 Recursive backtracking
Fri 02/17
LES 13 Binary trees
pre-class: materials
in-class: materials
resources:
Released
R5
Resub 5
Due 11:59 pm
Week 8
Mon 02/20
HOLIDAY Presidents' Day
Tue 02/21
QUIZ 02 Quiz 2

Note: Information for Quiz 2

  • Topics on Quiz: Recursion, Recursive backtracking
  • Topics not on Quiz: Binary trees
  • Review Resources: Last two weeks of lecture examples and section handout problems.

Wed 02/22
LES 14 Binary search trees
pre-class: materials
in-class: materials
resources:
Released
C3
"BrettFeed" Quiz
I.S. by 11:59 pm
Thu 02/23
SEC 14 Binary trees
Fri 02/24
LES 15 Runtime analysis
pre-class: materials
in-class: materials
resources:
Released
R6
Resub 6
Due 11:59 pm
Week 9
Mon 02/27
Tue 02/28
SEC 15 Binary search trees
Wed 03/01
LES 16 Huffman encoding

Note: These slides are from a previous course and quarter, but have the same content as the ones Brett used.

pre-class: materials
in-class: slides
resources:
Released
P3
Huffman
I.S. by 11:59 pm
Thu 03/02
SEC 16 Runtime analysis/Huffman
Fri 03/03
LES 17 Hashing
pre-class: materials
in-class: slides
resources:
Released
R7
Resub 7
Due 11:59 pm
Week 10
Mon 03/06
Tue 03/07
SEC 17 Review
Wed 03/08
LES 18 Final exam review
Thu 03/09
SEC 18 Review
Fri 03/10
LES 19 Victory lap and next steps
in-class: pdf pptx
resources:
Released
R8
Resub 8
Due 11:59 pm
Week 11
Mon 03/13
LES XX Final exam review session (4:30-6:50pm, SMI 120)
Tue 03/14
EXAM Final Exam (12:30-2:20pm)
Wed 03/15
Thu 03/16
Fri 03/17