Schedule

Preliminary Schedule (Based on Dr. Läufer’s Fall, 2013, COMP 313/413 Schedule – Subject to Change)

    

Previous version (Spring 2015)

Week 1: 25 August

Session

  • organizational matters
    • introduction: instructor (Dr. Robert Yacobellis, ryacobellis@luc.edu), TA (Brian Gathright, bgathright@luc.edu)
    • course objectives
    • course texts
    • course roadmap (see the last page of this document)
    • Piazza discussion forum (mandatory subscription – link through Sakai)
    • how to get help
    • prerequisites and review topics: 271 313 overview
  • motivation, including embedded systems
    • brief overview of batch versus event-based programming
  • requirements
    • functional: y = f(x)
    • nonfunctional: additional properties of f, e.g.
      • testability
        • most important nonfunctional requirement
        • allows testing whether functional requirements are met
        • good architecture often happens as a side-effect (APPP pp. 36-38)
      • performance
      • scalability
        • e.g. performance for large data sets: asymptotic order of complexity 
          (big-Oh) in terms of input size n
      • reliability
      • maintainability
      • static versus dynamic NFRs
  • discussion of projects 1 and 2
  • course software with demo
  • prerequisite assessment

Reading/Podcasts

Week 2: 1 September

Session

  • announcements
  • data structures
    • linear vs. nonlinear
    • position-based vs. policy-based (see also here)
    • performance
    • tying data structure choices to requirements
  • data abstraction
    • addressing: pointers, references
    • aggregation (product types): structs, records
      • example: node in a linked list
    • variation (sum types): tagged unions, multiple implementations of an interface
    • example: mutable set abstraction
      • add element
      • remove element
      • check whether an element is present
      • check if empty
      • how many elements
    • several possible implementations
      • reasonable: binary search tree, hash table, bit vector (for small underlying domains)
      • less reasonable: array, linked list
      • see also here
  • group activity: problem 4 on prerequisite assessment

Reading/Podcasts

  • OOPUJ chapters 4, 5
    • Object Roles and Polymorphism; Method Overloading

Week 3: 8 September

Session

  • announcements
    • project 1/software installation check-up
    • Quiz 1 next week
  • discussion of project 2
  • basics of object-oriented programming up to genericity (Generics)
    • Inheritance and Composition
    • Interfaces
    • Abstract Classes
  • More on Test-Driven Development
    • JUnit Annotations, test methods, and examples

Reading/Podcasts

Homework

  • Project 1 due Tuesday, September 10 (revised due date due to Labor Day Holiday on September 7)

Week 4: 15 September

Session

  • Quiz 1: short quiz on first 2 SE Radio episodes, patterns and dependencies
  • announcements
    • test 1 roadmap on Sakai
  • basics of object-oriented programming - through the rest of the online document
    • Generic types
    • Supplemental material: Java Collections, data structures, and Object-inherited methods (see course slides)
    • Optional topic - Coad: modeling with UML and color: overviewbook chapter
  • reverse engineering JUnit tests (test 1 topic)
  • introduction to Design Patterns
    • Overview
    • Factory method, Strategy, Visitor
    • Resources
      • tutorialspoint website
      • Bob Tarr pdf slides on Sakai
      • APPP Design Pattern references
        • Factory: Chapter 29
        • Strategy: Chapter 22
        • Visitor: Chapter 35
  • project 3 introduction (only if time)

Reading/Podcasts

  • Bob Tarr pdf slide sets on Factory, Strategy, and Visitor Design Patterns
  • Agile Principles, Patterns, and Practices in C# (APPP) chapters 1-3 and Design Patterns chapters as above
    • Agile Practices; Extreme Programming Overview; Planning
    • Factory, Strategy, and Visitor Design Patterns

Homework

  • Project 2 due Friday, September 18

Week 5: 22 September

Session

  • test 1
  • announcements
    • project 3 team formation
  • more Design Patterns
    • Decorator and Composite
    • Visitor revisited
    • Resources
      • tutorialspoint website
      • Bob Tarr pdf slides on Sakai
      • APPP Design Pattern references
        • Decorator: part of Chapter 35
        • Composite: Chapter 31
        • Visitor: Chapter 35
  • project 3
    • Shapes interface and Visitor<Result> generic interface
      • concrete Shapes: Circle, Rectangle, ...
      • concrete Visitors: Draw, Size, and Bounding Box
    • project 3 TODOs (Android Studio: Tools => View => TODO)
    • project 3 Decorators: Outline, Stroke, Location, ...
    • Android Canvas and Paint classes and online documentation
    • Unit tests using Gradle and Mockito; the Fixtures class

    Reading/Podcasts

    • Bob Tarr pdf slide sets on Decorator, Composite, and Visitor Design Patterns
    • APPP chapters 4-6 and Design Patterns chapters as above
      • Testing; Refactoring; A Programming Episode
      • Decorator, Composite, and Visitor Design Patterns
    • SE Radio episode 167 on unit testing

Week 6: 29 September

Session

  • announcements
    • team members posted on Sakai and Piazza
    • team repositories: cs413f15teamNp3
  • discussion of test 1
  • continued project 3 detailed discussion
    • more classes, including Fixtures
    • Mokito "white box" unit tests (esp. for the Bounding Box Visitor)
      • how to run the unit tests
    • expressions and vexpressions Java examples - using a Visitor<Result> interface to visit arithmetic expressions
    • coding guidelines
  • UML diagrams and 30-minute in-class group activity
    • create a UML class diagram for project 3 (hand-drawn is best)
    • Submit (a picture of) the diagram plus a brief write up about how you did it on Sakai - one per group
  • Agile development (if time)
  • Reading/Podcasts


    Week 7: 6 October (Mid-Semester Break)

    Week 8: 13 October

    Session

    Homework

    • Project 3 due Friday, October 16

    Week 9: 20 October

    Session

    Week 10: 27 October

    Session

      Reading/Podcasts

      Week 11: 3 November

      Session

      • announcements
        • reminder: you should have listened to SE Radio episode 65 last week on embedded systems!
      • test 2 discussion - as needed
      • detailed discussion of testing in clickcounter and stopwatch examples
      • in-class group exercise: create a comprehensive set of unit tests for Project 4
        • also capture these to submit as part of each 2-person team's Project 4 submission
      • more Android examples - only if time
      • possibly time to work on Project 4 in your teams

      Reading/Podcasts

      Week 12: 10 November

      Reading/Podcasts

      • APPP chapters 7-9, 18, 19
        • What is Agile Design; The Single-Responsibility Principle; The Open/Closed Principle
        • Sequence Diagrams
        • Class Diagrams
      • SE Radio episode 12 on concurrency

      Homework

      • Project 4 due Saturday, November 14 - updated due date

      Week 13: 17 November

      Reading/Podcasts

      • PA chapters 6 and 8
        • Building a View
        • Drawing 2D and 3D Graphics
      • APPP chapter 10-12
        • The Liskov Substitution Principle (LSP); The Dependency-Inversion Principle (DIP); 
          The Interface Segregation Principle (ISP)

      Week 14: 24 November

      Reading/Podcasts

      Week 15: 1 December

      Reading/Podcasts

      Final Session (Week 16): 8 December

      • announcements, if any
      • test 4 (final)
      • in-class review of Project 5 implementations

      Reading/Podcasts

      Homework

      • Project 5/6 due Tuesday, December 8 at 4:15pm
      • Project 5/6 presentations must be Submitted on Sakai on December 8 at 6:15pm
      Comments