Object Oriented Programming 2008

Announcments (newer first):

  • NEW!23/8 - You can submit HW4 until 10/9. Submission is through the lecturer's email.

  • NEW!22/8 - HW3 grades are corrected

  • NEW!20/8 - HW3 grades are published. For appealing, contact the TA by mail. Every day late result in two points fine.

  • NEW!18/8 - An updated version of HW4 is published, please redownload.

  • NEW!29/7 - HW3 FAQ page has been updated.

  • NEW!29/7 - The 4th homework assignment is updated, please download and read the new version. Also, a main file for the 4th assignment is published.

  • NEW!26/7 - You can submit the 3rd assignment until 10/8. If you alreaddy upload your work, you can resubmit.

  • NEW!26/7 - Moed A test + solutions can be viewed here

  • 19/7 - There was some error in the checking of HW2. After the error was fixed, some of you now have higher grades.

  • 14/7 - main.cpp file for HW3 was updated - please re-download.

  • 14/7 - HW3 submission is posponed until 31/7

  • 14/7 - Moed A test for ETGAR group + solutions can be viewed here

  • 12/7 - HW2 grades are published. The grade was calculated like this: grade + bonus - (days late * 2)
    For appeals, please email Moran with detailed explainations about the problem (include a word document if needed).
    The main that we used for checking your works is also published.

  • 12/7 - HW3 main file is published. Please notice the use of cout<<Client::Instance()
    This means you have to implement operator<< for class Client.
    If you already submitted for some reason, you can add this operator and re-submit. Remeber that you code MUST compile with the provided main file in order to be graded.

  • 30/6 -HW4 HW3 submission is postponed until 19/7.

  • 29/6 - The only material that will be allowed in the exam is the slides from the lectures and recitations.

  • 29/6 - The questions that will be solved in the rehersal lecture are publish in the lectures page.

  • 28/6 - Due to last minute considerations, we are unable to hold the recitation on 1/7. There will only be a review lecture at 16:00.

  • 23/6 - HW4 is published. It is mandatory only for students from MIS. Submissions until 31.8

  • 19/6 - In hw3, you can add the following public method:
    Attachable::GetId()

  • 17/6 - We have added a FAQ page for homework 3 in the homework page.

  • 17/6 - The recitation on Monday, 22/6 is cancelled. The recitation will be held on Wednesday, 1/7 at 14:00-16:00 (before the rehersal lecture) in room 570 in education building.

  • 16/6 - There is an updated version of HW3. The class ObjectIdGenerator was cancelled, and instead the id is a member of Attachable.

  • 16/6 - A review lecture will be given on Wednesday, 1/7, 16:00-19:00

  • 15/6 - Not everything you need to do in the 3rd homework is defined in the instructions. You will have to think how to overcome some of the problems. We will make a FAQ page for homework 3, where we will answer questions from you. The FAQ will be updated frequently, so make sure you visit it regularly.

  • 11/6 - The 3rd homework assignment is published and is due for 5/6 5/7. The main.cpp will be published soon.

  • 11/6 - Etgar student only can submit HW2 until 18/6. If you already submitted, you can re-submit. Ignore the error message when re-submitting.

  • 9/6/09 - Java lectures are mandatory for CS/MIS students.

  • 1/6/09 - the recitation on Monday, 1/6 is cancelled.

  • 27/5/09 - on your homework you MAY NOT add new methods to the public part of your classes. You may only add to the private or protected parts as needed.

  • 25/5/09 - HW2 submission is postponed until 11/6 for everybody.

  • 23/5/09 - Another update on HW2: The functions Front(),Back(),PopFront(), PopBack() should also throw OutOfBoundsException if the list is empty.

  • 23/5/09 - An update about homework 2: PLEASE READ THIS CHANGE: You NO LONGER HAVE to implement the non-const versions of DL_List. This includes Front, Back and At. You still have to implement the const versions.
    This is done in order to give you the next assumption: The items in the list are all constants and cannot be changed at any time. This allows you to make the data type of dl_list const-reference which will allow you to use polymorphism on the data.

  • 23/5/09 - The main.cpp file for HW 2 is published in the homework section.

  • 20/2/09 - In order to decalre a friend function inside a class template, you need to put the friend declaration inside another template, with a different type name like this:


    template <class T>
    class DL_List{

    /// All member declarations

    template <class P>
    friend ostream& operator<<(ostream& os, const DL_LIST<P>& item);

    };
  • 20/5/09 - A note about the Fornt() and Back() functions fo DL_List: If the list is empty, you should throw an OutOfBounds exception.

  • 20/5/09 - Added the main.cpp file used for checking hw1 in the homework page.

  • 14/5/09 - Second homework assignment is published. Submission date is 31.5. A main.cpp file will be posted soon.

  • 14/5/09 - First Homework grades are publish. Check the comments for specific problems. Come to TA's reception hour for appeals.

  • 10/5/09 - An article about polymorphic inheritance is posted on the Lectures page (under the lecture about inheritance) and it is a recommended read.

  • 1/5/09 - Due to independence day holiday, the Wednesday group will have a complementry recitation on Wednesday, 6/5, 14:00-16:00, in MADREGA 1001. This group will hear rec' 6 at 10:00 and rec' 7 at 14:00.

  • 1/5/09 - ETGAR's lecture and recitation will switch this week. Lecture will be 15:00-17:00. Recitation will be 19:00 - 21:00

  • 19/4/09 - There was a problem in the main file, please re-download it.

  • 18/4/09 - You can assume that a valid year is always between 1/1/1900 and 31/12/2100.

  • 18/4/09 - Everyone can submit their homework until 30/4/09

  • 12/4/09 - In order to get an input from the user and know whether he just pressed ENTER, use the following code:

    string tmp;
    getline(cin,tmp);

  • 7/4/09 - Just a reminder - the homework is to be done in pairs. If you can't find a partner, send an email to Moran.

  • 5/4/09 - There's a correction to the homework: When either of the parameters to the Date constructor is invalid, initialize the whole date object to today's date. For instance, Date(33,2,2006) will be initialized to 5/4/09 (today's date).

  • 4/4/09 - The first homework assignment is published. Make sure you read the general submission instructions first. The assignment is due for April 23rd.

  • 4/4/09 - The exercise for the lab is posted on the Lectures page.

  • 2/4/09 - The last announcement was of course an April fools day joke.
    The real assignment will be published on Sunday.

  • 1/4/09 - The homework assignment will be posted on Sunday.
    Your first assignment will not be done in C++, but rather, on a similar language called INTERCAL. The syntax is a bit different but the concepts are identical. This will give you a good start with OOP design.
    Before the assignment is published, you are encouraged to read this brief overview of the language and its syntax. Pay special attention to the examples such as the ones in sections 2.1 and 6.3. Good Luck!

  • 1/4/09 - The lecture on Sunday will take place in the computer lab in room 2007 in the MADREGA building. Etgar students will meet at the computer lab in Jacobs 209.

  • 24/3/2009 - The complementry recitation on Friday will take place in room 611 in the main building at 08:30. DON'T FORGET TO SYNC YOUR WATCHES TO DAY LIGHT SAVING.

  • 22/3/2009 - The Recitations this week are cancelled (on Monday 23.3 and Wednesday 25.3). A complementry recitation for both groups will be held on Friday 27.3 on 08:30. We will announce the exact room in the nexy few days.

  • 12/3/2009 - Lecture 1 notes has been updated. Lecture 2 notes and examples are posted.

  • 25/2/2009 - Welcome to the course Website !

Object Oriented Programming 2008