Find Jobs
Hire Freelancers

object oriented development - Java assignment

£20-250 GBP

Closed
Posted about 13 years ago

£20-250 GBP

Paid on delivery
Question 1 (This is worth 30% of the total marks available for the present exercise.) Download the files [login to view URL], [login to view URL], [login to view URL] and [login to view URL] from Blackboard. A listing of these files is included in the present coursework specification for your convenience. The purpose of the program is to play either a card game or a die-rolling game. In the card game, two cards are selected and the player wins if at least one of them is an Ace. In the dierolling game, the die is rolled twice and the player wins if at least one of the die roll numbers is a one. This program will not work because [login to view URL] is expecting a LinearCongruentialGenerator defined differently from the way it is defined in the download files. i) “Fix” this problem by renaming methods as necessary. ii) “Fix” this problem in a different way, by applying the Adapter design pattern (leaving [login to view URL] completely unchanged). iii) Briefly discuss the pros and cons of the two above approaches to solving this particular problem. Question 2 (This is worth 70% of the total marks available for the present exercise.) i) This program is deliberately inelegant. Write a critique of the program. ii) Modify the program resulting from Question 1(ii) above in order to improve its elegance. In particular, your modified program should: ● Handle error conditions more appropriately ● Show evidence of your having applied principles relating to concepts such as coupling and cohesion ● Implement suitable die-rolling and card-selecting classes ● Separate out the two game implementations. (You may wish to find and apply the Factory pattern, or a related pattern, in order to achieve this.1) ● Include brief comments explaining the code iii) Briefly summarise each of the changes which you have made in answering this question and the reasons you made them.
Project ID: 1036071

About the project

12 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
12 freelancers are bidding on average £108 GBP for this job
User Avatar
I have 10+ years of JAVA experience. Also completed 300+ projects. I can do this assignment.
£250 GBP in 10 days
4.9 (270 reviews)
7.0
7.0
User Avatar
I am interested!
£120 GBP in 3 days
4.9 (21 reviews)
4.9
4.9
User Avatar
Hi Please check PM
£70 GBP in 3 days
4.8 (14 reviews)
4.6
4.6
User Avatar
Hi, I'm able to help.
£70 GBP in 5 days
5.0 (19 reviews)
4.5
4.5
User Avatar
Hi, I'm a Sun Certified Java Programmer (SCJP6), and I can do this for you quickly and professionally. Contact me personally to discuss it further.
£100 GBP in 3 days
5.0 (1 review)
3.2
3.2
User Avatar
Let's start
£100 GBP in 2 days
5.0 (2 reviews)
3.1
3.1
User Avatar
I can do this for you
£80 GBP in 3 days
5.0 (2 reviews)
2.8
2.8
User Avatar
Hello. I have over 8 years of experiences of OOP Programming in Java/C++. I should be grateful if i could have a chance to work with you. Best regards
£70 GBP in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am confident of doing it.
£100 GBP in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
plz chek pmb
£70 GBP in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have 5+ years of Java/J2EE development in Govt. Also I have teaching experience of over a year.
£65 GBP in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
cardiff, United Kingdom
0.0
0
Member since Apr 24, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.