Difference between revisions of "COMP345 - fall 2021"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(69 intermediate revisions by one user not shown)
Line 20: Line 20:
 
! {{tableHeaderCell}} | link
 
! {{tableHeaderCell}} | link
 
|-
 
|-
|| lecture D                    || <tt>-T-J---</tt> || <tt>13:15-14:30</tt> || [https://www.youtube.com/playlist?list=PLAqc0kXi5yE3SVH2AGn5rAzrKqqjDWl0- lecture videos (asynchronous)] <br> [https://concordia-ca.zoom.us/j/91031672244 zoom lecture discussions (synchronous - Tuesdays 13:15-14:30)]  <br> in-person lectures (Thursdays 13:15-14:30) <br> [https://moodle.concordia.ca/moodle/course/view.php?id=128150 moodle]  || Joey Paquet                  || <tt>paquet@encs.concordia.ca</tt>            ||
+
|| lecture D                    || <tt>-T-J---</tt> || <tt>13:15-14:30</tt> || [https://www.youtube.com/playlist?list=PLAqc0kXi5yE3SVH2AGn5rAzrKqqjDWl0- lecture videos (asynchronous)] <br> [https://concordia-ca.zoom.us/j/91031672244 synchronous zoom lecture discussions (Thursdays 13:15-14:30)]  <br> H-937 in-person lecture discussions (Tuesdays 13:15-14:30) <br> [https://moodle.concordia.ca/moodle/course/view.php?id=137365 moodle]  || Joey Paquet                  || <tt>paquet@encs.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/91031672244 zoom lecture discussions (synchronous - Mondays 16:15-17:30)]  <br> in-person lectures (Wednesdays 16:15-17:30) <br> [https://moodle.concordia.ca/moodle/course/view.php?id=128150 moodle]  || Joey Paquet                  || <tt>paquet@encs.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/82678974752 synchronous zoom lecture discussions (Mondays 16:15-17:30)]  <br> MB-1.210 in-person lecture discussions (Wednesdays 16:15-17:30) <br> [https://moodle.concordia.ca/moodle/course/view.php?id=139525 moodle]  || Joey Paquet                  || <tt>paquet@encs.concordia.ca</tt>            ||
 
|-
 
|-
|| lab A-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [zoom lab A-X] || TBD || <tt>TBD</tt> ||  
+
|| lab A-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/8980165131 zoom lab A-X] || Komal Panchal || <tt>komal31p@gmail.com</tt> ||  
 
|-
 
|-
|| lab B-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [zoom lab B-X] || TBD || <tt>TBD</tt> ||  
+
|| lab B-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || H-907 || Parsa Ghaderi || <tt>parsaghaderi97@gmail.com</tt> ||  
 
|-
 
|-
|| lab C-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [zoom lab C-X] || TBD || <tt>TBD</tt> ||  
+
|| lab C-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/8607136876 zoom lab C-X] || Ritika Garg || <tt>gargritika2596@gmail.com</tt> ||  
 
|-
 
|-
|| lab E-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [zoom lab E-X] || TBD || <tt>TBD</tt> ||  
+
|| lab E-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/89105339437 zoom lab E-X] || Jonathan Llewellyn || <tt>inexistenz@gmail.com</tt> ||  
 
|-
 
|-
|| lab F-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [zoom lab F-X] || TBD || <tt>TBD</tt> ||  
+
|| lab F-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || H-907 || Parsa Ghaderi || <tt>parsaghaderi97@gmail.com</tt> ||  
 
|-
 
|-
|| lab G-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [zoom lab G-X] || TBD || <tt>TBD</tt> ||  
+
|| lab G-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/88370403307 zoom lab G-X] || Peyman Derashfkavian || <tt>peymankavian@gmail.com</tt> ||  
 
|-
 
|-
|| lab H-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [zoom lab H-X] || TBD || <tt>TBD</tt> ||  
+
|| lab H-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/84338066752 zoom lab H-X] || Jonathan Llewellyn || <tt>inexistenz@gmail.com</tt> ||  
 
|-
 
|-
|| lab J-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [zoom lab J-X] || TBD || <tt>TBD</tt> ||  
+
|| lab J-X                      || <tt>--W----</tt> || <tt>20:30-22:20</tt> || [https://concordia-ca.zoom.us/j/88370403307 zoom lab J-X] || Peyman Derashfkavian || <tt>peymankavian@gmail.com</tt> ||  
 
|-
 
|-
|| lab K-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [zoom lab K-X] || TBD || <tt>TBD</tt> ||  
+
|| lab K-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/88370403307 zoom lab K-X] || Peyman Derashfkavian || <tt>peymankavian@gmail.com</tt> ||
 
