This page will contain all the "What's New" news items for the course, in the reverse order in which they are inserted as the course proceeds. When you come to this page from the home page of the course, you will see the latest message immediately following this paragraph. The preceding news items will appear in a list under this latest item, each preceded by the date on which it was inserted or last modified. You can then scroll down if you wish to see one or more of these previous news items.
Saturday, April 13, 2024
The Monday afternoon review session has been changed to 3:30.
Wednesday, April 10, 2024
I have scheduled two review sessions for next Monday (the 15th). One in the morning (10:00 AM) and one in the afternoon (2:00 PM).

In each review session I will give a brief explanation of how the final exam works and what's covered. I will then answer questions about the material from students. The session ends when students run out of questions, or after 90 minutes (whichever comes first).

Links to the review sessions can be found in the Topic Outline, in the Exam Period part of the table.

Monday, April 8, 2024
My office hours will be from 2PM to 3PM today.
Thursday, March 14, 2024
Grades for A06 and L09 have been posted. Sorry for the delay.
Monday, March 11, 2024
There is an issue with the sample output for A07. The code I used in my sample solution is slightly different from the code I showed you in the slides. (It's closer to the code I showed you in class.)

The difference has an effect on where the middle of the list is. For one version the middle might be 3, while for the other it's 4. That can make a big difference on how fast the value is found (for example, if it's at position 3 or 4).

We're running 100 searches, so the differences should average out -- but they may be off by a little bit. In one solution I was sent the numbers are off-by-one on a few lines of the tables.

I have provided alternate values for some lines in the sample output. You'll see something like

256 200 139 8 or 7
showing that 8 and 7 are both acceptable values.
Friday, March 8, 2024
The sample output has been revised for A07. Apparently I used the output from an earlier version of SearchComparisons. Sorry.
Monday, March 4, 2024
Grades for M1 have been revised.

I made some mistakes when setting up the automatic grading for some questions, so I went thru and revised the grades. You might want to check your grade again.

I have also revised the feedback so that it now (I HOPE!) shows you the score you got on each question. (Once again, Brightspace won't let me see what you guys see, so I have to trust it to do what I said. But I don't trust it, because it does lie to me quite a lot.)

Wednesday, February 7, 2024
I have revised some people's grades for A02. There were issues with how the penalties for creating and using constants were applied.

You should have created a constant for each of the number of hours in a week (40), the number of weeks in a year (52), the minimum hourly wage (11.55) and the minimum annual salary (1.00). You should then have used those constants in all code that required those numbers. It's only in using those constants in code that we get the advantage of being able to revise any of those values quickly and easily (that is, with less chance of introducing a BUG into our programs).

Friday, February 2, 2024
OK, I have a confession to make: my sample solution doesn't do removeAll the way it's supposed to be done. Sorry!

I have made a modification to the code in A04.java that will test whether you did removeAll the way I told you to do it, or the way it's actually supposed to be done. It then runs the last test using the appropriate return value for which way you did it.

No one will be penalized for doing it the way I said. But anyone who figures out the correct way to do it will get bonus points.

So long as you do everything else correctly, you won't see a FAIL message either way.

Friday, February 2, 2024
There were a few minor issues with the testing program for A04 (A04.java). I have updated the code. You might want to download the latest version.

Note: the changes do not modify the behaviour of the program. They merely resolve some warnings that some compilers and IDEs might have given you.

Monday, January 22, 2024
There was a mistake in the sample output for A02. If you are doing everything properly, student number A00000005 gets skipped. Ditto one of the employee numbers.

I have revised the sample output accordingly. Sorry about that!

Tuesday, January 16, 2024
I have decided to move the assignment due dates to Thursdays instead of Wednesdays. The change takes place with A01 -- so you have one extra day to complete it.
Tuesday, January 16, 2024
Another issue with A01. In the description it referred to a method as readNumFoods, while in the starter code it was called getNumFoods. The code version is correct and I have revised the description to match.
Monday, January 15, 2024
There was a small issue with the TestFood program -- even tho' it was testing isValidName, it said it was testing isValidSodium. It's a minor thing, but I have fixed the version online so you can get the proper messages back.
Monday, January 8, 2024
The error that was preventing students from seeing their lab submissions has been fixed. You should be able to use the View submission tool (under Protected Links) to see the file(s) you have submitted.
Saturday, December 30, 2023

Welcome to the CSCI 2341 web site for Winter 2024.

Use the navigation bar to the left to find course information, reference material, assignments and grades.

This page (the first you will see when you come to the web site) contains announcements regarding class and assignments that come up between classes. You should check this page if you notice a mistake in the assignment or are having particular trouble with an assignment. You should check occasionally anyway, and look in on it before you submit your assignments.

If you notice a mistake in an assignment (whether the description is inconsistent, or a link is broken, or the sample program does not do what the description says it must) you should e-mail Mark Young right away. The first person to point out a "needs to be fixed" problems will receive up to a 5 percent bonus on that assignment.

Changes to assignments will be posted here, but will also appear on the assignment page in red text.