Monday, March 12, 2012

SOFT6008 Class 19

I gave out a printed version of the sample exam that was online. I talked through some parts of it, but didn't give much away.

I said "you wouldn't want to make assumptions about the length, based on the size of the box" and actually expected to get away with it.

Module Design Course

We looked at how to write learning outcomes and the different taxonomies. There's more than one!

First part of the assignment is due Friday week, so I must actually start working on it. Like most students, I have codded myself into thinking having it done in my head is enough.

SOFT6008 Sample Exam

Completing this exam would be good practice for the in-class exam this week. However completing all of the exercises would be the best practice.

Students should complete all the DOM games, try to get cookies working, and implement all the checksums outlined the notes.

SOFT6007 COM1 Class 19

We revised RGB, and then looked at Lab and CYMK. Then we started to look at GIF. I think I lost the crowd today. Maybe the slides are a bit disjointed. We'll pick up again with GIF in the next class.

Friday, March 9, 2012

Animated GIFs: The Birth of a Medium | Off Book | PBS

SOFT6007 DCOM1 Class 17 Lab

We added CLASSes to the TDs in the timetable to color code the lectures. Students were on the ball and got this done very quickly.

SOFT6007 ITS1/DCOM1 Class 18

We looked at how to represent color digitally. We discussed Hue Saturation Brightness (HSB) and Red Green Blue (RGB)

SOFT6007 COM1 Class 18

We looked at how to represent color digitally. We discussed Hue Saturation Brightness (HSB) and Red Green Blue (RGB)

Thursday, March 8, 2012

SOFT6008 Class 18

We looked at the HTML5 Canvas. It's more of a gimmick really. But it might be possible to do some interesting things with it. I'll put links to the site, and examples here later. I promise! If I don't, hassle me.

SOFT6007 COM1 Class 17 Lab A

We looked at how to classes and IDs work and I asked students to color the subjects in their timetables by adding class attributes to the TD tags. A number of students completed this work and left early. Others who did not finish it left early also. That's not very wise.

SOFT6007 FC Class

We had a 1 hour lecture. Only about 10 students turned up, which is interesting seeing as there are people trying to get into this class and can't because it's full.

I offered to do some revision in advance of the exam, but students seemed happy enough. So we looked at how to add class attributes to the td tags of the timetable.

The exam on Tuesday should take about 40 minutes to complete. I don't expect anyone will be stuck for time.

Wednesday, March 7, 2012

SOFT6007 FC Lab B (2 hours)

Students coded an image map.

In the second hours I flew through CSS and asked students to apply styles to their timetables. Some managed to make a start in the time that we had.

SOFT6007 FC Lab A (2 hours)

We coded up image maps for the first ~half of the class.

In the second part I tore through CSS, and asked students to maybe try applying to their timetables at home.

SOFT6007 Class 17 ITS1 Lab

We added classes to the TDs in the timetable. This allowed us to target individual classes with seperate colours.

SOFT6008 Checksums Handout Typo

There's a typo on the Checksums handout. On page 3 the indexOf() should evaluate to 15, not 10.

SOFT6008 Check Digits

Here are some data to use as test cases for the check digit exercises.


IE-PPSN

These numbers are valid in theory
5313197L
1234567T
1234567t
0000000W
0000071w

ES-DNI

These are valid numbers
03457393-X
03457393X
03457393x
03405999-K
70240341-C
70259948-P
70259948p

If these test cases give you trouble read the small print on the ParseInt box!.

I have noticed that in real life Spaniards tend to insert separators between groups of digits to make the DNI number easier to read and it is common to put a dash before the letter (as above). To accommodate this your code should strip out all useless characters from the input before looking at it more closely.

Ensure that your code insists on the correct length
007-X is not valid. But 00000000-X is.

Euro Banknotes

Just take some from your wallet. There are fewer than 26 countries that issue Euro banknotes some some letters never appear at the start of a serial number. Accounting for this would require some very inelegant code. We can't have inelegant code!

Be sure to check some serial numbers that have a zero immediately after the letter. If that gives you trouble ParseInt may be to blame.

SOFT6008 Class 17

I wasn't feeling well, so I didn't bring very much to the party. Students worked on the various exercises.

Tuesday, March 6, 2012

SOFT6007 FC

Took Meabh's class. We did image maps.

Monday, March 5, 2012

SOFT6007 ITS1/DCOM1 Class 16

We had an in-class exam

SOFT6008 Assessment 1

There will be an in-class on Thursday 15 March at 1700. All students taking this module this semester should attend.

The exam will be a written closed-book exam that will cover all of the topics and examples we have seen in class

The slides and examples are here.