COMP345 - fall 2022

From Dr. Joey Paquet Web Site
Jump to: navigation, search

Contents

Course Description

COMP 345 - Advanced Program Design with C++ (4 credits)

Prerequisite: COMP352 previously or concurrently. Introduction to C++. I/O with stream classes. Pointers and their uses. TheStandard Template Library (STL): containers, algorithms, iterators, adaptors, function objects. Class design: constructors, destructors, operator overloading, inheritance, virtual functions, exception handling, memory management. Advanced topics: libraries, locales, STL conventions, concurrency, template metaprogramming. Applications of C++: systems, engineering, games programming. Project. Lectures: three hours per week. Laboratory: two hours per week.

Course Schedule and Contacts

component day time location instructor e-mail address link
lecture D -T-J--- 13:15-14:30 lecture videos (asynchronous)
synchronous zoom lecture discussions (Thursdays 13:15-14:30)
H-420 in-person lecture discussions (Tuesdays 13:15-14:30)
moodle
Joey Paquet joey.paquet@concordia.ca
lecture N M-W---- 16:15-17:30 lecture videos (asynchronous)
synchronous zoom lecture discussions (Mondays 16:15-17:30)
H-435 in-person lecture discussions (Wednesdays 16:15-17:30)
moodle
Joey Paquet joey.paquet@concordia.ca
lab A-X --W---- 20:30-22:20 H-967 Hamed Jafarpour jafarpour.ha@gmail.com zoom link
lab B-X --W---- 20:30-22:20 H-811 Shubham Bhanderi shubhambhanderi98@gmail.com zoom link
lab C-X --W---- 20:30-22:20 H-819 Akshita Patel akshitapatel02@gmail.com zoom link
lab E-X --W---- 17:45-19:35 H-967 Vashisht Marhwal vmarhwal97@gmail.com zoom link
lab F-X --W---- 17:45-19:35 H-929 Manimaran Palani manimayan11@gmail.com zoom link
lab G-X --W---- 17:45-19:35 H-823 Jonathan Llewellyn inexistenz@gmail.com zoom link
lab H-X --W---- 20:30-22:20 cancelled
lab J-X --W---- 20:30-22:20 cancelled
lab K-X --W---- 17:45-19:35 cancelled
lab L-X --W---- 17:45-19:35 cancelled
instructor's office hours M------ 10:00-12:00 zoom office hours Joey Paquet

Lecture Schedule

wk date event topics lecture material (tentative) laboratory material (tentative)
week 1 sep 6 - sep 11
  • introduction to the course and project
  • introduction to C++
week 2 sep 12 - sep 18
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • pointers
week 3 sep 19 - sep 25
  • streams
week 4 sep 26 - oct 2
  • structures, classes
  • constructors, destructors
  • const, inline, static
  • friends
  • inheritance
  • virtual inheritance
week 5 oct 3 - oct 9
  • C/C++ arrays and dynamic arrays, containers
week 6 oct 10 - oct 16
  • Thanksgiving day - no lecture [oct 10]
  • Reading day - no lecture [oct 11]
  • wed oct 12 is scheduled as a Monday
  • assignment 2 handout
  • MVC architecture
  • observer pattern
week 7 oct 17 - oct 23
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 8 oct 24 - oct 30
week 9 oct 31 - nov 6
  • design patterns in C++
week 10 nov 7 - nov 13
  • due date for assignment 2 (nov 13)
    marking sheet
    lab demonstrations
  • operator overloading
week 11 nov 14 - nov 20
  • assignment 3 handout
  • final programming examination - practice run (nov 16 during labs)
    see the moodle page for links to the examinations
    Wed nov 16 17:45-19:35 (sections EFGKL)
    Wed nov 16 20:30-22:20 (sections ABCHJ)
    coverage
  • exception handling
week 12 nov 21 - nov 27
  • templates metaprogramming
week 13 nov 28 - dec 4
  • Review
exam week dec 9 - dec 22

Course Material and Resources