CSC120H/A20H: Announcements

February 7

Office Hours are cancelled on Monday Feb. 8th.

February 2, 2010

A number of you have been asking for the solutions to A1. I have posted the solutions to parts 2 and 3 on the intranet.

January 27, 2010

I'm sorry I was unable to be on campus on Monday due to some serious personal matters. I hope that those who have questions can make it to my office hours on Wed. or alternatively get them answered in your lab today.

Important Term Test Update:Due to my absense on Monday Jan 25, I will be rescheduling the term test. Instead of being in the lecture on Monday, it will now be held your lab on Wednesday Feb. 3rd. You must attend the lab section you registered for. The week 5 lab is now not optional.

This will give you the opportunity to ask questions in Monday's lecture about material you are unsure of. The details for term test 1 are as follows:

January 20, 2010

Note the sample iteration file has been updated to reflect the changes to the assignment made below.

Assignment 1 Update. Please see the handout and the roi(float, float) function. We have decided to give the code to you as the formula was a bit tricky to derive.

For the open_to_close function, the example value given should be 1.25 not 1.2.

For the last portion of the assignment, you are only required to consider the case where the ROIs indicate losses or at least one ROI shows a gain. You do not need to consider the other possible cases such as if both are unchanged or no stock shows a gain.

January 19, 2010

Assignment 1 Update. The definition of Return on Investment (ROI) was wrong. Please see the updated handout for the correct definition. It should read

(closing price minus opening price) divided by opening price

January 12, 2010

ROOM CHANGE. Unfortunately, we have been moved to SW319.