Sunday, January 4, 2009

Summative Level 4 Data File ERROR

To quote the (not quite) immortal Britney - Oops, I did it again!

There's an error with the Level4ShippingRates.txt data file. I've corrected it and posted the corrected version under both the original and a modified name (to signal to people not reading the blog that they should grab a new version).

Please get and use the new version of the file.

Thursday, January 1, 2009

Summative Level 3 Data File ERROR - Oops!

My bad e/one. There's an error (which I've just corrected) in the data file for the level 3 Summative. The file is called Level3InvoiceInformation.txt.

The error was that there was no colon separating the city from the province in the Header lines and this would have made it impossible to separate out the city from the province. You need to be able to process the province in order to correctly calculate the PST.

There are two files there now - Level3InvoiceInformation.txt and Level3InvoiceInformation_v2_UseMe.txt. They are identical and you can use either one. I have two copies to signal the change to anyone not reading the blog.

Once again, my apologies for the error. I hope it didn't really foul anyone up and that you were able to fix it yourself if so.

Saturday, December 20, 2008

Summative Data Files Updated

I've modified all the summative data files so that the fields in each record are separated by ":".  For example an address might look like: "124 Main St.:K1K 0N7:Ottawa:ON"

The end of line problems should also be solved, now.

Friday, December 12, 2008

Homework

There's homework (that I'll be checking) for the weekend.

You must have completed (or demonstrate a good faith effort) both of the linear search exercises on the 2nd handout. (This is the handout that says Array Exercises in the header and that has the filename ICS3M_2.25_Exercise.doc in the footer.)

If you are one of the people who had already finished then you must do one of exercises 1, 3, 4, or 8 at the end of Chapter 10 in the text.

Make Up Test

Heads up the couple of people who weren't in class today. I handed back the tests. Not everyone passed. If you got less than 60% you can do a re-test (different content) next Wednesday the 17th of December in class.

Here's the deal, though. The maximum mark you can get on the re-test is 60%. It wouldn't otherwise be fair to people above the 60% cutoff line if one could blow the original and then do a re-test and get a better mark than them.

You have to let me know by Monday if you want to do the re-test on Monday.

Saturday, December 6, 2008

Facebook virus

I'm seeing credible reports about a virus spreading via facebook's messaging system. The subject line in an infected message is something like "You look awesome in this new movie". When you click the link you get prompted to upgrade your flash player. At this point malicious s/ware is installed on your computer. The software turns your computer into a (cyber) zombie that will then participate in net attacks against other sites against your will.

Forewarned is forearmed.

Monday, November 17, 2008

I Need A Raise

That should be "I need arrays".

Today we're tackling arrays. If you missed class then the homework will help you catch up.

Read Ch. 10, pp 237-241. Then do Questions 1, 2, 3, 4 and 14a, 14b, 14c, and, 14d.

Note that question 4 asks you to write a for-each statement but it turns out that J# hasn't implemented the for-each statement. (D'oh!)Use a regular for statement instead.

You should note that I've put a sample program that I wrote in class showing an array of strings being used in a for loop in the ICS3M\Arrays Handout folder. In addition, you can also find the powerpoint presentation for Arrays in that same folder. Make sure you look at the presentation in Notes view mode so you can see my notes which augment the information in the slides. I don't recommend that you try and rely on the slides alone without reading the text. There's a lot more information in the text that can be found in the slides.