Thursday, April 29, 2010

Wednesday, April 28, 2010

SOFT6008 Assessment 1 Submissions

This PDF shows all the SOFT6007 Assessment 2 submissions I have received to date.

If you submitted this assessment and it is not on the list please send me an e-mail.

Does anyone want to claim ownership of "AAA"?

SOFT6007 Assessment 2 Submissions

This PDF shows all the SOFT6007 Assessment 2 submissions I have received to date.

If you submitted this assessment and it is not on the list please send me an e-mail.

SOFT6007 EV Week 11

We looked at the coins example.

I asked students to do a variation of this where the coins are thrown twice. If the fist throw is the same as the second the player wins.

Some students continued to work on Assessment 2. I worked with them until 2035 at which time I asked them to submit or defer until next week.

SOFT6007 Class 41

We looked at the coins example and students wrote a variation of it as an exercise.

Tuesday, April 27, 2010

SOFT6008 Class 44x

We had an extra class in C128 at 1800

SOFT6007 Class 41

We looked at coins.html

I specified a variation and asked student to write the code for it.

SOFT6008 Class 44

Following discussions with the class we opted for an out of class assessment for assessment 2.

There will be an extra class at 1800 for students who want it.

SOFT6008 Assessment 2


Following discussions with the class we have opted for an out-of-class exercise rather than an in-class one. Students should be aware that my internal plagiarism threshold has been turned to its most sensitive setting. Students are not permitted to swap code.
The code you need is in files called cart0.html and cart1.html
When working it should look something like this

The code you have been provided with is a partial implementation of a shopping cart using JavaScript. The cart is stored as a long string in a cookie called "shoppingcart". ## is used to separate each item from the next. The data fields for each item (ID, Name, quantity, unit cost) are separated by #.



From the table display of the cart on cart1.html it should be possible for items to be added, subtracted, and deleted from the shopping cart. However the code is incomplete and only add has been implemented.


This implementation is somewhat old-fashioned because it does not used the JavaScript to modify the appearance of the page using the DOM after it has been written. Instead any change to a value causes the cart to be written to the cookie and the page reloaded. The page is reloaded by window.location.reload()


One uncommon feature of the code it that the JavaScript, in addition to outputting HTML also outputs some JavaScript. This is how the onclick method is passed the correct parameter. The parameter is written when the table is displayed.



Complete the code so that:
1. The price is displayed. A place holder for this code has already been provided. So you just need to write the function.
2. The price is displayed in Euro and not cent. (19.99 and not 1999). You should implement this with the aid of a function. (The video outlining the functionality of the code does not show this.)


3. The total cost of the items in the cart is displayed (ideally in an additional row of the table in the price column)
.

4. Items can be subtracted from the cart. If the number of copies of an item is zero it should not appear at all.


5. Items can be removed from the cart entirely.

6. If the cart is empty the text "Shopping Cart Empty" is displayed instead of the table. (The video outlining the functionality of the code does not show this.)



You may modify the code in any way you see fit. However all of these features can be added by adding code. You need not delete any existing code.

Submission details:
Students should rename cart0 and cart1 to so that they include their names. e.g dandeman0.html dandeman1.html
These files and the associated images should be archived into a zip file and emailed to Colin. Alternatively it can be submitted in plain text on a CD or USB stick.

The deadline is 1700 Tuesday 4 may.

SOFT6007 Assessment 1 Marking Scheme

Here is the marking scheme I used for Assignment 1. It is not very detailed but I hope it will provide some information to students.  I marked the assessments out of 10.

SITTING 1
11 Put all content into 1 table
11 colspan=2
11 links between pages
11 HTML OK
11 "attributes"


SITTING2
1 ROWSPAN=2
1 ROWSPAN=4
1 COLSPAN=2
1111 NESTED LIST
1 IMG TAG ALL CORRECT
11 HTML OK


SITTING 3
111111 IMAGE MAP
11 TABLE STRUCTURE
1 HTML OK and &s
1 PageS

SOFT6008

Class will go ahead today as scheduled

SOFT6008 Classs 41, 42, 43 cancelled

Sorry. From the blog it looks like I didn't warn of this advance. I knew on Friday last that I wouldn't make it.

We have had 2 additional classes up to now. I had planned to do an extra one next Monday to make up the missing class, but Monday is a holiday. If there is interest we can have an extra lab today at 1800. It doesn't make sense for me to offer an extra class next week after the deadline.

Thursday, April 22, 2010

SOFT6007 Class 38 & 39

There was someone in C128 when we arrived there today. We have only been squatting in this room, because I never requested the timetable change. In the confusion we lost a few people on the way.

From now on our classes will be where they are timetabled. So Thursday 1100-1300 is in IT1.3 and Thursday 1600-1800 will be in IT2.2. In particular the assessment 3 will be in the scheduled rooms.

Students worked on Assignment 2

Wednesday, April 21, 2010

SOFT6007 Character Encoding Tip




Paste one of the following into head tag of each html page

meta http-equiv="Content-Type" content="text/html; charset=utf-8"
or
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"
or
meta http-equiv="Content-Type" content="text/html; charset=windows-1250"

Blogger got upset so I couldn't but in the obvious "<" and ">"
Thanks to Billy Lynch for that

SOFT6007 Sample form

Form

SOFT6007 EV Week 10

We discussed registration issues. Some students asked me to check their status.

We looked at a Three Column layout HTML CSS

