Posts Tagged ‘University of Westminster’

2 of 7

| No Comments »

Another exam done, feel really good about this 1, one more tomorrow.

The Playstation 3 hard drive is almost impossible to change, i’m waiting on a new cage for my new hard drive and i got DualShock 3, rumble is over rated.



Bad start

| No Comments »

I’m so sure i’m gonna fail 1 of my modules for University. The Module was so poorly organsied but i’ve only got myself to blame
3SFE518 – Computer Systems Organisation

Coursework

| No Comments »

yup i’m busy got coursework to do, 3 assignments

3SFE517 – Internet Application Programming
Deadline: 15/11/2007
Marks – 25/100

A web company have asked you to add a login/registration facility to their website. They want the following:
1.New visitors to the site to only be able to register (information to include their name, preferred username, password, and date of birth)
2.Returning visitors, who have previously registered, to only see the login facility (so you will need to remember that they have previously registered)
3.If the registration or login process goes wrong, then an error page to be produced (that links back to the registration/login page)
4.If the registration or login process goes well, then the user is presented with the front page of the website.
5.Lastly, if the user is a returning user, there should be a facility for them to ask (perhaps through a checkbox) for their login to be remembered for one hour, so if they quit their browser but then start it again and visit the website within the same hour, the website remembers them and allows them in without asking them to re-login. This is quite an advanced requirement, so the company consider it optional.

The registration/login page needs to be generated by the same Perl/CGI program. Cookies will be needed to remember the various bits of state required by the registration/login CGI. If the last requirement is to be implemented, then you will need to find out how to do automatic redirects.

3SFE550 – Object-oriented Programming
Deadline: 15/11/2007
Marks – 15/100

This coursework involves creating a couple of Java classes; the first is the class Account that models a bank account, while the second class is Transaction that models typical operations (transaction processes) that customers can perform on bank accounts such as depositing money, withdrawing money and closing an account. Interest is also added to the account regularly for those with a positive balance (“in the black”). The desired properties and behaviours of an Account are described below:

* Each bank account is characterised by a customer name, a unique account number (an eight digit number), a balance, and an overdraft limit (which can be one of the three values £0, £250 or £500)
* An account can be “closed” if it has a non-negative balance, in which case, all funds are removed and the account cannot take part in any further transaction processing
* An account that is in the red, in other words has a negative balance (regardless of the overdraft limit), cannot be closed unless the customer first pays off the deficit (so bringing the balance up to zero)
* Withdrawals can be made provided the balance of an account does not go below the overdraft (credit) limit – for example for a customer with a balance of £250 and an overdraft limit of zero, the maximum amount that can be withdrawn in a single transaction is £250. On the other hand if the same customer has an overdraft limit of £100, then the maxim mum amount that can be withdrawn is £350
* Any customer who exceeds their overdraft limit as a result of an attempted withdrawal will incur a one-off bank charge of £25 (e.g. a customer with a balance of £50 and a credit limit of £250 will incur this charge if they attempt to withdraw £301 or more – furthermore the withdrawal will be refused)
* Assume the current rate of interest for accounts with a positive balance is 1% while any account that is in the red (i.e. overdrawn) will also pay interest on the overdraft amount at a rate of 8%

3SFE508 – Computer Graphics
Deadline – 22/11/2007
Marks – 20/100

Write an OpenGL program to meet the following specification.

The program should produce an initial display similar to that shown on Page 3. The bat should be drawn via a horizontal yellow line with a width (thickness) of 2 pixels, and the ball should consist of a white dot of 4 pixels in size at the centre of the display window.

The game starts when the user presses the left mouse button. When this happens the ball should start to move in a straight line path. (see Appendix 1 for background information on movement of the ball). As explained in Appendix 1 the initial angle of the ball’s motion relative to the vertical position should be a random angle between -45 and +45 degrees. If the ball hits the top, left or right edge of the display window then it should bounce off the edges in the normal way (see Appendix 2 for background information on how rebounds can be achieved). If the ball hits the bottom edge of the display window then the game ends (the program should terminate).

The user can move the bat horizontally to cause the ball to bounce off the bat (hence stopping the ball from hitting the bottom edge of the display window). Pressing the key `r’ causes the bat to move horizontally to the right and pressing the key `l’ causes the bat to move horizontally to the left.

Your program should use double buffering, and the display window should be re-sizable in the normal way.

wish me luck