COMP-202 - Introduction to Computing 1 (Winter, 2004)

Welcome
News
Syllabus
Calendar
Assignments
Office hours
Hints
Links
Resources

News

  • April 29: The final exam's grade and final grade have been posted on WebCT.
  • April 19: Mark's tutorial has been postponed again. He will give it on Wednesday 21st, from 4:00pm to 5:00pm.
  • April 16: A sample final with solutions has been posted in the Resources section.
  • April 15: Some last minute changes to the tutorial's schedule:

    • Mark's tutorial scheduled for today at 3pm has moved to monday 19th, at 11am.
    • Sherif will give a tutorial in place of Miriam today at 4:00pm.
    So the revised schedule is as follows:
    Name Tutorial date Tutorial time Room
    Christian Roy Thursday, April 15 11:00am - 12:00 Trottier, Breakout room
    Sherif Shaker Thursday, April 15 4:00pm - 5:00pm Trottier, Breakout room
    Weibin Liang Friday, April 16 4:00pm - 5:00pm Trottier, Breakout room
    Mark Mouadeb Monday, April 19 11:00am - 12:00 Trottier, Breakout room
    Ying Deng Monday, April 19 3:00pm - 4:00pm Trottier, Breakout room
    Jun Wang Tuesday, April 20 2:00pm - 3:00pm Trottier, Breakout room
    Emory Merryman Wednesday, April 21 9:00am - 10:00am Trottier, Breakout room
  • April 14: Solutions to Assignment 6 will be posted on saturday, after the late-submission deadline has passed.
  • April 13: The schedule for the pre-final tutorials is as follows:
    Name Tutorial date Tutorial time Room
    David Allard Wednesday, April 14 10:00am - 11:00am Trottier, Breakout room
    Christian Roy Thursday, April 15 11:00am - 12:00 Trottier, Breakout room
    Mark Mouadeb Thursday, April 15 3:00pm - 4:00pm Trottier, Breakout room
    Weibin Liang Friday, April 16 4:00pm - 5:00pm Trottier, Breakout room
    Ying Deng Monday, April 19 3:00pm - 4:00pm Trottier, Breakout room
    Jun Wang Tuesday, April 20 2:00pm - 3:00pm Trottier, Breakout room
    Emory Merryman Wednesday, April 21 9:00am - 10:00am Trottier, Breakout room
    Miriam Zia TBA TBA Trottier, Breakout room
  • April 6: The final exam will take place on Thursday, April 22nd at 9:00am at the Gym. There will be review tutorials next week. The schedule for the tutorials will be posted here later this week.
  • April 6: Note on the last day of lectures: Friday, April 9th and Monday, April 12th are holidays so Sections 1 and 3 will not have lectures on those days. However both sections 1 and 3 will have the last lecture on Tuesday, April 13th, at the same time and place.
  • April 6: Solutions to assignment 5 have been posted in the Assignments section.
  • March 31: Assignment 6 has been posted in the Assignments section.
  • March 26: Solutions to assignment 4 have been posted in the Assignments section.
  • March 16: Assignment 5 has been posted in the Assignments section.
  • March 16: Assignment 4 clarification:

    • In question 1, please submit all the files, including the driver class or test class from part b).

      The instructions do not mention this file, but it should be submitted too. So for this question there must be 4 files: CoinCounter.java, Dispenser.java, Machine.java and MachineTester.java.

      We apologise for the late update.

  • March 8: Assignment 4 clarification:

    • In question 2, the numbers on top of the table 7, 4, 2, 1, 0 can be used to convert the barcode of a digit to its decimal form: for example, the barcode for 8 is 10010, and 8=1*7+0*4+0*2+1*1+0*0. The only exception is the barcode for 0.
  • March 2: Assignment 4 has been posted in the Assignments section.
  • February 29: Solutions to assignment 3 have been posted in the Assignments section.
  • February 20: A sample midterm has been posted in the Resources section.
  • February 16: Assignment 3's deadline has been extended to Thursday, February 26th at 23:55 (late submission until Saturday 28th.)
  • February 16: Assignment 3 clarifications:

    • In question 1, one of the sample runs is incorrect. Where it shows:
                        Enter a sentence:  He who learns   , ,  but does not think    .,.!. , is lost!
                        The cleaned-up sentence is: He who learns; but does not think... is lost.
              
                
      it should be
                        Enter a sentence:  He who learns   , ,  but does not think    . . .  is lost!
                        The cleaned-up sentence is: He who learns; but does not think... is lost.
              
                
    • In question 2, the hit points of an amalgamated monster are 90 % of the sum of the hit points of the top and bottom monster, only when the amalgamated monster is created. If the amalgamated monster is damaged, there is no need to keep the same relationship between hitpoints.
  • February 13: Premidterm review tutorials have been scheduled as follows:
    TA name Date Time Room
    David Allard Fri 20 14:00 - 15:00 ENGTR, Breakout room
    Ying Deng Mon 16 15:00 - 16:00 ENGTR, Breakout room
    Emory Merryman Wed 18 13:00 - 14:00 ENGTR, Breakout room
    Mark Mouadeb Tue 17 14:00 - 15:00 ENGTR, Breakout room
    Christian Roy Tue 17 12:00 - 13:00 ENGTR, Breakout room
    Sherif Shaker Tue 17 15:00 - 16:00 ENGTR, Breakout room
    Jun Wang Thu 19 14:00 - 15:00 ENGTR, Breakout room
    Miriam Zia Fri 20 15:00 - 16:00 ENGTR, Breakout room
    Weibin Liang Fri 20 16:00 - 17:00 ENGTR, Breakout room
  • February 13: The midterm will take place Monday, March 1st from 6:00pm to 8:00pm at:
    Section Room
    1 MAASS 112
    2 ENGTR 0100
    3 MAASS 10
  • February 12: Solutions to assignments 1 and 2 have been posted in the Assignments section.
  • February 9: Assignment 3 has been posted in the Assignments section.
  • February 2: For Section 1 (Ernesto) only: wednesday's lecture (feb 4) will be held at ENGMD 280.
  • January 30: Some clarifications about assignment 2.

    • In question 2, the condition that the first name and the last name cannot be blank means that they must contain characters other than the space character. (The Keyboard.readString() method will not allow you to type an ``empty string'', but it allows you to type spaces.)
    • In the glory question, the applet should not use an HTML ``form'': the information must be entered using text-boxes. Nonetheless, you must submit an HTML file which embeds the applet.
  • January 26: Assignment 2 has been posted in the Assignments section.
  • January 23: For assignment 1, submit only the .java and .class files. Do not submit project files. Do not use any compression tools to submit your files either. Submit them in the box entitled ``Assignment 1 box'', and the answer to the glory question in the ``Assignment 1 glory'' box in WebCT.
  • January 23: If you have problems using the Keyboard class, you can try doing the following:

    1. Download the file Keyboard.java here.
    2. Save the file in the same directory (folder) as your program.
    3. Compile the file.
    4. In your program, remove or comment the import cs1.Keyboard; declaration.
    5. Recompile your program.
  • January 13: The schedule for the editing/compiling/running/submitting tutorials is as follows: All tutorials will take place in one of the generic Unix labs at the 3rd floor of the Trottier building, Room 3090, Lab 9 (next to the consultant's room). Please note that these are not the same as the Unix seminars. It is recommendable to attend a Unix seminar before one of these tutorials if you do not have experience with Unix/Linux.
    Name Date/Time
    David Allard Friday 16, 9:00 - 10:00
    Ying Deng Monday 19, 15:00 - 16:00
    Emory Merryman Monday 19, 10:00 - 11:00
    Mark Mouadeb Thursday 15, 14:00 - 15:00
    Christian Roy Thursday 15, 11:00 - 12:00
    Sherif Shaker Friday 16, 13:00 - 14:00
    Jun Wang Tuesday 20, 14:00 - 15:00
    Miriam Zia Friday 16, 12:00 - 13:00
    Weibin Liang Tuesday 13, 15:00-16:00
  • January 12: Assignment 1 has been posted in the Assignments section.
  • January 9: Lecture notes for the first four lectures (section 1) have been posted in the Resources section.
  • January 8: The schedule for the Unix tutorials next week will be posted in the following address: http://www.cs.mcgill.ca/socsinfo/seminars/.
  • January 5: Lectures begin.