Difference between revisions of "COMP345 - fall 2020"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(48 intermediate revisions by one user not shown)
Line 24: Line 24:
 
|| lab A-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/94181880553?pwd=akJ1cXkwcHViNTlid3V4V2QxQTJWUT09 zoom lab A-X] || Anne-Laure Ehresmann || <tt>alehresmann@gmail.com</tt> ||  
 
|| lab A-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/94181880553?pwd=akJ1cXkwcHViNTlid3V4V2QxQTJWUT09 zoom lab A-X] || Anne-Laure Ehresmann || <tt>alehresmann@gmail.com</tt> ||  
 
|-
 
|-
|| lab B-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/94259861921 zoom lab B-X] || Daniel Rinaldi      || <tt>ta.danielrinaldi@gmail.com</tt> ||  
+
|| lab B-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/94259861921 zoom lab B-X] or [https://concordia-ca.zoom.us/j/92636595010 zoom lab B-X] || Daniel Rinaldi      || <tt>ta.danielrinaldi@gmail.com</tt> ||  
 
|-
 
|-
|| lab C-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/98121306441?pwd=MHBXOTd5K1d2Mi84Q0ZiVjJvaUNFZz09 zoom lab C-X] || Vincent Berardi      || <tt>ta.vincentberardi@gmail.com</tt> ||  
+
|| lab C-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/93349374730 zoom lab C-X] || Vincent Berardi      || <tt>ta.vincentberardi@gmail.com</tt> ||  
 
|-
 
|-
|| lab E-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/98121306441?pwd=MHBXOTd5K1d2Mi84Q0ZiVjJvaUNFZz09 zoom lab E-X] || Vincent Berardi      || <tt>ta.vincentberardi@gmail.com</tt> ||  
+
|| lab E-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/92029505257 zoom lab E-X] || Vincent Berardi      || <tt>ta.vincentberardi@gmail.com</tt> ||  
 
|-
 
|-
|| lab F-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/95206085606 zoom lab F-X] || Daniel Rinaldi      || <tt>ta.danielrinaldi@gmail.com</tt> ||  
+
|| lab F-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/95206085606 zoom lab F-X] or [https://concordia-ca.zoom.us/j/96863796855 zoom lab F-X]|| Daniel Rinaldi      || <tt>ta.danielrinaldi@gmail.com</tt> ||  
 
|-
 
|-
 
|| lab G-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/7655220667 zoom lab G-X] || Nicole Parmentier    || <tt>nicole.parmentier@concordia.ca</tt> ||  
 
|| lab G-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/7655220667 zoom lab G-X] || Nicole Parmentier    || <tt>nicole.parmentier@concordia.ca</tt> ||  
 
|-
 
|-
|| lab H-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/91590971761 zoom lab H-X] || Pouria Zahraei      || <tt>spzahraei@yahoo.com</tt> ||  
+
|| lab H-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/4620558438 zoom lab H-X] || Pouria Zahraei      || <tt>spzahraei@yahoo.com</tt> ||  
 
|-
 
|-
 
|| lab J-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/91795152526 zoom lab J-X] || Peyman Derafshkavian || <tt>p_derafs@cs.concordia.ca</tt> ||  
 
|| lab J-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/91795152526 zoom lab J-X] || Peyman Derafshkavian || <tt>p_derafs@cs.concordia.ca</tt> ||  
Line 64: Line 64:
 
||
 
||
 
*[[Media:COMP345.0.introduction.2020.2.ppt|slide set 0]]
 
