Difference between revisions of "COMP345 - fall 2015"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Course Schedule and Contacts)
(Lecture Schedule)
 
(19 intermediate revisions by one user not shown)
Line 18: Line 18:
 
! {{tableHeaderCell}} | instructor
 
! {{tableHeaderCell}} | instructor
 
! {{tableHeaderCell}} | e-mail address
 
! {{tableHeaderCell}} | e-mail address
! {{tableHeaderCell}} | web site
+
! {{tableHeaderCell}} | web
 
|-
 
|-
 
|| lecture D          || <tt>-T-J---</tt> || <tt>13:15-14:30</tt> || <tt>H-535</tt>        || Paquet, Joey                  || paquet@encs.concordia.ca  ||
 
|| lecture D          || <tt>-T-J---</tt> || <tt>13:15-14:30</tt> || <tt>H-535</tt>        || Paquet, Joey                  || paquet@encs.concordia.ca  ||
Line 28: Line 28:
 
|| office hours D    || <tt>---—F--</tt> || <tt>10:00-12:00</tt> || <tt>EV-3-221</tt>    || Paquet, Joey                  ||                            ||
 
|| office hours D    || <tt>---—F--</tt> || <tt>10:00-12:00</tt> || <tt>EV-3-221</tt>    || Paquet, Joey                  ||                            ||
 
|-   
 
