Over the past few weeks I’ve been working hard on several courseworks and revising for several exams. One of the modules I’ve enjoyed the most has been Networking and Web Technologies.
The coursework was split into two stages. The first of which was simply entitled Networking — in this section we produces a command line client which could interact with both our lecturers server as well as one we later made ourselves. The client could send information to the server about the whereabouts of a staff member using their username and a string of text explaining their location. Simple stuff, but very satisfying to implement from something as simple as a socket connection. The server we made, which ran on multiple threads to allow over 10,000 people to connect at once, then collected this data, stored it in an XML file and could send the data to any client that asked for it. All good stuff, as Rob Miles would say.
I received a grade of 80% for my implementation of the console based applications, which I was happy with.
Today I demonstrated part two of the coursework, entitled Web Technologies to my lecturer. In this second part we had to make an application, either in PHP or ASP.NET which handled all of the same things the command line server did in part one, but better. I chose to do it in PHP as I have years of experience with the language.
The final result was a website with the following features
- A Microsoft SQL Backend Database
- The ability to add, delete and edit entries from a form
- Validation of all inputs on server side
- Parameterized queries to stop SQL Injection attacks
- A responsive design so the site looks different, and better suited, on tablets and mobile phones
- An API which any client which can send HTTP formatted POST or GET requests can use to add edit or query a user’s location
In the end I was awarded a grade of 100% for part 2! I couldn’t be more over the moon.
I have an exam on Tuesday for networking, which will be the final of the 3 parts. Once I know my grade for that and the exam overall I will of course update the blog 🙂
I’m very pleased to say I got a grade of 86%. This is a high first class.
Because I’m pretty confident I did quite well in the other half of the module, User Interface Design, I think I should have a high first class for the Module as a whole, which I’m very happy about! Of course I will update this blog when I get my module grades back on the 18th of February.
The lecturer who set this coursework, Dr. David Parker, provided me with some really useful feedback, saying:
This was a well featured piece of work, I also love what you did turning it into an app (though that isn’t reflected above).
Some of the code is a little over complicated and you could put some thought towards how to make it simpler. This also has maintainability consequences.
Taking that into account I intend to spend much more of my programming time working on refactoring my code to make it easier to understand and maintain.
I was also very pleased that Dr Parker described my use of SVN, a subversion system used to keep track of changes to software source code over time, as the best he had seen. 🙂
A few weeks ago I wrote about our group project for the Systems Analysis, Design and Process Module. I was a bit worried at the time about how it would work out, because I’m always a bit nervous about group projects, however I’m pleased to report it all worked out well in the end. 🙂
My team achieved a baseline grade of 35 out of 40, which is 87.5%. This doesn’t necessarily mean that I have that grade, but my personal grade won’t be far off this mark!
I’m really pleased, if I get a personal mark of 87.5% that will mean I have a grade of 80% overall for the module, a high first class. 🙂
As you can see, I love short blog titles, unfortunately having one isn’t possible due to the fact that I’ve missed almost a week of blogging, which is upsetting. I was unable to blog toward the end of last week due to a campus wide network issue which prevented anyone from logging in, therefore preventing everyone from getting on-line both at the University and at the Halls of Residence.
Friday night I headed back home to Dunstable — for the first time since I got to university — from Hull via Doncaster and Stevenage. A map of this incredibly long journey is below.
Once I arrived I went for a pizza hut with Jess, came home for 2 and a half hours and then went round Shauns house for a sleepover, followed by an archery session in the morning, which was great, I’m pretty pro ;
Saturday night I went out for a meal with my family, including my uncle and auntie, and Jess at Vantage, which is a great Indian in Dunstable, which I would reccomend. Later than night we watched a Semi Skinned acoustic set followed by full sets by the amazing Subset and Dutch Order. I then ended up in Sugar loaf till around 2:45, which is great as always, especially in the company of Jess, Shaun, Sam & Fiona 🙂 When I finally got home I appreicated sleeping in my own bed for the first time in almost 2 months.
Sunday I just chilled out at home before a wonderful home cooked roast (which I have missed each week) and finally the journey back home.
On the way back home I started and finished (it’s a long journey…) my assessed coursework 2 for Programming — the aim of which is to build the game “Evil Squash”. Evil Squash is essentially snakes and ladders but with the added game-play mechanic that two players cannot occupy the same square. If a player enters the same square another player already occupies he can do one of two things
- Evil Squash – Make the player you land on go back to where you’ve come from.
- Squash Bounce – You get to ‘bounce’ off of the player and can roll the dice again and move forward
To pass the module you simply need to make a text based version of the game, by which the user plays by inputting their name into the console. From then on they simply allow the computer to roll the dice for them and occasionally make a decision on whether to squash or bounce — this is fun to program but diabolically boring to play therefore as one of my enhancements (an addition to the program in order to achieve more marks) I am going to build a graphical windows phone 7 version, which should actually make the game enjoyable… or not!
Yesterday I spent much of the day recovering from my long journey the previous night and then attended my lectures. During the Quantitive Methods for Computing tutorial we were given the 3rd and final question for our ACW 2, which I completed that night.
Today was my late start day, which is always nice and consisted of Computer Systems where we learn about memory and auxiliary memory interfaces and Programming where we looked over data and data types in C#. When I got back to the Lawns Centre I signed up to the Anthony Noland Trust Bone Marrow Register.
I recommend everyone does this, it can save lives and the procedure (which you have only a 1 in 1000 chance of being asked to do) is very similar to that of a blood donation (apart from it takes 4 hours and you get all your blood back). So please check out: http://www.anthonynolan.org/. I plan to give blood in november, so I better get used to needles 😛
Later in the evening I watched the film tron with Rob and his friend Simon, which was pretty good and a nice way to spend a night.
Anyway, this post is rediculously long and i feel as if Ive covered the week well.
That’s all for now,