We looked at some more JavaScript.
Example: coin toss
Assessment 3 will be along those lines only more complex.

SOFT6007 Class 40 is canceled

Friday's 1100 class is canceled.

SOFT6007 Classes canceled

Thursday's lab class from 11-13 is canceled because I have a meeting.

The later lab class will go ahead as planned.

Tuesday, April 20, 2010

SOFT6007 Class 37

We looked again at HTML and CSS using this 3 column floating centre.

page: threecolumn.html css: threecolumn.css

SOFT6008 Class 40

Students worked on their code.

I hope to have details of assessment 2 soon.

Monday, April 19, 2010

SOFT6008 Class 39

Students worked on trying to code the shopping cart. As usual progress varied considerably from student to student.

SOFT6008 Class 38

Students worked on getting to grips with cookies and the shopping cart concept.

SOFT6008 Assessment 2

Assessment 2 will be an in-class assignment. It will be in C128 at 1300-1500 on 03 May 2010.

I expect to provide more detail before then.

SOFT6008 Class 37 X

We did an extra class (just in case)

We thought a bit about how we might implement a shopping cart using a cookie to store a single string. The trick is designing the string in a way that it is easy to get desired information in and out of it.

video

SOFT6008 Class 37

We looked at onclick and innerHTML

example: increment.html

video

Friday, April 16, 2010

SOFT6007 Class 36

Today was fairly quiet. I helped a few students with their CSS. I get the feeling that the students don't really get CSS. I'll try to correct that, if it's not too late.

Thursday, April 15, 2010

SOFT6007 Class 35 A

We looked at how to do a rollover in JavaScript

rollover

SOFT6007 Class 34 A

We looked at the code for the Coin Toss Game

coins.html

SOFT6007 Class 34 & 35 B

We looked at how to make a very simple game in JavaScript

coins.html

SOFT6007 Assessment Deadlines

Assessment 3 will be an on-class exercise that will reply heavily on the use of JavaScript. It will be an open book exam. You will be permitted to use any resources you wish, but may not communicate with anyone else.


Day Students


Assessment 2 Web Site is due on Tuesday 4 May by 1800. The 1700 class is an obvious slot during which to hand it up, but before then is fine too.

Assessment 3 In-class exercise will take place on Thursday 29 April. Group B 1100-1300 in IT2.3. Group A 1600-1800 in IT2.2. If you have a laptop please bring it.
If you already know that you cannot make this date for some good reason, let me know and it may be possible for you to take it with the evening students. (A sporting event of some kind, is not a good reason.)

Night Students
Assessment 2 is due on by 2100 Wednesday 28 April.

Assessment 3 will take place on Wednesday 05 May.

Wednesday, April 14, 2010

SOFT6007 Week 09

We agreed on 28 April as the deadline for the Assessment 2. Students should deliver the work to me on USB stick or CD during class on 28 April, or before.

Assessment 3 will be an in-class exercise on the evening of 5 May.

We looked at Cascading Style Sheets, had a break, then looked at JavaScript.

SOFT6007 Forms

The form for Assignment 2 should send the data using GET to http://atlantis.cit.ie/displayvalues.php

Tuesday, April 13, 2010

SOFT6007 Class 33

I briefly discussed the results of assessment 1.

We started to look at JavaScript.

Video

Slides Time Based Greeting Random Image

SOFT6007 Assessment 1 Results

The results for Assessment 1 are now online. The first column shows the last 4 digits of the Student ID number. (Where there are fewer than 4 digits the missing digits are preceeding zeros). The second column shows the student's mark.

If your number does not appear it may be that you are not registered. Please e-mail Colin so that he can check that there is not a mistake. If you are not registered you will not receive your result until you are.

If you think the mark may be incorrect please e-mail Colin so he can check. It might be a transcription error, for example.

SOFT6008 Copying code

Students should be careful about copying code from other students. Copying code from other students and using it in assignments is not acceptable. Using code that you did not write yourself will very likely result in disciplinary action.

SOFT6008 Class 36

Some students are still working on Assignment 1.

I asked the remaining students to continue working with cookies.

Monday, April 12, 2010

SOFT6008 Class 35

(Some) Students continued working with cookies. Assignment 2 will very likely rely heavily on the use of cookies.

SOFT6008 Class 34

Students started to get to grips with cookies.

There's a prerecorded video on cookies as well as the handout from before the break.

SOFT6008 Class 33

Most of the time was taken up with students submitting their assessments.

Any work that wasn't submitted by noon, is now late. A 10% late penalty applies to work submitted in the first week. So students who are late might be wise to take their time and make sure the work is complete.

Any students who got into difficulty and think they would be better off taking the extra time and 10% penalty, are free to do so. Please advise me of your intentions.

Wednesday, April 7, 2010

SOFT6007 EV COM Registration Issues

By my reconning there are in excess of 40 students taking this class by night.

The registration system is so far only aware of 22. Of those 22 only 10 are actually fully registered.

The registration system in place for evening students is far from perfect. However the semester is nearly over at this stage so if you are not fully registered you would want to get getting that sorted. At some point, quite soon, unregistered students will find that it is simply too late.

Students not registering properly has caused a number of problems. The most tragic is that the number of students taking the module would have justified the module being offered on a second night. This would have afforded students who can't make it on Wednesday a second opportunity to come to class. Another problem is that it is not possible for me to enter marks into the students records system for students who are not registered for a class. Entering student marks in dribs and drabs is very time consuming. This can also cause delays and errors.