|-   
|| lecture N          || <tt>M-W----</tt> || <tt>16:15-17:30</tt> || <tt>H-620</tt>        || Sadri, Javad                  ||  j_sadri@encs.concordia.ca || [http://users.encs.concordia.ca/~c345_2/|web page]
+
|| lecture N          || <tt>M-W----</tt> || <tt>16:15-17:30</tt> || <tt>H-620</tt>        || Sadri, Javad                  ||  j_sadri@encs.concordia.ca ||  
 
|-
 
|-
 
|| lab NI            || <tt>--W----</tt> || <tt>17:45-19:35</tt> || <tt>H-967</tt>        || Palani, Dharani Kumar        ||  d_palan@encs.concordia.ca ||
 
|| lab NI            || <tt>--W----</tt> || <tt>17:45-19:35</tt> || <tt>H-967</tt>        || Palani, Dharani Kumar        ||  d_palan@encs.concordia.ca ||
 
|-
 
|-
|| lab NJ            || <tt>--W----</tt> || <tt>17:45-19:35</tt> || <tt>H-917</tt>        || Rabah, Sleiman                ||  rsleiman2@gmail.com      ||
+
|| lab NJ            || <tt>--W----</tt> || <tt>17:45-19:35</tt> || <tt>H-917</tt>        || Rabah, Sleiman                ||  s_rabah@encs.concordia.ca ||
 
|-
 
|-
 
|| office hours N    || <tt>M-W----</tt> || <tt>15:00-16:00</tt> || <tt>EV-3-233</tt>    || Sadri, Javad                  ||                            ||  
 
|| office hours N    || <tt>M-W----</tt> || <tt>15:00-16:00</tt> || <tt>EV-3-233</tt>    || Sadri, Javad                  ||                            ||  
Line 43: Line 43:
 
! {{tableHeaderCell}} | date
 
! {{tableHeaderCell}} | date
 
! {{tableHeaderCell}} | event
 
! {{tableHeaderCell}} | event
! {{tableHeaderCell}} | lecture topics
+
! {{tableHeaderCell}} | topics
! {{tableHeaderCell}} | material
+
! {{tableHeaderCell}} | lecture material
 +
! {{tableHeaderCell}} | laboratory material
 
|-
 
|-
 
|| week 1
 
|| week 1
Line 55: Line 56:
 
||
 
||
 
*[[Media:COMP345.0.introduction.ppt|Slide set 0]]
 
*[[Media:COMP345.0.introduction.ppt|Slide set 0]]
 +
||
 
|-
 
|-
 
|| week 2
 
|| week 2
Line 70: Line 72:
 
*[[Media:COMP345.2.datatypes.ppt|Slide set 2]]
 
*[[Media:COMP345.2.datatypes.ppt|Slide set 2]]
 
*[[Media:COMP345.3.inputoutput.ppt|Slide set 3]]
 
*[[Media:COMP345.3.inputoutput.ppt|Slide set 3]]
 +
||
 +
*[[Media:COMP345CodeSlideSet1.zip|Code for slide set 1]]
 +
*[[Media:MFCSerializationDemo.zip|MFC serialization]]
 
|-
 
|-
 
|| week 3
 
|| week 3
Line 82: Line 87:
 
||
 
||
 
*[[Media:COMP345.4.classes.ppt|Slide set 4]]
 
*[[Media:COMP345.4.classes.ppt|Slide set 4]]
 +
||
 +
*[[Media:COMP345CodeSlideSet4.zip|Code for slide set 4]]
 
|-
 
|-
 
|| week 4
 
|| week 4
Line 87: Line 94:
 
||
 
||
 
*[[Media:Assignment1.COMP345.2015.2.pdf |individual programming assignment #1 handout]]
 
*[[Media:Assignment1.COMP345.2015.2.pdf |individual programming assignment #1 handout]]
 +
||
 
||
 
||
 
||
 
||
Line 97: Line 105:
 
||
 
||
 
*[[Media:COMP345.5.arrays.ppt|Slide set 5]]
 
*[[Media:COMP345.5.arrays.ppt|Slide set 5]]
 +
||
 
|-
 
|-
 
|| week 6
 
|| week 6
Line 106: Line 115:
 
||
 
||
 
*[[Media:COMP345.6.MVC.ppt |Slide set 6]]
 
*[[Media:COMP345.6.MVC.ppt |Slide set 6]]
 +
||
 +
*[[Media:ClockObserver.zip|Observer pattern]]
 
|-
 
|-
 
|| week 7
 
|| week 7
 
|| oct 19 - oct 23
 
|| oct 19 - oct 23
 
||
 
||
*[oct 20-21] midterm examination  
+
*[oct 21-22] midterm examination  
 
*[[Media:Assignment2.COMP345.2015.2.pdf|individual programming assignment #2 handout]]
 
*[[Media:Assignment2.COMP345.2015.2.pdf|individual programming assignment #2 handout]]
 
*[[Media:Gradingintermediateproject.COMP345.paquet.2015.2.pdf|project build #1 grading sheet handout]]
 
*[[Media:Gradingintermediateproject.COMP345.paquet.2015.2.pdf|project build #1 grading sheet handout]]
*[oct 23] individual programming assignment #1 due
+
*[oct 29] individual programming assignment #1 due
 
||
 
||
 
||
 
||
 +
||
 
|-
 
|-
 
|| week 8
 
|| week 8
Line 130: Line 142:
 
||
 
||
 
*[[Media:COMP345.7.polymorphism.ppt |Slide set 7]]
 
*[[Media:COMP345.7.polymorphism.ppt |Slide set 7]]
 +
||
 +
*[[Media:AbstractGeometricObject.zip|Abstract classes]]
 +
*[[Media:Polymorphism.zip|Polymorphism]]
 +
*[[Media:VirtualInheritance.zip|Virtual Inheritance]]
 +
*[[Media:Private Inheritance.zip|Private Inheritance]]
 
|-
 
|-
 
|| week 9
 
|| week 9
Line 135: Line 152:
 
||
 
||
 
*[[Media:Assignment3.COMP345.2015.2.pdf|individual programming assignment #3 handout]]
 
*[[Media:Assignment3.COMP345.2015.2.pdf|individual programming assignment #3 handout]]
*[nov 6] individual programming assignment #2 due
+
*[nov 8] individual programming assignment #2 due
 
||
 
||
 
*design patterns in C++
 
*design patterns in C++
 
||
 
||
 
*[[Media:COMP345.8.patterns.ppt|Slide set 8]]
 
*[[Media:COMP345.8.patterns.ppt|Slide set 8]]
 +
||
 +
*[[Media:COMP345CodeSlideSet8.zip|Code for slide set 8]]
 
|-
 
|-
 
|| week 10
 
|| week 10
Line 145: Line 164:
 
||
 
||
 
*[nov 10-13] [[intermediate project delivery COMP345 Fall 2015|intermediate project delivery due]]  
 
*[nov 10-13] [[intermediate project delivery COMP345 Fall 2015|intermediate project delivery due]]  
 +
* [[Media:PeerEvaluationReport-1.COMP345.2015.2.docx|peer evaluation sheet]]
 
||
 
||
 
*operator overloading
 
*operator overloading
 
||
 
||
 
*[[Media:COMP345.9.operators.ppt |Slide set 9]]
 
*[[Media:COMP345.9.operators.ppt |Slide set 9]]
 +
||
 +
*[[Media:Operators.zip|Operator Overloading]]
 
|-
 
|-
 
|| week 11
 
|| week 11
Line 158: Line 180:
 
||
 
||
 
*[[Media:COMP345.10.exceptions.ppt|Slide set 10]]
 
*[[Media:COMP345.10.exceptions.ppt|Slide set 10]]
 +
||
 +
*[[Media:Exceptions.zip|Exception Handling]]
 
|-
 
|-
 
|| week 12
 
|| week 12
Line 167: Line 191:
 
||
 
||
 
*[[Media:COMP345.11.templates.ppt|Slide set 11]]
 
*[[Media:COMP345.11.templates.ppt|Slide set 11]]
 +
||
 +
*[[Media:Templates.zip|Templates]]
 
|-
 
|-
 
|| week 13
 
|| week 13
Line 173: Line 199:
 
*[dec 1-4][[final project delivery COMP345 fall 2015| final project delivery due]]
 
*[dec 1-4][[final project delivery COMP345 fall 2015| final project delivery due]]
 
||  
 
||  
 +
||
 
||
 
||
 
|-
 
|-
Line 178: Line 205:
 
|| dec 9 - dec 22
 
|| dec 9 - dec 22
 
||
 
||
*final examination : TBA
+
*final examination : Wed Dec 9th 2015 14h-17h H407/H423
 +
||
 
||
 
||
 
||
 
||
Line 191: Line 219:
 
*[[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++"]]
 
===Code used in the lecture slides===
 
===Code used in the lecture slides===
 +
*[[Media:COMP345CodeSlideSet1.zip|Code from slide set 1]]
 
*[[Media:MFCSerializationDemo.zip|MFC serialization]]
 
*[[Media:MFCSerializationDemo.zip|MFC serialization]]
 
*[[Media:AbstractGeometricObject.zip|Abstract classes]]
 
*[[Media:AbstractGeometricObject.zip|Abstract classes]]

Latest revision as of 11:57, 17 November 2015

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 web
lecture D -T-J--- 13:15-14:30 H-535 Paquet, Joey paquet@encs.concordia.ca
lab DI --W---- 20:30-22:20 H-917 Patel, Parth Pareshkumar par_pat@encs.concordia.ca
lab DJ --W---- 20:30-22:20 H-831 Laleh, Touraj t_laleh@encs.concordia.ca
office hours D ---—F-- 10:00-12:00 EV-3-221 Paquet, Joey
lecture N M-W---- 16:15-17:30 H-620 Sadri, Javad j_sadri@encs.concordia.ca
lab NI --W---- 17:45-19:35 H-967 Palani, Dharani Kumar d_palan@encs.concordia.ca
lab NJ --W---- 17:45-19:35 H-917 Rabah, Sleiman s_rabah@encs.concordia.ca
office hours N M-W---- 15:00-16:00 EV-3-233 Sadri, Javad

Lecture Schedule

wk date event topics lecture material laboratory material
week 1 sep 7 - sep 11
  • introduction to the course and project
  • introduction to C++
week 2 sep 14 - sep 18
  • [sep 18] group formation deadline
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • streams
  • pointers
week 3 sep 21 - sep 25
  • structures, classes
  • inheritance
  • constructors, destructors
  • const, inline, static
  • friends
week 4 sep 28 - oct 2
week 5 oct 5 - oct 9
  • arrays, dynamic arrays
week 6 oct 12 - oct 16
  • MVC architecture
  • observer pattern
week 7 oct 19 - oct 23
week 8 oct 26 - oct 30
  • [nov 1] Deadline for withdrawal
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 9 nov 2 - nov 6
  • design patterns in C++
week 10 nov 9 - nov 13
  • operator overloading
week 11 nov 16 - nov 20
  • exception handling
week 12 nov 23 - nov 27
  • [nov 27] individual programming assignment #3 due
  • templates metaprogramming
week 13 nov 30 - dec 4
exam week dec 9 - dec 22
  • final examination : Wed Dec 9th 2015 14h-17h H407/H423

Course Material and Resources

Code used in the lecture slides

Other Material