|-
 
|-
|| lab L-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [zoom lab L-X] || TBD || <tt>TBD</tt> ||  
+
|| lab L-X                      || <tt>--W----</tt> || <tt>17:45-19:35</tt> || [https://concordia-ca.zoom.us/j/8980165131 zoom lab L-X] || Komal Panchal || <tt>komal31p@gmail.com</tt> ||  
 
|-  
 
|-  
|| instructor's office hours    || <tt>--W----</tt> || <tt>10:00-12:00</tt> || [zoom office hours] || Joey Paquet                  ||                                              ||
+
|| instructor's office hours    || <tt>--W----</tt> || <tt>10:00-12:00</tt> || [https://concordia-ca.zoom.us/j/81982423034 zoom office hours] || Joey Paquet                  ||                                              ||
 
|}
 
|}
  
Line 58: Line 58:
 
|-
 
|-
 
|| week 1
 
|| week 1
|| sep 7, sep 10
+
|| sep 7 - sep 10
 
||  
 
||  
*[[project description handout]]
+
*[[Media:project.COMP345.2021.2.pdf|project description handout]]
 
||  
 
||  
 
*introduction to the course and project
 
*introduction to the course and project
 
*introduction to C++
 
*introduction to C++
 
||
 
||
*[[Media:COMP345.0.introduction.2020.2.ppt|slide set 0]]
+
*[[Media:COMP345.0.introduction.2021.2.ppt|slide set 0]]
*[https://youtu.be/LB-Vtdt_S0g (video) week 1 - slide set 0 - part 1 of 2 - introduction to the course]
+
*[https://youtu.be/iuzen6sSwt8 (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 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]
*[https://youtu.be/cM2GymVxu-Y (video) week 1 - project description]
+
*[https://youtu.be/epbyB99hA60 (video) week 1 - project description]
 
||
 
||
 
|-
 
|-
 
|| week 2
 
|| week 2
|| sep 13, sep 17
+
|| sep 13 - sep 17
 
||
 
||
*[[assignment 1 handout]]
+
*[[Media:Assignment1.COMP345.2021.2.pdf|assignment 1 handout]]
 
*team lists due - sept 17
 
*team lists due - sept 17
 
||
 
||
Line 93: Line 93:
 
*[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 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 of 2- input/output]
 
*[https://www.youtube.com/watch?v=-jfSRPaOMIY (video) week 2 - slide set 3 - part 2 of 2- input/output]
*[(video) week 2 - assignment #1]
+
*[https://youtu.be/egx1HKxdF10 (video) week 2 - assignment #1]
 
||
 
||
 
*[[Media:COMP345.lab01.zip|lab1]]
 
*[[Media:COMP345.lab01.zip|lab1]]
Line 100: Line 100:
 
|-
 
|-
 
|| week 3
 
|| week 3
|| sep 20, sep 24
+
|| sep 20 - sep 24
 
||
 
||
 
||
 
||
Line 119: Line 119:
 
|-
 
|-
 
|| week 4
 
|| week 4
|| sep 27, oct 1
+
|| sep 27 - oct 1
 
||
 
||
 
||
 
||
Line 126: Line 126:
 
|-
 
|-
 
|| week 5
 
|| week 5
|| oct 4, oct 8
+
|| oct 4 - oct 8
 
||
 
||
*due date for assignment 1 (oct 8) <br> [marking sheet] <br> [lab demonstrations] <br>  
+
*due date for assignment 1 (oct 8) <br> [[Media:COMP345.assignment1.gradingSheet.paquet.2021.2.pdf|marking sheet]] <br> [https://docs.google.com/spreadsheets/d/1NoQZ15MnN0M5bp_pf7R4D26krCSnXkcRN8knUahD2fU/edit#gid=0 lab demonstrations] <br>  
 
||
 
||
 
*C/C++ arrays and dynamic arrays, containers
 
*C/C++ arrays and dynamic arrays, containers
Line 139: Line 139:
 
|-
 
|-
 
|| week 6
 
|| week 6
|| oct 11, oct 15
+
|| oct 11 - oct 15
 
||
 
||
*[[assignment 2 handout]]
+
*[[Media:Assignment2.COMP345.2021.2.pdf|assignment 2 handout]]
 
||
 
||
 
*MVC architecture
 
*MVC architecture
Line 148: Line 148:
 
*[[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]
+
*[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)]
 
|-
 
|-
 
|| week 7
 
|| week 7
|| oct 18, oct 22
+
|| oct 18 - oct 22
 
||
 
||
 
||
 
||
Line 171: Line 171:
 
|-
 
|-
 
|| week 8
 
|| week 8
|| oct 25, oct 29
+
|| oct 25 - oct 29
 +
||
 +
*midterm examination <br> (Sunday, October 31st, 12h00-13h30) <br> [[COMP345 midterm coverage - fall 2021|coverage]] <br>  [[Media:Grades.midterm.COMP345.SectionD.paquet.2020.2.pdf|midterm grade distribution - Section D]] <br> [[Media:Grades.midterm.COMP345.SectionN.paquet.2020.2.pdf|midterm grade distribution - Section N]]
 
||
 
||
*midterm examination (date/time TBD) <br> [coverage]
 
||
 
 
||
 
||
 
||
 
||
 
|-
 
|-
 
|| week 9
 
|| week 9
|| nov 1, nov 5
+
|| nov 1 - nov 5
 
||
 
||
 
||
 
||
Line 190: Line 190:
 
|-
 
|-
 
|| week 10
 
|| week 10
|| nov 8, nov 12
+
|| nov 8 - nov 12
 
||
 
||
*due date for assignment 2 (nov 12) <br> [marking sheet] <br> [lab demonstrations] <br>  
+
*due date for assignment 2 (nov 12) <br> [[Media:COMP345.assignment2.gradingSheet.paquet.2021.2.pdf|marking sheet]] <br> [https://docs.google.com/spreadsheets/d/1Oi1AqSwHTasPBetvW-2hKmujDhPIh5apDD758UoehMw/edit#gid=0 lab demonstrations] <br>  
 
||
 
||
 
*operator overloading
 
*operator overloading
Line 198: Line 198:
 
*[[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]
 
*[https://www.youtube.com/watch?v=_yBgQJdenmw (video) week 10 - slide set 9 - part 1 of 1 - operator overloading]
 +
*[[Media:COMP345.1.5.programstructure.ppt|supplementary lecture - header/cpp files + includes]]
 +
*[https://youtu.be/6JKM9PPVxaw (video) week 10 - supplementary lecture - header/cpp files + includes]
 +
*[[Media:RiskSplitTheCode.zip|code - supplementary lecture - header/cpp files + includes]]
 
||
 
||
 
*[[Media:COMP345.lab09.zip|lab9]]
 
*[[Media:COMP345.lab09.zip|lab9]]
 
|-
 
|-
 
|| week 11
 
|| week 11
|| nov 15, nov 19
+
|| nov 15 - nov 19
 
||
 
||
*[[assignment 3 handout]]
+
*[[Media:Assignment3.COMP345.2021.2.pdf|assignment 3 handout]]
 +
*final programming examination - practice run (nv 17th during labs) <br> see the moodle page for links to the examinations <br> Wed Nov 17th 17:45-19:35 (sections EFGKL) <br> Wed Nov 17th 20:30-22:20 (sections ABCHJ) <br> [[COMP345 Fall 2021 Final programming examination coverage|coverage]]
 
||
 
||
 
*exception handling
 
*exception handling
Line 211: Line 215:
 
*[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]
*[https://www.youtube.com/watch?v=FYCFANq0hws (video) week 11 - assignment #3]
+
*[https://youtu.be/6pRY5CvgTtQ (video) week 11 - assignment #3]
 
||
 
||
 
|-
 
|-
 
|| week 12
 
|| week 12
|| nov 22, nov 26
+
|| nov 22 - nov 26
 
||
 
||
*final programming test (nov 24 during labs) <br> Wed Nov 24th 17:45-19:35 <br> Wed Nov 24th 20:30-22:20
+
*final programming examination (nov 24 during labs) <br> see the moodle page for links to the examinations <br> Wed Nov 24th 17:45-19:35 (sections EFGKL) <br> Wed Nov 24th 20:30-22:20 (sections ABCHJ) <br> [[COMP345 Fall 2021 Final programming examination coverage|coverage]] <br>  [[Media:Grades.finalprogrammingexam.COMP345.SectionD.paquet.2020.2.pdf|final programming examination grade distribution - Section D]] <br> [[Media:Grades.finalprogrammingexam.COMP345.SectionN.paquet.2020.2.pdf|final programming examination grade distribution - Section N]]
 
||
 
||
 
*templates metaprogramming
 
*templates metaprogramming
Line 228: Line 232:
 
|| nov 29 - dec 3
 
|| nov 29 - dec 3
 
||
 
||
*due date for assignment 3 (dec 1) <br> [marking sheet] <br> [lab demonstrations] <br>  
+
*due date for assignment 3 (dec 3) <br> [[Media:COMP345.assignment3.gradingSheet.paquet.2021.2.pdf|marking sheet]] <br> [https://docs.google.com/spreadsheets/d/1pHOevantJruU22l4gbRzkq73xuZEuf1gC1Y4XdutWzE/edit#gid=0 lab demonstrations] <br>  
 
||
 
||
 
* Review
 
* Review
Line 239: Line 243:
 
|| dec 8 - dec 22
 
|| dec 8 - dec 22
 
||
 
||
*final written examination - online moodle examination - date/time TBD <br> [coverage]  
+
*final written examination - online moodle examination - dec 16, 14h00-17h00 (confirmed) <br> [[COMP345 Fall 2021 Final written examination coverage|coverage]]  
 
||
 
||
 
||
 
||
Line 247: Line 251:
 
==Course Material and Resources==
 
==Course Material and Resources==
  
*[[Media:Syllabus.COMP345.paquet.2020.2.pdf ‎|Course outline]]
+
*[[Media:Syllabus.COMP345.paquet.2021.2.pdf ‎|Course outline]]
 
*[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++"]]
 +
*[https://discord.gg/pDr6RcWW Discord Channel - ENCS CONCO UNIVERSITY MTL]
 +
*[https://discord.gg/dd3cjmuY Discord Channel - CONU GCS COMMUNITY]

Latest revision as of 17:47, 13 December 2021

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-937 in-person lecture discussions (Tuesdays 13:15-14:30)
moodle
Joey Paquet paquet@encs.concordia.ca
lecture N M-W---- 16:15-17:30 lecture videos (asynchronous)
synchronous zoom lecture discussions (Mondays 16:15-17:30)
MB-1.210 in-person lecture discussions (Wednesdays 16:15-17:30)
moodle
Joey Paquet paquet@encs.concordia.ca
lab A-X --W---- 20:30-22:20 zoom lab A-X Komal Panchal komal31p@gmail.com
lab B-X --W---- 20:30-22:20 H-907 Parsa Ghaderi parsaghaderi97@gmail.com
lab C-X --W---- 20:30-22:20 zoom lab C-X Ritika Garg gargritika2596@gmail.com
lab E-X --W---- 17:45-19:35 zoom lab E-X Jonathan Llewellyn inexistenz@gmail.com
lab F-X --W---- 17:45-19:35 H-907 Parsa Ghaderi parsaghaderi97@gmail.com
lab G-X --W---- 17:45-19:35 zoom lab G-X Peyman Derashfkavian peymankavian@gmail.com
lab H-X --W---- 20:30-22:20 zoom lab H-X Jonathan Llewellyn inexistenz@gmail.com
lab J-X --W---- 20:30-22:20 zoom lab J-X Peyman Derashfkavian peymankavian@gmail.com
lab K-X --W---- 17:45-19:35 zoom lab K-X Peyman Derashfkavian peymankavian@gmail.com
lab L-X --W---- 17:45-19:35 zoom lab L-X Komal Panchal komal31p@gmail.com
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 7 - sep 10
  • introduction to the course and project
  • introduction to C++
week 2 sep 13 - sep 17
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • streams
  • pointers
week 3 sep 20 - sep 24
  • structures, classes
  • constructors, destructors
  • const, inline, static
  • friends
  • inheritance
  • virtual inheritance
week 4 sep 27 - oct 1
week 5 oct 4 - oct 8
  • C/C++ arrays and dynamic arrays, containers
week 6 oct 11 - oct 15
  • MVC architecture
  • observer pattern
week 7 oct 18 - oct 22
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 8 oct 25 - oct 29
week 9 nov 1 - nov 5
  • design patterns in C++
week 10 nov 8 - nov 12
  • operator overloading
week 11 nov 15 - nov 19
  • assignment 3 handout
  • final programming examination - practice run (nv 17th during labs)
    see the moodle page for links to the examinations
    Wed Nov 17th 17:45-19:35 (sections EFGKL)
    Wed Nov 17th 20:30-22:20 (sections ABCHJ)
    coverage
  • exception handling
week 12 nov 22 - nov 26
  • templates metaprogramming
week 13 nov 29 - dec 3
  • Review
exam week dec 8 - dec 22
  • final written examination - online moodle examination - dec 16, 14h00-17h00 (confirmed)
    coverage

Course Material and Resources