*[[Media:COMP345.0.introduction.2020.2.ppt|slide set 0]]
*[https://youtu.be/LB-Vtdt_S0g (video) week 1 - slide set 0 - part 1 - introduction to the course]
+
*[https://youtu.be/LB-Vtdt_S0g (video) week 1 - slide set 0 - part 1 of 2 - introduction to the course]
*[https://youtu.be/uRqGz2FNR-8?list=PLAqc0kXi5yE3SVH2AGn5rAzrKqqjDWl0- (video) week 1 - slide set 0 - part 2 - introduction to the C++ language]
+
*[https://youtu.be/uRqGz2FNR-8?list=PLAqc0kXi5yE3SVH2AGn5rAzrKqqjDWl0- (video) week 1 - slide set 0 - part 2 of 2 - introduction to the C++ language]
 
*[https://youtu.be/cM2GymVxu-Y (video) week 1 - project description]
 
*[https://youtu.be/cM2GymVxu-Y (video) week 1 - project description]
 
||
 
||
Line 82: Line 82:
 
||
 
||
 
*[[Media:COMP345.1.programstructure.ppt|slide set 1]]
 
*[[Media:COMP345.1.programstructure.ppt|slide set 1]]
*[https://www.youtube.com/watch?v=quh0XCFBbbo (video) week 2 - slide set 1 - part 1 - program structure]
+
*[https://www.youtube.com/watch?v=quh0XCFBbbo (video) week 2 - slide set 1 - part 1 of 2 - program structure]
*[https://www.youtube.com/watch?v=7zZd2xFDn48 (video) week 2 - slide set 1 - part 2 - program structure]
+
*[https://www.youtube.com/watch?v=7zZd2xFDn48 (video) week 2 - slide set 1 - part 2 of 2 - program structure]
 
*[[Media:COMP345.2.preliminarytopics.ppt|slide set 2]]
 
*[[Media:COMP345.2.preliminarytopics.ppt|slide set 2]]
*[https://www.youtube.com/watch?v=J7VfTcddUZM (video) week 2 - slide set 2 - part 1 - preliminary topics]
+
*[https://www.youtube.com/watch?v=J7VfTcddUZM (video) week 2 - slide set 2 - part 1 of 3 - preliminary topics]
*[https://www.youtube.com/watch?v=1ZjLX3P1pOY (video) week 2 - slide set 2 - part 2 - 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 - preliminary topics]
+
*[https://www.youtube.com/watch?v=Bd_XjL_YnK0 (video) week 2 - slide set 2 - part 3 of 3 - preliminary topics]
 
*[[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 - input/output]
+
*[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=-jfSRPaOMIY (video) week 2 - slide set 3 - part 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=6XCWOshfQko (video) week 2 - assignment #1]
 
*[https://www.youtube.com/watch?v=6XCWOshfQko (video) week 2 - assignment #1]
 
||
 
||
Line 102: Line 102:
 
||
 
||
 
*structures, classes
 
*structures, classes
*inheritance
 
 
*constructors, destructors
 
*constructors, destructors
 
*const, inline, static
 
*const, inline, static
 
*friends
 
*friends
 +
*inheritance
 +
*virtual inheritance
 
||
 
||
 
*[[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 - classes]
+
*[https://www.youtube.com/watch?v=TO00eYlYWrs (video) week 3 - 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=6jXjl9ZsphU (video) week 3 - slide set 4 - part 3 of 3- classes]
 
||
 
||
 
*[[Media:COMP345.lab04.zip|lab4]]
 
*[[Media:COMP345.lab04.zip|lab4]]
 +
*[[Media:COMP345.lab04.5.zip|lab4.5]] [https://youtu.be/gERKNPHJmdA (video)]
 
|-
 
|-
 
|| week 4
 
|| week 4
Line 122: Line 126:
 
|| oct 6, oct 8
 
|| oct 6, oct 8
 
||
 
||
*due date for assignment 1 (oct 9) <br> [[lab demonstrations (oct 12-13)]] <br> [[Media:Grades.assignment1.COMP345.paquet.2020.2.pdf|results]]
+
*due date for assignment 1 (oct 9) <br> [https://docs.google.com/spreadsheets/d/10nx5xJbMyq_bVDn55Jbp1IPs-AgUF-zd9ItouzmZ8cc/edit?usp=sharing lab demonstrations (oct 15-16)] <br> [[Media:Grades.asg1.COMP345.paquet.2020.2.online.pdf|results]]
 
||
 
||
 
*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=5ZNvTp5s__g (video) week 5 - slide set 4 - part 2 of 2 - arrays and containers]
 
||
 
||
 
*[[Media:COMP345.lab05.zip|lab5]]
 
*[[Media:COMP345.lab05.zip|lab5]]
Line 139: Line 145:
 
||
 
||
 
*[[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=ccJvSZ2H9NA (video) week 6 - assignment #2]
 
||
 
||
*[[Media:COMP345.lab06.zip|lab6]]
+
*[[Media:COMP345.lab06.zip|lab6]] [https://www.youtube.com/watch?v=I9k06q0j-do (video)]
 
|-
 
|-
 
|| week 7
 
|| week 7
Line 153: Line 161:
 
*diamond problem, virtual inheritance
 
*diamond problem, virtual inheritance
 
||
 
||
*[[Media:COMP345.7.polymorphism.ppt |slide set 7]]
+
*[[Media:COMP345.7.polymorphism.ppt |slide set 7]]
 +
*[https://www.youtube.com/watch?v=ZyE0cLEd5Ck (video) week 7 - slide set 7 - part 1 of 3 - polymorphism]
 +
*[https://www.youtube.com/watch?v=piRyovH7T-4 (video) week 7 - slide set 7 - part 2 of 3 - polymorphism]
 +
*[https://www.youtube.com/watch?v=BI4WHk9_n1s (video) week 7 - slide set 7 - part 3 of 3 - polymorphism]
 
||
 
||
 
*[[Media:COMP345.lab07.zip|lab7]]
 
*[[Media:COMP345.lab07.zip|lab7]]
Line 168: Line 179:
 
|| nov 3, nov 5
 
|| nov 3, nov 5
 
||
 
||
*due date for assignment 2 (nov 6) <br> [[Media:Grades.assignments.COMP345.paquet.2020.2.pdf|results]]
 
*[[Media:assignment3.COMP345.2020.2.pdf|assignment 3 handout]]
 
 
||
 
||
 
*design patterns in C++
 
*design patterns in C++
 
||
 
||
 
*[[Media:COMP345.8.patterns.ppt|slide set 8]]
 
*[[Media:COMP345.8.patterns.ppt|slide set 8]]
 +
*[https://www.youtube.com/watch?v=4ZbdBytVih4 (video) week 9 - slide set 8 - part 1 of 1 - design pattern (Adapter and Strategy)]
 
||
 
||
 
*[[Media:COMP345.lab08.zip|lab8]]
 
*[[Media:COMP345.lab08.zip|lab8]]
Line 180: Line 190:
 
|| nov 10, nov 12
 
|| nov 10, nov 12
 
||
 
||
 +
*due date for assignment 2 (nov 18) <br> [[Media:COMP345.assignment2.gradingSheet.paquet.2020.pdf|marking sheet]] <br>[[Media:Grades.asg2.COMP345.paquet.2020.2.online.pdf|results]]
 
*deadline for DISC withdrawal (nov 9)
 
*deadline for DISC withdrawal (nov 9)
 
+
* makeup midterm <br> [[Media:grades.makeup.midterm.COMP345.paquet.2020.2.pdf|results]]
 
||
 
||
 
*operator overloading
 
*operator overloading
 
||
 
||
 
*[[Media:COMP345.9.operators.ppt |slide set 9]]
 
*[[Media:COMP345.9.operators.ppt |slide set 9]]
 +
*[https://www.youtube.com/watch?v=_yBgQJdenmw (video) week 10 - slide set 9 - part 1 of 1 - operator overloading]
 
||
 
||
*[[Media:COMP345.lab9.zip|lab9]]
+
*[[Media:COMP345.lab09.zip|lab9]]
 
|-
 
|-
 
|| week 11
 
|| week 11
 
|| nov 17, nov 19
 
|| nov 17, nov 19
 
||
 
||
*[[Media:practice.programmingexam.COMP345.2020.2.zip|handout of practice run questions for the programming test]]
+
*practice run for the programming test - see the moodle page, week 11
 +
*[[Media:assignment3.COMP345.2020.2.pdf|assignment 3 handout]]
 
||
 
||
 
*exception handling
 
*exception handling
 
||
 
||
 
*[[Media:COMP345.10.exceptions.ppt|slide set 10]]
 
*[[Media:COMP345.10.exceptions.ppt|slide set 10]]
 +
*[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=FYCFANq0hws (video) week 11 - assignment #3]
 
||
 
||
 
|-
 
|-
Line 202: Line 218:
 
|| nov 24, nov 26
 
|| nov 24, nov 26
 
||
 
||
*due date for assignment 3 (nov 27) <br> [[Media:Grades.assignment3.COMP345.paquet.2020.2.pdf|results]]
+
*final programming test (nov 25 during labs) <br> Wed Nov 25th 17:45-19:35 <br> Wed Nov 25th 20:30-22:20 <br> [[Media:Grades.final.programming.COMP345.paquet.2020.2.pdf|results]]
*final programming test (nov 25 during labs) <br> Wed Nov 25th 17:45-19:35 <br> Wed Nov 25th 20:30-22:20 <br> [[Media:grades.programmingtest.COMP345.paquet.2020.2.pdf|results]]
+
 
||
 
||
 
*templates metaprogramming
 
*templates metaprogramming
 
||
 
||
 
*[[Media:COMP345.11.templates.ppt|slide set 11]]
 
*[[Media:COMP345.11.templates.ppt|slide set 11]]
 +
*[https://www.youtube.com/watch?v=SMwEODPibaM (video) week 12 - slide set 11 - part 1 of 1 - templates]
 
||
 
||
 
|-
 
|-
Line 213: Line 229:
 
|| dec 1 - dec 3
 
|| dec 1 - dec 3
 
||
 
||
 +
*due date for assignment 3 (dec 1) <br> [[Media:COMP345.assignment3.gradingSheet.paquet.2020.2.pdf|marking sheet]] <br> [[Media:Grades.asg3.COMP345.paquet.2020.2.online.pdf |results]]
 
||
 
||
 
* Review
 
* Review
 
||  
 
||  
*[[Media:COMP345.12.review.ppt|slide set 12]]
 
 
||
 
||
 
*[[Media:COMP345.lab10.zip|lab 10]]
 
*[[Media:COMP345.lab10.zip|lab 10]]
*[[Media:COMP345.lab11.templates.zip|lab 11]]
+
*[[Media:COMP345.lab11.zip|lab 11]]
 
|-
 
|-
 
|| exam week
 
|| exam week
 
|| dec 9 - dec 23
 
|| dec 9 - dec 23
 
||
 
||
*final written examination (TBD) <br> [[Media:grades.final.COMP345.paquet.2020.2.pdf|results]]
+
*final written examination - online moodle examination - dec 11, 14h00-16h00 <br> [[COMP345 Fall 2020 Final coverage|coverage]] <br> [[Media:Grades.final.written.COMP345.paquet.2020.2.pdf|results]]
 
||
 
||
 
||
 
||
Line 233: Line 249:
  
 
*[[Media:Syllabus.COMP345.paquet.2020.2.pdf ‎|Course outline]]
 
*[[Media:Syllabus.COMP345.paquet.2020.2.pdf ‎|Course outline]]
*[[COMP345 Fall 2020 teams|teams]]
 
*[https://fis.encs.concordia.ca/eas/ ENCS Electronic Student Submission System]
 
 
*[https://www.concordia.ca/ginacody/students/course-schedules/fall-2020-2021.html ENCS Lectures and Labs Schedules ]
 
*[https://www.concordia.ca/ginacody/students/course-schedules/fall-2020-2021.html ENCS Lectures and Labs Schedules ]
 
*[[Media:SourceCode4e.zip|Source code of all program examples in Walter Savitch's "Absolute C++"]]
 
*[[Media:SourceCode4e.zip|Source code of all program examples in Walter Savitch's "Absolute C++"]]
 
*[[Media:Liang_Code.zip|Source code of all program examples in Daniel Liang's "Introduction to Programming with C++"]]
 
*[[Media:Liang_Code.zip|Source code of all program examples in Daniel Liang's "Introduction to Programming with C++"]]

Latest revision as of 22:25, 15 December 2020

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)
zoom lecture discussions (synchronous)
moodle
Joey Paquet paquet@encs.concordia.ca
lab A-X --W---- 20:30-22:20 zoom lab A-X Anne-Laure Ehresmann alehresmann@gmail.com
lab B-X --W---- 20:30-22:20 zoom lab B-X or zoom lab B-X Daniel Rinaldi ta.danielrinaldi@gmail.com
lab C-X --W---- 20:30-22:20 zoom lab C-X Vincent Berardi ta.vincentberardi@gmail.com
lab E-X --W---- 17:45-19:35 zoom lab E-X Vincent Berardi ta.vincentberardi@gmail.com
lab F-X --W---- 17:45-19:35 zoom lab F-X or zoom lab F-X Daniel Rinaldi ta.danielrinaldi@gmail.com
lab G-X --W---- 17:45-19:35 zoom lab G-X Nicole Parmentier nicole.parmentier@concordia.ca
lab H-X --W---- 20:30-22:20 zoom lab H-X Pouria Zahraei spzahraei@yahoo.com
lab J-X --W---- 20:30-22:20 zoom lab J-X Peyman Derafshkavian p_derafs@cs.concordia.ca
lab K-X --W---- 17:45-19:35 zoom lab K-X Giselle Martel gmartel90@gmail.com
lab L-X --W---- 17:45-19:35 zoom lab L-X Peyman Derafshkavian p_derafs@cs.concordia.ca
instructor's office hours --W---- 10:00-12:00 zoom office hours Joey Paquet

Lecture Schedule

wk date event topics lecture material (tentative) laboratory material (tentative)
week 1 sep 8, sep 10
  • introduction to the course and project
  • introduction to C++
week 2 sep 15, sep 17
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • streams
  • pointers
week 3 sep 22, sep 24
  • structures, classes
  • constructors, destructors
  • const, inline, static
  • friends
  • inheritance
  • virtual inheritance
week 4 sep 29, oct 1
week 5 oct 6, oct 8
  • C/C++ arrays and dynamic arrays, containers
week 6 oct 13, oct 15
  • MVC architecture
  • observer pattern
week 7 oct 20, oct 22
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 8 oct 27, oct 29
week 9 nov 3, nov 5
  • design patterns in C++
week 10 nov 10, nov 12
  • operator overloading
week 11 nov 17, nov 19
  • exception handling
week 12 nov 24, nov 26
  • final programming test (nov 25 during labs)
    Wed Nov 25th 17:45-19:35
    Wed Nov 25th 20:30-22:20
    results
  • templates metaprogramming
week 13 dec 1 - dec 3
  • Review
exam week dec 9 - dec 23
  • final written examination - online moodle examination - dec 11, 14h00-16h00
    coverage
    results

Course Material and Resources