Difference between revisions of "COMP345 - fall 2020"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(33 intermediate revisions by one user not shown)
Line 126: Line 126:
 
|| oct 6, oct 8
 
|| oct 6, oct 8
 
||
 
||
*due date for assignment 1 (oct 9) <br> [[lab demonstrations (oct 15-16)]] <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 3 - slide set 4 - part 1 of 2 - arrays and containers]
+
*[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 3 - slide set 4 - part 2 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 146: Line 146:
 
*[[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]
 +
*[https://www.youtube.com/watch?v=ccJvSZ2H9NA (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 160: 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 175: 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 187: 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 209: 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 220: 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 - online COLE examination - dec 11, 14h00-16h00 <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 240: 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 21: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