CAS CS 112 - 12 Fall

Introduction to Computer Science II

Course Webpage


Hours

  •         • Labs:
    •                 A2: Thursdays, 3:00 - 4:00 PM @ EMA 304
    •                 A3: Thursdays, 4:00 - 5:00 PM @ EMA 304
    •                 A4: Fridays, 2:00 - 3:00 PM @ EMA 304
  •         • Lab Classroom: EMA 304, CS teaching lab
  •         • TF Office Hours:
    •                 Mondays 5:00 - 6:30 PM @ EMA 302
    •                 Tuesdays 5:00 - 6:30 PM @ EMA 302
  •         • Office Location: EMA 302, CS undergraduate lab


Contact Me

  •         • Haohan Zhu : zhu@bu.edu


Labs

Week 02 (Sep.13/Sep.14) -- Lab 01: Recursion

PPT PDF
Main Method (Template: PowerRunner) Algorithm Class (Template: PowerComputer)
Main Method (Solution: PowerRunner) Algorithm Class (Solution: PowerComputer)

Week 03 (Sep.20/Sep.21) -- Lab 02: Sorting

PPT PDF
Main Method (Template: PowerRunner)
Bubble Sort (Solution)

Week 04 (Sep.27/Sep.28) -- Lab 03: Inversion

PPT PDF
Inversion (Template) Example (Random and System Time)
Inversion (Solution)

Week 05 (Oct.04/Oct.05) -- Lab 04: Collection

PPT PDF
Implemntation (Template) Main Method Interface
Implemntation (Solution)

Week 06 (Oct.11/Oct.12) -- Lab 05: SortedList - Comparable/Comparator

PPT PDF
TestCase(Main Method) Generic List
Incrementable Interface Comparable Interface
Time Series Data (Template) Incrementable List (Template) Ordered List (Template)
Time Series Data (Solution) Incrementable List (Solution) Ordered List (Solution)

Week 07 (Oct.18/Oct.19) -- Lab 06: Iterable/Iterator

PPT PDF
TestCase(Main Method) Comparable Interface Time Series Data
Generic List Ordered List
Iter Ordered List (Template)
Iter Ordered List (Solution)

Week 08 (Oct.25/Oct.26) -- Lab 07: Exception

PPT PDF
Create an Exception Throw an Exception
Catch an Exception

Week 09 (Nov.01/Nov.02) -- Lab 08: Tree Traversal

PPT PDF
Tree Traversal (Template) Node
Tree Traversal (Solution)

Week 10 (Nov.08/Nov.09) -- Lab 09: About Assignment 4

Assignment 4

Week 11 (Nov.15/Nov.16) -- Lecture: Red-Black Tree

PDF

Week 11 (Nov.15/Nov.16) -- Lab 10: Java GUI

PPT PDF
TablePanel (Template) Cards
TablePanel (Solution) BlackJackPanel

Week 12 (Nov.22/Nov.23) -- Thanksgiving: No Lab

Week 13 (Nov.29/Nov.30) -- Lab 11: Hash Table and Graph

PPT PDF
Graph Template Graph Solution

Week 14 (Dec.06/Dec.07) -- Lab 12: Shortest Path Problem

PPT PDF