COMP102 Computer Programming
Introduction to Java Programming
- Test 1: Wed 25th August (Phys L2) Chapter 5 and 6 Methods and Arrays.
- Test 2: Wed 29th September (Phys L2) Chapter 7 and 8 Objects and Strings.
- Test 3: Wed 20th October (Phys L2) Chapter 20 Recursion.
- MakeUp: Tues 26th October (Computer Labs) Chapters 5, 6, 7, 8 and 20.
- Laing slides are available in the lab from the CS1 file server
- javadoc slides
- a revision lecture will be offerd every week, Friday (12h20) in F47
Java prac solutions:
- Java Reference Sheet
- Java String API
- java test 1, 2009, with model answers
- java test 3, 2009, with model answers
- java test 1, 2010, with model answers
- java test 3, 2010, with model answers
- java exam, 2009, with model answers
- java exam, 2010, with model answers
- Solution to nimGame
- Solution to lightsOut
Computers and Computing
- [Dec 12th] We are hoping to return your Assignment 5 after the exam, so be sure to pick yours up before you leave the exam room. Note also that all the solutions to assignements 1-4 and the midterm are posted below.
- [Dec 5th]Please note the special exam office hours: My office hours are cancelled this Thursday and Hiba's office hours are cancelled this Friday. On Monday of next week, Hiba will hold office hours from 2-3, on Tuesday I will hold office hours from 12-1, on Wednesday Albert will hold his office hour from 1-2 and then I will hold extra office hours 3-5 on Wednesday, all at the usual locations. Good luck on the exam! If I don't see you during office hours, happy holidays and thanks for all the hard work!
- [Nov 14th] Please make sure to evaluate our course on-line starting this Thursday, November 16th by following links from Minerva. This is very important as data from student evaluations are used for merit and renewal decisions, as well as for identifying situations where a course or instructor needs help. I will also find any comments you have extremely valuable in helping me learn about teaching. All surveys are anonymous and results are not released to me until after the final grades have been submitted. You have until December 6th to complete the evaluation.
- [Oct 31st] Quote of the day:
It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self-critical? -- Alan Perlis, Epigrams in Programming :)
- [Oct 16th] The solutions for the midterm have been posted. The average mark was 76%, which is very good. The midterms as well as homework 2 will be returned to you on Tuesday in class.
- [Oct 6th] The solutions for homework 2 have been posted. Also, a revised version of the solutions to homework 1 is available. Finally, Happy Thanksgiving and good luck with studying. Remember that we agreed last class that my Tuesday office hours will be 11:00-12:30. The university scheduled lectures normally held next Monday on Tuesday, so our Tuesday class next week is cancelled.
- [Oct 3rd] Please note that a revised version of the lecture slides for the Internet lecture has been posted. We will finish discussing the last slide on Thursday. Thursday is Midterm Review, so bring all your questions to class and share.
- [Oct 2nd] The location of our Teaching Assistant Hiba Yamani's office hours is now McConnell Engineering, room 110A.
- [Sept 20th] Due to popular demand, the lecture slides are now available before the lecture. Please don't read ahead during class because that will defeat the point of some of the discussions I plan to have. For this reason, I don't recommend that you print the slides before class, but now this option is available.
- [Sept 20th] The office hours of our Teaching Assistant Albert will be held in McConnell Engineering, room 322, not 321.
- [Sept 19th]If you cannot open the lecture slides, the assignment or the course outline, it might be that your computer doesn't have Adobe Acrobat Reader installed (to read .pdf files). Here is a link to the Adobe website where you can download this software. From 'Readers', choose 'Adobe Reader' and then 'Windows' if you are using Windows. Select 'Full Download'. Follow the installation steps.
- [Sept 13th] Please note that the Teaching Assistants for this course have been assigned. Albert will not be holding his office hour today, but Hiba will hold her office hour on Friday. In the coming weeks, their office hours will be as stated here, unless something changes, in which case I will let you know. Also, the tentative schedule has been posted below. New feature: 4 PowerPoint slides per page for your paper-efficient printing needs coming as an alternative.
- [Sept 12th] Oops!!! I realize now that you have seen today's material already last Thursday when you were supposed to be learning about the history of computation. We will see the history of computation next class (Sept 14th) when we look at hardware. Hopefully the review didn't hurt. Sorry about that.
School of Computer Science
- Svetlana Stolpner
Office Hours: Tue 11:30-12:30 and Thu 11:30-12:30, or by appointment.
Location: McConnell Engineering, 408. As you exit the elevator on the 4th floor, go towards the big triangular post and then go into the left corridor and then into the left door just past the stairwell. You should find it easily. Looking forward to your visits!
- Albert Bachand
abacha AT cs DOT mcgill DOT ca
Office Hours: Wednesday 1 - 2 pm
Location: McConnell Engineering, 322
- Hiba Yamani
hiba DOT yamani AT mcgill DOT ca
Office Hours: Friday 2 - 3 pm
Location: McConnell Engineering, 110A