Wednesday, November 14, 2012

SOFT6007 Validation

In order to have your pages validate at validator.w3.org you will need to start your html documents with this:


<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">



SOT6008 CDATA

To validate your webpage you may need to use CDATA to get the JavaScript through the process.

http://javascript.about.com/library/blxhtml.htm

COMP6023 Class 35

We continued our look at video compression.

In tomorrow's class we will look at the effects of different coding parameters. Students who want to join in the fun should install the software available for free at handbrake.fr.

At the end of class we had a brief (off-mic) discussion on plagiarism. I feel like I have had enough of those conversations already. But to summarise: if you copy and paste off the web, that's your problem right there. It's not about how much you change things around after that!
Some plagiarism resources:
http://www.plagiarism.org/plag_article_what_is_plagiarism.html
http://en.wikipedia.org/wiki/Plagiarism
http://www.indiana.edu/~wts/pamphlets/plagiarism.shtml

Tuesday, November 13, 2012

COMP6023 Class 33 & 34

Students worked on various things. Many worked on stuff unrelated to this module. That's fine.

I met with each student (except one who left early) to discuss the progress for Assignment 3

SOFT6007 Class 36 WEB



We looked at the HTML for forms

samples:
soft6007-form.html


SOFT6007 Class 35 WEB

Students worked on Assignment 2. A few took a look at JavaScript

SOFT6007 Class 34 WEB ITM



We looked some more at JavaScript

examples:
rollover
coins

Monday, November 12, 2012

Assignment reviews

Students will be expected to meet with me and talk me through the work they have submitted. The extent to which students can explain their code will form part of the assessment process. The audio of the meetings will be recorded, but will remain private, and will be deleted once it is now longer needed.

Students received an e-mail with an invitation to chose a time that suits them. Please select a time slot. I propose to meet up to three students per time slot. I can't give each student an exact time, but I generally allow 20 minutes per student and this has worked well in the past.


SOFT6008 Assignment 2 Spec update

The phone number part of the spec was vague so I tightened it up. Check the spec ->
again.

0211234567
(089)1234567
(089) 123 4567
087-123-4567

Are all valid phone numbers. You may assume that the customer has an 021 / 083 / 085 / 086 / 087 / 089 number.

The replace method will come in handy for stripping out the unwanted parts

Accounting for
+353871234567 is not required.
But it would make a nice extra

SOFT6008 Class 34 WEB

Students worked on the assignment. Only 4 students turned up to class.

SOFT6008 Class 34 & 35 COM

Students worked on the assignment.

SOFT6008 Class 33 WEB COM

We went through a solution to the question in Assessment 1. I did a slightly different solution from the one on the blog

Friday, November 9, 2012

SOFT6008 Assessment 1 Results



Assessment 1 did not go as well as I had expected it would. The average mark was 41%

The results are available here. Use the last 4 digits of your ID number to find your result. If your number does not appear, it is because there was some issue. The issue was most likely that you are not registered. I will try to find out on Monday if I can give out results to students who are not yet registered.

[Update: unregistered students' results appear there now too]

If you got a in this assessment then you need to get at least
(400-4a)/6 in assessment 2 to be sure of a pass.

The marking scheme is here

Suggested solution:
function realman (fin)

{
var valid = new Boolean("true");

datepart = fin.substring(0,6);
individualpart = fin.substring(7,10);
bothstring = datepart + individualpart;
bothnumber = parseInt (bothstring, 10);
themod = bothnumber % 31;
checkletter1 = fin.substring(10,11).toUpperCase();
madfinstring = "0123456789ABCDEFHJKLMNPRSTUVWXY";
checkletter2 = madfinstring.charAt(themod);

if (checkletter1 != checkletter2)
    {
    valid = "false";
    }

individualnumber = parseInt(individualpart);
sex = individualnumber %2;
if (sex == 0)
    {
    valid=false;
    }
   


return valid

}

Thursday, November 8, 2012

SOFT6008 images clarification

Some clarification about the use of the pizza images is required. A few students emailed me with questions. Students are free to use whatever images they want. I generated those images to save people the trouble. Use of Photoshop is not core to this module.

Whether students use my images or their own images they will get the same marks for that element. Only the JavaScript will be graded.

SOFT6008 Class 32

We had an in-class exam.

COMP6023 Class 32

We looked at how video is compressed. It can be tricky enough to understand. The plot will thicken considerably in the next class

SOFT6008 Dropbox folders

This is a list of dropbox folders that have been shared with me. If your's is not listed, then you need to take action to correct the problem.

SOFT6007 Dropbox folders

This is a list of dropbox folders that have been shared with me. If your's is not listed, then you need to take action to correct the problem.

SOFT6007 Class 32 ITM

Students worked on assignment 1. No one is tackling JavaScript just yet.

Wednesday, November 7, 2012

SOFT6007 Class 31 ITM



We looked at how to style a list so that it became a horizontal menu bar