Thursday, May 29, 2008

MT262 - TMA02, Going well

Just the filip I needed - 94% for TMA02. The funny thing is that it is so long since I did the actual TMA that I couldn't recall what any of the questions were. Anyway, things are going in the right direction on this course.
Right now I am whizzing through Block 3 so that I can get back to T224 (which requires more time and concentration because the subject matter is one that I am not quite so familiar with). But Block 3 of MT262 has us writing software that produces plots of data-values that have been collected by a thermometer (not a real thermometer, but a simulated one). And its great fun.
And already paying dividends - I was asked at work yesterday if it was possible to write some software that will check the availability of a database on a networked server. The method simply involves connecting to the database over the network (it could be SQL/Server, Oracle, MySQL etc) and then performing an SQL select for a known number of rows and logging the duration.
As soon as I was given the request the phrase 'simulated thermometer' popped into my head [Ed; you lead a sad life Simon]. So now, a few hours later, I have an application that monitors a remote database and logs the transaction time - it writes it to a log files and plots the data on a graph in real time.

All I have to do now is to persuade my employers to contribute financially to my OU studies [Ed; the words 'pigs' and 'flying' come to mind].

Sunday, May 25, 2008

T224 - How to lose point - part 254.

Just received back my marked TMA02. 89% so I'm happy with that but, you know what.....it could have been higher. Could have been, that is, if I hadn't made a couple of elementary mistakes!

Mistake number 1 - Only answered part of a question. I manage to do this on almost every course that I do - just completely miss a subquestion. When I saw my tutors comments ( "Simon, I think you must have missed the question...") I thought, "No, there is a mistake, there was no part of the question like that.....", and then, just to make sure, I re-read the TMA paper. And there it was, as plain as the nose on my face. And the bit that I missed out was so easy to implement - it would have been two minutes work. How daft is that.

Mistake number 2 - only using 12 bits for a memory address instead of 16. Now this is just so obvious, and I really can't believe that I wrote what I did. At least I was consistent about it - and my tutor did pick me up on it (although didn't penalise me for it). This is what it is about: Suppose that some data is written to memory location F02. When writing that down one should really write 0F02 (ie, use a leading zero). Its pernickety, but it is correct....and its something I have always done in the past. So why didn't I do that it the TMA?

Mistake number 3 - Now this is the one that I am really going to learn from - when a TMA question uses the word 'find' it means show the workings out and write down the answer. All I did was write down the answer (which I did get correct). The question was to do with ANDing and ORing hex values. I do these in my head and just write the answers down - I've done it this way for years - and it never occurred to me to show the workings. I did raise this with my tutor and he explained that there had been some debate about this - but that the course team are insisting that this is what it means and that is how it should be done. Well, I can live with that. His advice is to always show the workings out.

But now I am wondering whether there are other 'code words' that have specific meanings when used in questions - there must be a list somewhere. If I find out what they are I will place them in a new blog entry - I'm sure I'll not be the only person caught out by these.

Well, thats it. I should get the TMA for MT262 back soon.

Monday, April 14, 2008

Nerd?

