Wow my last three weeks of pre-term university (CO542 Fundamentals of Information Technology and Computing) are finally over and wow was it chaotic or what!
I’ve had to do two java assignments, one xml assignment and one java/xml in-class closed book assessment (exam) which I took today and was 2 hours long, and as rules like you can’t leave in the first half hour or the last half hour and if you want to go to the toilets you must be accompanied, fair enough I guess, but what’s weird is you can’t take drinking water with you in the exam because apparently someone put something in their water once to give them the ideas to the answers to the exam, wow!
Anyway at least pre-term is finished well except for the fact that we still have one more week left to hand in our last Java assignment as some extra time was given so we could study for the exam as well as concentrate on all these lab and lecture sessions we had, which reminds me I better check some answers to the questions that came up in the exam.
And hey if you like a bit of Java why not test yourself on some of these sample questions which are similar to the ones I had, these of course being easier ones as the harder ones took up a whole sheet and involved writing code, all of this on paper of course!
1. (a) Which one of these class headers identifies that Member is a superclass of
Coach?
i) public class Member super Coach
ii) public class Coach is Member
iii) public class Coach extends Member
iv) public class Member sub Coach
v) public class Coach inherits Member
(b) Which one of these class headers identifies that FootballTeam is a subclass of
Team?
i) public class FootballTeam is Team
ii) public class FootballTeam inherits Team
iii) public class FootballTeam extends Team
iv) public class FootballTeam super Team
v) public class FootballTeam sub Team
2. (a) MailItem is an abstract superclass of the concrete classes Letter and
Parcel. Constructors of these three classes take no parameter. The following
variables are defined:
MailItem m;
Letter el;
Parcel p;
Which one or more of the following assignments will be rejected at compile
time? The mark will only be awarded for a completely correct answer.
i) m = new Parcel();
ii) el = new Letter();
iii) m = new MailItem();
iv) p = new Parcel();
v) m = new Letter();
And here’s some XML Sample ones:
1. Briefly describe three ways of associating CSS with an HTML document
2. Explain, with an example of each, the following terms in relation to an XML document: (a) XML Declaration, (b) element and (c) attribute.
Easier enough no? well these ones are but trust me the more complicated ones are well more complicated!
Anyway on another story, two weeks ago I was invited by MSN UK to beta test the new MSN portal for mobile which brings together the best of MSN’s content with Windows Live Services (Mail, Spaces & Search) as well as brining along some cool new features to your mobile.
And guess what, I was one of the first 100 people to complete the MSN Portal for Mobile survey so I was sent (thanks msn) a cool Creative MuVo Mp3 player, which will surely come in handy, actually I’m using it now while writing this blog post and checking out the new MSN Portal for Mobile for any more suggestions I can think of!
Ok I better not bore you anymore with my ramblings and I’ll end it here with a list of modules I’ll be taking this Autumn at University just in case you are wondering!
Compulsory modules
Optional modules
Have a nice day everyone! 