Difference between revisions of "COMP345 - fall 2022"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(22 intermediate revisions by one user not shown)
Line 24: Line 24:
 
|| lecture N                    || <tt>M-W----</tt> || <tt>16:15-17:30</tt> || [https://www.youtube.com/playlist?list=PLAqc0kXi5yE3SVH2AGn5rAzrKqqjDWl0- lecture videos (asynchronous)] <br> [https://concordia-ca.zoom.us/j/85065473870 synchronous zoom lecture discussions (Mondays 16:15-17:30)]  <br> H-435 in-person lecture discussions (Wednesdays 16:15-17:30) <br> [https://moodle.concordia.ca/moodle/course/view.php?id=149545 moodle]  || Joey Paquet                  || <tt>joey.paquet@concordia.ca</tt>            ||
 
|| lecture N                    || <tt>M-W----</tt> || <tt>16:15-17:30</tt> || [https://www.youtube.com/playlist?list=PLAqc0kXi5yE3SVH2AGn5rAzrKqqjDWl0- lecture videos (asynchronous)] <br> [https://concordia-ca.zoom.us/j/85065473870 synchronous zoom lecture discussions (Mondays 16:15-17:30)]  <br> H-435 in-person lecture discussions (Wednesdays 16:15-17:30) <br> [https://moodle.concordia.ca/moodle/course/view.php?id=149545 moodle]  || Joey Paquet                  || <tt>joey.paquet@concordia.ca</tt>            ||
 
|-
 
|-
|| lab A-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || || || || ||
+
|| lab A-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || H-967    || Hamed Jafarpour    || <tt>jafarpour.ha@gmail.com</tt> || [https://concordia-ca.zoom.us/j/87596971168 zoom link] ||
 
|-
 
|-
|| lab B-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || || || || ||  
+
|| lab B-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || H-811    || Shubham Bhanderi  || <tt>shubhambhanderi98@gmail.com</tt> || [https://concordia-ca.zoom.us/j/85055678134 zoom link] ||  
 
|-
 
|-
|| lab C-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || || || || ||  
+
|| lab C-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || H-819    || Akshita Patel      || <tt>akshitapatel02@gmail.com</tt> || [https://concordia-ca.zoom.us/j/84536430950 zoom link] ||  
 
|-
 
|-
|| lab E-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || || || || ||  
+
|| lab E-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || H-967    || Vashisht Marhwal  || <tt>vmarhwal97@gmail.com</tt> || [https://concordia-ca.zoom.us/j/3900294548 zoom link] ||  
 
|-
 
|-
|| lab F-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || || || || ||  
+
|| lab F-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || H-929    || Manimaran Palani  || <tt>manimayan11@gmail.com</tt> || [https://concordia-ca.zoom.us/j/3701370137 zoom link] ||  
 
|-
 
|-
|| lab G-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || || || || ||  
+
|| lab G-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || H-823    || Jonathan Llewellyn || <tt>inexistenz@gmail.com</tt> || [https://concordia-ca.zoom.us/j/7504377088 zoom link] ||  
 
|-
 
|-
|| lab H-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || || || || ||  
+
|| lab H-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || cancelled || || || ||  
 
|-
 
|-
|| lab J-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || || || || ||  
+
|| lab J-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || cancelled ||     |||| ||  
 
|-
 
|-
|| lab K-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || || || || ||  
+
|| lab K-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || cancelled || || || ||  
 
|-
 
|-
|| lab L-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || || || || ||  
+
|| lab L-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || cancelled || || || ||  
 
|-  
 
|-  
 
|| instructor's office hours    || <tt>M------</tt> || <tt>10:00-12:00</tt> || [https://concordia-ca.zoom.us/j/81982423034 zoom office hours] || Joey Paquet                  ||                                              ||
 
|| instructor's office hours    || <tt>M------</tt> || <tt>10:00-12:00</tt> || [https://concordia-ca.zoom.us/j/81982423034 zoom office hours] || Joey Paquet                  ||                                              ||
Line 68: Line 68:
 
*[https://bit.ly/3qaO7Kj (video) week 1 - slide set 0 - part 1 of 2 - introduction to the course]
 
*[https://bit.ly/3qaO7Kj (video) week 1 - slide set 0 - part 1 of 2 - introduction to the course]
 
*[https://youtu.be/uRqGz2FNR-8 (video) week 1 - slide set 0 - part 2 of 2 - introduction to the C++ language]
 
*[https://youtu.be/uRqGz2FNR-8 (video) week 1 - slide set 0 - part 2 of 2 - introduction to the C++ language]
*(video) week 1 - project description
+
*[https://bit.ly/3QqkVto (video) week 1 - project description]
 
||
 
||
 
|-
 
|-
Line 89: Line 89:
 
*[https://www.youtube.com/watch?v=1ZjLX3P1pOY (video) week 2 - slide set 2 - part 2 of 3 - preliminary topics]
 
*[https://www.youtube.com/watch?v=1ZjLX3P1pOY (video) week 2 - slide set 2 - part 2 of 3 - preliminary topics]
 
*[https://www.youtube.com/watch?v=Bd_XjL_YnK0 (video) week 2 - slide set 2 - part 3 of 3 - preliminary topics]
 
*[https://www.youtube.com/watch?v=Bd_XjL_YnK0 (video) week 2 - slide set 2 - part 3 of 3 - preliminary topics]
*(video) week 2 - assignment #1
+
*[https://bit.ly/3RL8hXi (video) week 2 - assignment #1]
 
||
 
||
 
*[[Media:COMP345.lab01.zip|lab1]]
 
*[[Media:COMP345.lab01.zip|lab1]]
Line 101: Line 101:
 
||
 
||
 
*[[Media:COMP345.3.inputoutput.ppt|slide set 3]]
 
*[[Media:COMP345.3.inputoutput.ppt|slide set 3]]
*[https://www.youtube.com/watch?v=BM80aZ8f7IA (video) week 2 - slide set 3 - part 1 of 2 - input/output]
+
*[https://www.youtube.com/watch?v=BM80aZ8f7IA (video) week 3 - slide set 3 - part 1 of 2 - input/output]
*[https://www.youtube.com/watch?v=-jfSRPaOMIY (video) week 2 - slide set 3 - part 2 of 2- input/output]
+
*[https://www.youtube.com/watch?v=-jfSRPaOMIY (video) week 3 - slide set 3 - part 2 of 2- input/output]
 
||
 
||
 
*[[Media:COMP345.lab03.zip|lab3]]
 
*[[Media:COMP345.lab03.zip|lab3]]
Line 118: Line 118:
 
||
 
||
 
*[[Media:COMP345.4.classes.ppt|slide set 4]]
 
*[[Media:COMP345.4.classes.ppt|slide set 4]]
*[https://www.youtube.com/watch?v=TO00eYlYWrs (video) week 3 - slide set 4 - part 1 of 3- classes]
+
*[https://www.youtube.com/watch?v=TO00eYlYWrs (video) week 4 - slide set 4 - part 1 of 3- classes]
*[https://www.youtube.com/watch?v=l0bhYZM2ZVA (video) week 3 - slide set 4 - part 2 of 3- classes]
+
*[https://www.youtube.com/watch?v=l0bhYZM2ZVA (video) week 4 - slide set 4 - part 2 of 3- classes]
*[https://www.youtube.com/watch?v=6jXjl9ZsphU (video) week 3 - slide set 4 - part 3 of 3- classes]
+
*[https://www.youtube.com/watch?v=6jXjl9ZsphU (video) week 4 - slide set 4 - part 3 of 3- classes]
*[[Media:COMP345.1.5.programstructure.ppt|week 2 -slide set 1.5 - header/cpp files + includes]]
+
*[[Media:COMP345.1.5.programstructure.ppt|week 4 -slide set 1.5 - header/cpp files + includes]]
*[https://youtu.be/6JKM9PPVxaw (video) week 2 - slides set 1.5 - part 1 of 1 - header/cpp files + includes]
+
*[https://youtu.be/6JKM9PPVxaw (video) week 4 - slides set 1.5 - part 1 of 1 - header/cpp files + includes]
 
||
 
||
 
*[[Media:COMP345.lab04.zip|lab4]]
 
*[[Media:COMP345.lab04.zip|lab4]]
Line 132: Line 132:
 
||
 
||
 
*Quebec elections day - no lecture [oct 3]
 
*Quebec elections day - no lecture [oct 3]
*due date for assignment 1 [oct 7] <br> [[Media:COMP345.assignment1.gradingSheet.paquet.2022.2.pdf|marking sheet]] <br> lab demonstrations <br>  
+
*due date for assignment 1 [oct 9] <br> [[Media:COMP345.assignment1.gradingSheet.paquet.2022.2.pdf|marking sheet]] <br> [https://docs.google.com/spreadsheets/d/1y2JhFWoZnsGUZJOKkv48vk1uNRiMTq-IXk3T1MvewE0/ schedule for assignment 1 demonstrations] <br>  
 
||
 
||
 
*C/C++ arrays and dynamic arrays, containers
 
*C/C++ arrays and dynamic arrays, containers
 
||
 
||
 
*[[Media:COMP345.5.arrays.ppt|slide set 5]]
 
*[[Media:COMP345.5.arrays.ppt|slide set 5]]
*[https://www.youtube.com/watch?v=FCzgFQrdpns (video) week 5 - slide set 4 - part 1 of 2 - arrays and containers]
+
*[https://www.youtube.com/watch?v=FCzgFQrdpns (video) week 5 - slide set 5 - part 1 of 2 - arrays and containers]
*[https://www.youtube.com/watch?v=5ZNvTp5s__g (video) week 5 - slide set 4 - part 2 of 2 - arrays and containers]
+
*[https://www.youtube.com/watch?v=5ZNvTp5s__g (video) week 5 - slide set 5 - part 2 of 2 - arrays and containers]
 
||
 
||
 
*[[Media:COMP345.lab05.zip|lab5]]
 
*[[Media:COMP345.lab05.zip|lab5]]
Line 148: Line 148:
 
*Reading day - no lecture [oct 11]
 
*Reading day - no lecture [oct 11]
 
*wed oct 12 is scheduled as a Monday  
 
*wed oct 12 is scheduled as a Monday  
*assignment 2 handout
+
*[https://users.encs.concordia.ca/~paquet/wiki/index.php?title=File:Assignment2.COMP345.2022.2.pdf assignment 2 handout]
 
||
 
||
 
*MVC architecture
 
*MVC architecture
Line 155: Line 155:
 
*[[Media:COMP345.6.MVC.ppt |slide set 6]]
 
*[[Media:COMP345.6.MVC.ppt |slide set 6]]
 
*[https://www.youtube.com/watch?v=NF0GxFan5js (video) week 6 - slide set 6 - part 1 of 1 - MVC and observer]
 
*[https://www.youtube.com/watch?v=NF0GxFan5js (video) week 6 - slide set 6 - part 1 of 1 - MVC and observer]
*(video) week 6 - assignment #2
+
*[https://youtu.be/-4NGKisJ3jY (video) week 6 - assignment #2]
 
||
 
||
 
*[[Media:COMP345.lab06.zip|lab6]] [https://www.youtube.com/watch?v=I9k06q0j-do (video)]
 
*[[Media:COMP345.lab06.zip|lab6]] [https://www.youtube.com/watch?v=I9k06q0j-do (video)]
Line 199: Line 199:
 
|| nov 7 - nov 13
 
|| nov 7 - nov 13
 
||
 
||
*due date for assignment 2 (nov 11) <br> [[Media:COMP345.assignment2.gradingSheet.paquet.2022.2.pdf|marking sheet]] <br> lab demonstrations <br>  
+
*due date for assignment 2 (nov 13) <br> [[Media:COMP345.assignment2.gradingSheet.paquet.2022.2.pdf|marking sheet]] <br> lab demonstrations <br>  
 
||
 
||
 
*operator overloading
 
*operator overloading
Line 219: Line 219:
 
*[https://www.youtube.com/watch?v=7MKfjKEM-UQ (video) week 11 - slide set 10 - part 1 of 2 - exception handling]
 
*[https://www.youtube.com/watch?v=7MKfjKEM-UQ (video) week 11 - slide set 10 - part 1 of 2 - exception handling]
 
*[https://www.youtube.com/watch?v=WE49InjKObc (video) week 11 - slide set 10 - part 2 of 2 - exception handling]
 
*[https://www.youtube.com/watch?v=WE49InjKObc (video) week 11 - slide set 10 - part 2 of 2 - exception handling]
*(video) week 11 - assignment #3
+
*[https://www.youtube.com/watch?v=6pRY5CvgTtQ (video) week 11 - assignment #3]
 
||
 
||
 
|-
 
|-
Line 236: Line 236:
 
|| nov 28 - dec 4
 
|| nov 28 - dec 4
 
||
 
||
*due date for assignment 3 (dec 2) <br> [marking sheet] <br> lab demonstrations <br>  
+
*due date for assignment 3 (dec 2) <br> [[Media:COMP345.assignment3.gradingSheet.paquet.2022.2.pdf|marking sheet]] <br> [https://docs.google.com/spreadsheets/d/1kYmHeqn21ykl8mMDd-gZBQA7M9n4HuZupy9Z5QdGMD4/edit#gid=0 lab demonstrations] <br>  
 
||
 
||
 
* Review
 
* Review
Line 247: Line 247:
 
|| dec 9 - dec 22
 
|| dec 9 - dec 22
 
||
 
||
*final written examination - online moodle examination - TBD <br> [[COMP345 Fall 2022 Final written examination coverage|coverage]]  
+
*final written examination - online moodle examination - dec 16, 14h-17h <br> [[COMP345 Fall 2021 Final written examination coverage|coverage]] <br>[[Media:Grades.finalwrittenexam.COMP345.SectionD.paquet.2022.2.pdf|final written examination grade distribution - Section D]] <br>[[Media:Grades.finalwrittenexam.COMP345.SectionN.paquet.2022.2.pdf|final written examination grade distribution - Section N]]  
 
||
 
||
 
||
 
||

Latest revision as of 08:05, 17 December 2022

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