Just for fun (either that or I'm just a sad person.....) I followed a link to a website that asks a few questions and then comes up with a Nerd Score. Here is mine:

I am nerdier than 93% of all people. Are you a nerd? Click here to find out!


So, depending on your definition of Nerd, I'm either a dull person with almost no social skills, or I'm a person that would rather study than party [ed: I think that sums you up quite well], or that I show a pronounced interest in subjects which others find dull or complex and difficult to comprehend - particularly in areas of science, mathematics and technology [ed: are you sure this relates to you?].

Well, any or all of the above may be true. But what I want to know is how to they come up with that score with so few questions? Its not enough I tell you. And, of course, the test is self selecting - only people who think they are nerds will actually take the test...and they then hope that they get a good Nerd Score. So I am now going to go away and redo the test - but this time answer in such a way that I should (I think) get a low Nerd Score. Here goes.....

Time passes....


I am nerdier than 0% of all people. Are you a nerd? Click here to find out!


Well, thats interesting - I had thought that it was biased towards giving high nerd scores - but perhaps it isn't.

So now I want to know what is the minimum number of questions required to determine whether someone is a nerd or not - and what those questions are - and clearly these are determined by how the questioner defines the term 'nerd'.

I have my own ideas......any suggestions?

ps: And who cares anyway?[Ed: not me, thats for sure].

MT262 - TMA01

My marked TMA01 received back a couple of days ago. I had almost forgotten what it covered having completed it in early February and submitted it in early March. So reading it again was interesting. A couple of errors that I had allowed through - which is annoying considering that I wasn't exactly short of time. But a 90% score is above the 85% that I set myself as targets so I'm happy with that. And this time I have no issue with the marking scheme (see T224).

I completed TMA02 in late March but won't be submitting it until mid-May. Which is just as well - because I decided to have a final read through of it this weekend and found some much simpler ways of writing some of the C++ code (and I like to keep my code clean and simple). And one question where I hadn't read the descriptions of one of the functions correctly. So tonight I must finish going through TMA02 and the set it aside ready for submission.

Meanwhile I am progressing through Block 3. Slight problem here because the OU are not shipping the Block 3 books until May (actually, according to the Material Dispatch page for MT262 there are no Blocks 3 and 4 - but thats wrong). But hoorah for pdf's - so I can make headway by printing out what I need - and printing 2-up double-sided means that I get 4 pages on one sheet of A4 - so not quite as environmentally disastrous as it might have been.

Monday, March 17, 2008

T224 - Must be clear!

Good news! Got my first TMA back for T224. Grumpy news - lost points for not being clear. Well, when I say 'not being clear' what I really mean is that 'it was not clear enough for the OU marking scheme'. See what you make of this - and if you think it isn't clear then please tell me. The question told us that we had a display panel with three 7-segment LED's on board. We had to write out the bit pattern that would be held in the 3 bytes that represent the pattern that will be displayed on the LED's. The pattern we were asked to use was '-05'. Note: This is not asking for the binary representation of -05, but for the representation that causes the correct segments in a 7-segment display to light up to display -05.

So in my answer I put: 00010000 11101110 11010110

Now, as it happens, that is the correct answer (hoorah!) ... so you may be wondering why I lost marks...Well, believe it or not, its because I did not make it clear which of those bit patterns was the first byte, which was the second, and which was the third. I lost a mark for each.

The moral of this story is that its not good enough just to get the answer technically correct, you actually have to make it very, very clear.

Its easy to forget that Universities are not real life and that this kind of thing is a requirement. In my professional life I have written countless lines of assembler code, and have had to work with colleagues doing the same - and I can guarantee that every one of those people would have understood that the first 8 bits referred to the first byte, the second 8 bits to the second byte, and the third 8 bits to the third byte.

If I am wrong, then you can call me Aunt Madge.

Monday, February 18, 2008

Bits, Bytes, Megabytes and the rest

An interesting thread appeared on one of the T224 OUSA conferences today. The question came up about how many bits there are in a byte, and how many bytes make a word. Now, you might look at that and think '...thats easy, everyone knows how many...' but do they?

Curiously, only last night night I was think about a dialogue I had with some technical people at IBM around 1990. In that discussion I had queried their (IBM) term for MBytes. They were using the value of 10 to the 6th (1,000,000) and I had always used 2 to the 20th (1048576). The problem that I had was that there documentation said that I should format the paging areas (this is on an IBM Mainframe) in 1MB blocks - but they were using the wrong definition of a megabyte! Anyway, I argued my case and they agreed (IBM's phrase for such things used to be 'A non documented restriction' - in other words: 'oh right yeah, we didn't know it worked that way - and we haven't documented it - but thats how we say it works from now on....').

So, back to T224: The word from the OU is that there are always 8 bits in a byte. They didn't qualify that statement in any way. Now, I know for a fact that on some systems (1970's) there were 6 bits in a byte - I know that because I had to write some conversion software for them - so its NOT TRUE to say that there are always 8 bits in a byte. Mind you I can't imagine anyone now designing a processor that did't use 8 bits per byte - so its pretty unlikely that anyone need worry about that (unless, perhaps, you work at the Science Museum and are involved in conserving such machines).

Then the question went to how many bits there are in a word. Now, this is more complicated - because it all depends on the architecture of the processor, the bus size etc. On an 8-bit processor then word size would be 8-bits, on a 16-bit processor the word size would be 16 bits, 32 bits on a 32-bit processor, and so on. And even then its not so straight forwards. I seem to recall that on the Zilog Z80 chip (anyone remember CP/M?) you had an 8-bit processor with a 16-bit address bus - and, if I remember correctly, a 16-bit word size.

Anyone know what the word-size is on the 64-bit processors?

Friday, January 18, 2008

OU - M366 Intelligence

One of the courses that I like the idea of doing (perhaps next year) is M366 (Natural and Artificial Intelligence). It is currently part way through its first presentation and yesterday I exchanged a couple of emails with some who is presently a student on that course. I wanted to know from them what the course was like, what it covered, did it live up to expectations etc.

The answer is that...its quite hard, many people have dropped out because of the programming, but that it is interesting. The programming environment is NetLogo - a new name to me - which is a modelling/simulation environment that can be programmed in what looks like a version of Logo (in much the same way that Scheme is a descendant of Lisp, I guess). This environment allows you to simulate all sorts of dynamic systems - from groups of people interacting at a party and their levels of group happiness, to biological systems, physical systems (moelecules interacting) etc.

Really sounds like a lot of fun and very interesting.

OU - T224 -

The Student website for T224 opened yesterday and this is a great relief - at last I have some idea of the flavour of the course. According to my Student Homepage, the printed materials for the course have still not yet been sent.

But, from what I can see, we kick off gently with an introduction to number base systems, what a processor is (and not just the PC on your desk, but the 100 processors in a BMW 7-Series - and I don't know many academics who have been anywhere near a 7-Series!, processors in kitchen scales (not the old type!), washing machines, and so on), what IO-Systems are (and, of course, some are just I, and some are just O, and some are both).

A quick run around binary and hexadecimal (an old favourite of mine) and why/how it is easy to convert from one to the other (and yes, it is easy). Years ago I used to play darts in our local with a few colleagues. Just for the fun of it we would play 501 but do the scoring in hex instead of decimal - and somewhere I know that I have a photo from those days to prove it. How mad is that?

Wednesday, January 09, 2008

Lectures

Simon McClive has a posting on his blog about iTunesU (or uTunes as I keep thinking of it). If you want to download and listen to some lectures on all kinds of academic subjects (Computer Science, Psychology, Art, and many more) then visit Simon's blog and follow his links. Its a wonderful resource - and its free.

Monday, January 07, 2008

OU - MT262 - Progress so far

It might seem odd to be posting a progress report before a course has even started, but I find that I have just finished Unit 3 of Block 1. Unit 4 claims to be 6 hours work, which if its anything like the previous 3 units means that I will complete it in about 90 minutes. No kidding.

Why started already and why so quickly? Two questions, two answers. First off, I want to get as much done before I start on T224 (materials haven't arrived yet anyway), and the reason that I am making good headway is that it appears to assume no previous programming experience so spends some time telling us what an Integer is; what a String is; this is how you repeat blocks of code, etc. etc.

So all I have to do is to note down the terminology that they use (because I'll be expected to use it in TMA answers) and then do the practical work which, so far, requires very little thought.

Still, the more I get ahead the more time I will have when it gets challenging!

Smart Toys?

On BBC1 this morning there was an interview with some trade exhibitors at the Consumer (don't you just detest that word?) Electronics Show in Las Vegas. Every electronic gadget you can think of, and some you would never have thought of, are 'on show' - which really means that the hyped-up sales-people are full of hype and convinced that they can persuade you that their's is best.

But what really caught my attention was a throw-away comment by one of the traders spokespeople. Talking about toys, they claimed, and probably rightly so, that toys are getting smarter. I'm sure they are (although its probably a loose definition of 'smart' - I'm not sure that there is much intelligence involved, not yet anyway). But is that a good thing?

My kids have had all sorts of toys, some of the 'smart' kind, and some not. But what I have noticed, with the obvious exception of games consoles, is that they generally prefer the non-smart toys. It seems to me that the smart toys may have instant appeal and grab the attention of the kids (who are as much susceptible to instant-gratification as the rest of us) but after the novelty factor has worn off there is very little left to hold their interest. But give the kids a simple toy (and by that I mean anything that requires a bit of imagination and input) and they happily play for hours.

Now, it might be that I'm just too old and curmudgeonly, or that a grew up in a rural Kentish area where our toys where the fields, trees, and streams, an old bicycle, and our mates down the lane. I don't know. But I have seen the benefits of technology and used them for years so its not that I am technophobic (otherwise I would be blogless amongst other things!).

My daughter is 11 years old. Give her a book of blank paper and some pencils and she is happy for hours, drawing, writing, whatever. But give her something that will do the drawing for her - initial amazement then not interested.

But I'm not sure that this is a modern phenomena. I remember being given a spirograph one Christmas. Brilliant, I could make shapes and patterns. And then boredom - very quickly. It was a clever idea (and pretty low-tech to boot), but pointless. There was very little imagination required.

So, 'smart toys': as toys, I'm not convinced. As ways exploring and advancing technology then yes, this is probably their place.

Friday, January 04, 2008

OU - Blog Readers!

I have received a few emails recently from other OU students who have stumbled (or googled, if I can turn a noun into a verb - a process called 'verbing' I understand , which is pleasantly self-referential!) upon this blog.

I must say that it is always a thrill to receive these emails, firstly it proves to me that this is not just a 'write only' blog (cathartic though that may be) but is a 'read/write' blog. Secondly, its great to hear from people studying the same, or similar, courses and being able to share experiences etc.

I had one email from someone working and studying in Malta - no chance of tutorials and very little chance even meeting up with other students. I think that this must take great motivation and dedication, so I doff my hat to all students studying in such circumstances. To cap it all, the course fees are much higher for overseas students.

I might even start to create a map showing the spread of readers (whoa, getting a bit ahead of myself there!) - more of a personal challenge really but I have a GoogleMaps API key, so might incorporate that into a Rails app at some point.

That reminds me of the time when, as kids, we set off gas-filled balloons at the village fete. The balloons had a label attached and there was a prize for who ever had the balloon that went furthest and was returned. Some of my friends had balloons that travelled to continental Europe, my brother once had a balloon that ended up in Germany. His prize was an orange (okay, it was a small village with no money!). My balloons generally ended up in the nearest tree although one did make it as far as Tonbridge (a distance of some 7 miles) before being dashed to the ground. I consoled myself with the thought that I didn't have to have an orange!

OU - MT262

Subtitled "Putting computers to work" this course covers the art of writing computer software in C++. I have been looking forwards to this course for some while. Not because I want to find out how to make computers do some work (I've been doing that for more years than I care to think about) but because I love writing software and want to get to grips with C++.

The official start date of the course is late January, but I thought I would make a head start and am currently up to Unit 3 of Block 1. So far, it has to be said, its been a stroll in the park - just covering some basic syntax and clearly aimed at people who have very little programming experience. I am assured that as the course progresses it does become more challenging. Well, lets hope so!

I have another course running in parallel with this and am still waiting for the course material to turn up. I only registered on 1st January and the start date is not until February 2nd, so plenty of time to get further ahead with MT262.

Wednesday, December 19, 2007

OU - M359 - A result, sort of.

Well, there we have it. The results for the first presentation of M359 are out. And they are disappointing as expected. TMA wise I was at distinction level although I knew that there was no way that I would achieve the marks needed in the exam to sustain that. However, as documented elsewhere, the exam was a real pigs-ear (and I speak as a vegetarian - I have nothing against pigs-ears per se). The questions were vague, three of the questions required constant referral to some tables that had been added as an appendix - which meant that it was not possible to read the questions and view the tables at the same time - the constant flapping of papers reminded me of a flock of seagulls alarmed by a marauding dog on the beach (but with out the piercing screech - which I tried to keep to a minimum so that I didn't disturb the MSc students in the next row).

All the course text need re-writing into English (I wonder it would score on the blog-readability test).

And I feel fed-up that I am forced into criticizing the OU - because I think that it is a fantastic institution.

Still, a pass is a pass is a pass. No resit required. Phew!

Thursday, December 13, 2007

OU - M359 - One final errata

I didn't really expect to be commenting on an errata for M359 - mainly because the course finished back in October. But, as was the case many times during the course, an errata has been issued - and without explanation!

The website has been stating that the exam results will be available by 14th December. And now, on the 13th December, this has suddenly changed to 21st December! Okay, no big deal for me - its not as if they have told me that I have failed (for that will surely come later), but I know of one other student who needed to know the result on the 14th because it greatly influenced what they did next.

So one wonders why the M359 results have been delayed - many other courses have had their results released on time - you only have to look on the OUSA conferences to see and hear the hats being thrown into the air in delight, and all the whooping and hollering. So what has happened with M359?........I'm sure all will be revealed....

Thursday, December 06, 2007

Readability - just how smart are you.

My friend, Ian Macey, has an interesting comment about 'blog readability'. This is something that I had not previously heard about or thought about. He came across a link, via John Naughton's blog, that referred to a website that will assess a blog in term of the level of education required by the reader (not the level of education required by the writer).

Intrigued by this idea, and wondering just how I measure up, I thought I'd give this a go. According to 'The Blog Readability Test' the required education level for my blog is "High School". Slightly disheartened by this (Ian's, by the way, is "Genius") I thought I would try this on a few other blogs.

So the first that I picked was the blog of Joel Spolsky . Joel is a very regular blog writer and book author, and is a key thinker and doer with the IT industry. His blog comes out as "Junior High School".

Okay - what about some politicians: Well, how about David Cameron - "Junior High School", Gordon Brown comes out as "Genius Level". Interesting.

I'll try one more: Boris Johnson - couldn't compute this one - Alright, only joking - his comes out as "College - Undergrad".

So what does all this mean? Well, probably not very much because we don't how the 'Readability Test' works. Is it looking at the structure of sentences, is it looking at the length of words (longer words score higher?), is it looking at the number of external references. The thing is, we don't know but it is a bit of fun - and it does make you think about what, and how, you write.

One thing that it has revealed to me is that many of the people that you think would have blogs, in fact don't have blogs - perhaps they are just too busy doing the things that make them (in)famous to actually have the time. Perhaps it is still a geeky thing to do (and that would certainly explain the high proportion of IT related blogs).

So thanks Ian, for putting that on your blog - I'm just off to check my readability score know that its got this one to do as well!

Here is the rating for this blog:

Monday, December 03, 2007

OU - Materials materialize

So here I am, ploughing through all my Java revision and new work with a SCJP firmly in my sights when a package arrives from the OU. Yes, MT262 has landed on the doormat. Now, a quandry, I'm inquisitive, I want to know what is in the package, I want to make a start. But I don't want to be distracted from my Java work. And anyway, MT262 doesn't kick off until late Jan - so I still have 6 weeks.

But its there on the shelf. Staring at me. Making odd sounds. I'm convinced that one side of the package says 'Eat Me'. I'm sure I wont sleep well tonight, I'll be restless and thinking about that damn package. I might have to sneak down in the early hours and take a peek and then, and then I'll feel that I have let my self down - just like I do when have that bar of Cadbury's chocolate when I know I shouldn't. And of course by then its too late, the deed will be done.

I should, I shouldn't, I should, I shouldn't. Of course there is the packing list - I really ought to check that the package contains what it ought. I should, I shouldn't. Oh hell.

See, already this has distracted me. Time for a cup of tea....now where did I put that chocolate bar...

Thursday, November 01, 2007

To infinity ... and beyond

[Silence]
To begin at the beginning:

Well, thats enough of Dylan Thomas for the moment. He resorted to alcohol when it got tough, but he produced some great poetry through it. But for an M359'er alcohol was the last thing on the mind. Cramming it full of every fact, every technique, every thing that I could so that I might stand a chance in the exam ... and now waiting. Waiting for the long nights and short days of December. And a result.

One thing is certain - there's no distinction this time! But will it be a 2 or a 3? Or will it be a fail? Almost impossible to fathom and I dare not think about it.

So now am in this gap, this place of limbo, between M359 and MT262. But the time is not being wasted. Instead, I am deep into restudying Java - not from the M254 books, but from other published work. Getting to grips again with Object Orientation and learning to 'do it properly'. What fun! So much better that those dark, sloe-black, slow black (note to self; stop this Dylan Thomas stuff) days and nights spent studying databases.

Thursday, September 06, 2007

OU - Its full of Stars

Err, well actually it won't be. Having persuaded myself that a 10pt filler over Christmas was a good idea, and that I would like to pursue a curiosity that I have for Astronomy, I thought that I would sign up for S194.

But, I have now decided that I would rather spend the time working towards some non-OU Java qualifications - such as those from Sun. It would be good to think that my employer might chip on the money side (since I work for an IT firm) but, alas, they don't think that I should be learning Java! Thats right, I work for an IT company that would rather not help their employees further their IT skills (thats why they don't financially help with my OU studies either).

So, as soon as M359 is out of the way (and I can't wait) I'll be heavily into Java up until late January when MT262 (which is C++) kicks off.

Must brush up the old CV!

Saturday, August 18, 2007

OU - MT262

Well, just signed up for MT262 starting in January. My reason for doing this, apart from the fact that it sound quite interesting an involves a fair bit of C++, is that I need to complete my D50 Diploma (the Computing Diploma) before December 2008 otherwise I won't be able to count my M206 pass against it - and that will mean that I'll have to find another 60 points from somewhere.

And because M359 finishes in early October, I need to find something to do between then and January - so I might sign up for S197 Astronomy as a 12 week 10 point course. Just because it will be interesting - no other reason.

Blog Watch