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
Monday, November 12, 2012
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.
Whether students use my images or their own images they will get the same marks for that element. Only the JavaScript will be graded.
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.
Wednesday, November 7, 2012
COP6023 Class 31
We looked at Google Analytics and discusses how it can be useful to a business or publisher
Tuesday, November 6, 2012
COMP6023 Class 29 & 30
Students worked on their assignments (Assignment 2 mostly)
I met with each student to get a progress update on Assignments 2 & 3
I extended the deadline for the first draft of Assignment 3 to this weekend. Students can also publish rough cuts of Assignment 2 and get some feedback. The pages interface in blogger is limited, so it takes some getting used to. Content Management Systems (CMSs) don't generally give authours the same flexibility that they might have in a word processor.
I met with each student to get a progress update on Assignments 2 & 3
I extended the deadline for the first draft of Assignment 3 to this weekend. Students can also publish rough cuts of Assignment 2 and get some feedback. The pages interface in blogger is limited, so it takes some getting used to. Content Management Systems (CMSs) don't generally give authours the same flexibility that they might have in a word processor.
SOFT6007 Class 32 DWEB
We saw how to restyle an unordered so that it became a horizontal navigation bar.
Example: jockshop1.html
Monday, November 5, 2012
SOFT6008 Pizza Images
Someone was moaning about having to use Photoshop so I have made some images for students to use. They are not great, but they'll do the job.
I have reduced the marks going for this by a small amount to reflect the now reduced workload.
The images are derived from images by rusvaplauke and Latente
I have reduced the marks going for this by a small amount to reflect the now reduced workload.
The images are derived from images by rusvaplauke and Latente
Subscribe to:
Posts (Atom)