COMP-202 - Introduction to Computing 1 (Fall, 2003)

Welcome
News
Syllabus
Calendar
Assignments
Office hours
Hints
Links
Resources

News

  • December 15: Solutions for assignment 6 have been posted in the Assignments section.
  • December 3: The final exam will take place Friday, December 19th at 14:00 at the GYM.
  • December 3: The schedule for the final-exam tutorials is as follows:
    TA Tutorial date Tutorial time Room
    Ying Thursday, December 4 10:00 - 11:00 Trottier, Breakout room
    Dayong Friday, December 5 11:00 - 12:00 Trottier, Breakout room
    Beibei Tuesday, December 9 11:00 - 12:00 Trottier, Breakout room
    Scott Tuesday, December 9 14:00 - 15:00 Trottier, Breakout room
    Emory Wednesday, December 10 14:00 - 15:00 Trottier, Breakout room
    Miriam Thursday, December 11 14:00 - 15:00 Trottier, Breakout room
    Mathieu Friday, December 12 14:00 - 15:00 Trottier, Breakout room
    Sokhom Wednesday, December 17 17:00 - 18:00 Trottier, Breakout room
  • December 3: Slides on queues and stacks have been posted on the Resources section.
  • December 1: Assignment 6 is due Saturday, December 6 (originally it said Wednesday, this was a typo.)
  • December 1: Slides on linked-lists have been posted on the Resources section.
  • December 1: Slides on I/O streams and dynamic data-structures have been posted on the Resources section.
  • November 27: Assignment 6 has been posted in the Assignments section.
  • November 26: Slides on exception propagation and I/O streams have been posted on the Resources section.
  • November 24: Slides on applets and exceptions have been posted on the Resources section.
  • November 24: More tutorials for anyone who needs to catch up have been scheduled:
    Name Tutorial date Tutorial time Room
    Miriam Tuesday, Nov 25 13:00 - 14:00 Trottier, Breakout room
    Sokhom Thursday, Nov 27 13:30 - 14:30 Trottier, Breakout room
    Scott Tuesday, Dec 2 14:00 - 15:00 Trottier, Breakout room
    Dayong Friday, Dec 5 10:30 - 11:30 Trottier, Breakout room
  • November 21: Slides on listeners, applets and graphics have been posted on the Resources section.
  • November 19: Slides on interfaces and abstract classes have been posted on the Resources section.
  • November 17: Solutions to assignment 4 have been posted on the Assignments section.
  • November 17: Slides on inheritance, polymorphism, casting and abstract classes have been posted on the Resources section.
  • November 14: Tutorials for students having difficulties, or who need to catch up have been programed. The schedule of the next tutorials is:
    Name Tutorial date Tutorial time Room
    Beibei Tuesday, Nov 18 11:00 - 12:00 Trottier, Breakout room
    Martin Wednesday, Nov 19 11:30 - 12:30 Trottier, TBA
    Miriam Tuesday, Nov 25 13:00 - 14:00 Trottier, Breakout room
  • November 14: Silides on inheritance and polymorphism have been posted on the Resources section.
  • November 13: Assignment 5 has been posted in the Assignments section.
  • November 12: Slides on inheritance have been posted in the Resources section.
  • November 10: Slides on array operations (binary search, multidimensional arrays, memoization) have been posted in the Resources section.
  • November 7: Slides on array operations (growing arrays, sorting) have been posted in the Resources section.
  • November 6: Slides on array operations (adding, deleting and finding objects in an array) have been posted in the Resources section.
  • November 3: Slides on arrays have been posted in the Resources section.
  • October 31: Slides on shallow vs. deep structural equality and shallow vs. deep cloning have been posted in the Resources section.
  • October 29: The solutions to the midterm, with detailed explanations can be found in the Resources section.
  • October 29: Some clarifications to assignment 4 can be found here.
  • October 29: Slides on aliases, shared references and pointer vs. structural equality can be found in the Resources section.
  • October 29: Slides on packages, protected, and nested classes can be found in the Resources section.
  • October 23: Solutions for assignment 3 have been posted in the Assignments section.
  • October 22: Assignment 4 has been posted in the Assignments section.
  • October 22: Slides with a brief general review have been posted in the Resources section.
  • October 22: Slides on the ``this'' reference, aggregation, and mutual references have been posted in the Resources section.
  • October 20: The midterm will take place Monday, October 27th, at 18:00 at LEA 132 (Leacock 132).
  • October 20: Slides on recursion and encapsulation have been added to the Resources section.
  • October 20: The final schedule for the midterm tutorials is as follows:
    TA Day Time Location
    Dayong Gu Monday, Oct 20 1:00 PM Trottier, room 3107
    Beibei Zou Tuesday, Oct 21 12:00 Trottier, room 3107
    Miriam Zia Tuesday, Oct 21 2:00 PM Trottier, room 3107
    David Allard Wednesday, Oct 22 1:30 PM Trottier, room 3107
    Scott McCloskey Wednesday, Oct 22 4:00 PM Trottier, room 3107
    Ying Deng Thursday, Oct 23 11:00 AM Trottier, room 3107
    Sokhom Pheng Thursday, Oct 23 4:00 PM Trottier, room 3107
    Mathieu Petitpas Friday, Oct 24 10:00 AM Trottier, room 3107
    Emory Merryman Friday, Oct 24 12:00 Trottier, room 3107
    Martin Courchesne Friday, Oct 24 2:00 PM Trottier, room 3107
  • October 17: The tentative schedule for the midterm tutorials is as follows:
    TA Day Time Location
    Dayong Gu Monday, Oct 20 1:00 PM Trottier, room 3107
    Beibei Zou Tuesday, Oct 21 12:00 Trottier, room 3107
    Miriam Zia Tuesday, Oct 21 2:00 PM Trottier, room 3107
    Scott McCloskey Wednesday, Oct 22 10:30 AM Trottier, room 3107
    David Allard Wednesday, Oct 22 1:30 PM Trottier, room 3107
    Ying Deng Thursday, Oct 23 11:00 AM Trottier, room 3107
    Sokhom Pheng Thursday, Oct 23 4:00 PM Trottier, room 3107
    Mathieu Petitpas Friday, Oct 24 10:00 AM Trottier, room 3107
    Emory Merryman Friday, Oct 24 12:00 Trottier, room 3107
    Martin Courchesne Trottier, room 3107
  • October 17: Slides on static methods, method overloading and recursion have been added to the Resources section.
  • October 15: Slides on static methods and variables have been added to the Resources section.
  • October 14: Solutions of assignment 2 have been posted in the assignments section.
  • October 10: Slides on method invocation and parameter passing have been posted in the Resources section.
  • October 9: Assignment 3 has been posted in the Assignments section.
  • October 9: Slides on objects and classes have been added to the Resources section.
  • October 1: Slides on nested loops and an example from Bioinformatics have been added to the Resources section.
  • September 30: Please note the following clarifications to assignment 2:

    • Problem 2 can be solved in a number of ways. There is one easy but long solution which requires many comparisons. There is also a simple, short, but not so easy solution which requires only five comparisons. The key to shorter solutions is to note that once you have made some comparisons you know the relative order of some of the numbers, so you can get rid of many superfluous comparisons.
    • In question 3, if there is more than one word which can be considered the longest, then print the first one. For example if the phrase is ``Once upon a time'', your program should print ``Once''.
    • In the glory question, the applet does not need to have a ``Quit'' button.
  • September 29: You can find out which TA marked (or is marking) your assignment 1 here.
  • September 25: Assignment 2 has been posted in the Assignments section. It is due on October 8th at 23:55.
  • September 19: Due to changes on the servers for the labs, the instructions for making a webpage public given in the Glory question of assignment 1 do not work properly. Please follow this link to get appropriate instructions. Note that you'll need to have access to a Unix terminal to do this. If you are using the lab machines, ask the consultant or the TAs about how to open a terminal and use SSH. If you are working from home, you'll need an SSH client (you can get one here.) Then in the SSH client you need to connect to one of our servers, such as mimi.cs.mcgill.ca or nova.cs.mcgill.ca, and then you can follow the instructions on how to make your webpage public here. This assumes that you have opened an account in the labs even if you are working from home.
  • September 18: Sections 1 (Ernesto's) and 2 (Joseph's) will move to the Trottier building (ENGTR) as of Wednesday, September 24th. Section 1 will go to ENGTR 1100 and section 2 to ENGTR 0100.
  • September 16: You'll find instructions on how to configure JCreator and the Keyboard class in the Resources section.
  • September 16: The final schedule for the tutorials is as follows:
    TA Day Time Location
    Emory Monday, Sep 15 2:00 PM Trottier, room 3120
    Sokhom Tuesday, Sep 16 10:00 AM Trottier, room 3120
    Mathieu Tuesday, Sep 16 2:00 PM Trottier, room 3120
    Miriam Wednesday, Sep 17 11:30 AM Trottier, room 3120
    Beibei Wednesday, Sep 17 2:30 PM Trottier, room 3120
    Ying Thursday, Sep 18 11:00 AM Trottier, room 3120
    Scott Thursday, Sep 18 2:00 PM Trottier, room 3120
    David Friday, Sep 19 9:00 AM Trottier, room 3120
  • September 15: The computer labs are located on the third floor of the Trottier building.
  • September 12: The schedule for the tutorials on JCreator/JDK/WebCT is as follows:
    TA Day Time Location
    Emory Monday, Sep 15 2:00 PM Trottier, room ???
    Sokhom Tuesday, Sep 16 10:00 AM Trottier, room ???
    Mathieu Tuesday, Sep 16 2:00 PM Trottier, room ???
    Beibei Wednesday, Sep 17 2:30 PM Trottier, room ???
    Miriam TBA TBA TBA
    Scott TBA TBA TBA
    Please keep in mind that this is not a complete list and is subject to change. Check out this website regularly for the final list.
  • September 11: Assignment 1 has been posted in the Assignments section. It is due on September 24th.
  • September 10: Section 2 (Joseph's) has been relocated to Leacock 232.
  • September 10: The JCreator/JDK/WebCT tutorials have been rescheduled for next week. Check out this website regularly for the final schedule.
  • September 9: Some notes on the installation of the JDK and JCreator can be found here.
  • September 9: The tentative schedule for the tutorials on JCreator and the JDK is as follows:
    TA Day Time Location
    Sokhom Thursday, Sep 11 1:30 PM TBA
    Emery Thursday, Sep 11 3:00 PM TBA
    Miriam Friday, Sep 12 11:00 AM TBA
    Scott Friday, Sep 12 1:00 PM TBA
    Mathieu Friday, Sep 12 2:30 PM TBA
    Please keep in mind that this is not a complete list and is subject to change. Check out this website regularly for the final list.
  • September 8: Section 2 (Joseph's) has moved to ENGMD 280 (Mcdonald Engineering.) Sections 1 and 3 remain unchanged.
  • September 3: Sections 1 and 2 have been temporarily relocated as follows:
    Section Instructor New location Dates
    Section 1 Ernesto SADB M-1 Sep 3 - Sep 5
    Section 1 Ernesto CDH 100 Sep 8
    Section 1 Ernesto SADB M-1 Sep 10 - Sep 19
    Section 2 Joseph ENGMC 13 Sep 3 - Sep 19
    Legend:
    Abbreviation Full name
    SADB Strathcona Anatomy and Dentistry Building
    CDH Chancellor Day Hall
    ENGMC McConnell Engineering Building
  • September 3: Lectures begin. Note: Sections 1 and 2 (Ernesto's and Joseph's) are scheduled to take place in the new Lorne Trottier building (ENGTR, located north of the Rutherford Physics Building). Since the building is still under construction it is possible that the first few classes be relocated. Please check regularly this webpage for any announcements in this regard.