{"id":115617,"date":"2022-12-07T21:24:22","date_gmt":"2022-12-07T21:24:22","guid":{"rendered":"https:\/\/nursingstudybay.com\/?p=115617"},"modified":"2022-12-07T21:24:25","modified_gmt":"2022-12-07T21:24:25","slug":"mits4002-object-oriented-software-development-5","status":"publish","type":"post","link":"https:\/\/www.studyproessays.com\/help\/mits4002-object-oriented-software-development-5\/","title":{"rendered":"MITS4002 OBJECT-ORIENTED SOFTWARE DEVELOPMENT"},"content":{"rendered":"<p>MITS4002<br \/>\nOBJECT-ORIENTED SOFTWARE DEVELOPMENT<br \/>\nProject (30%)<br \/>\nTattslotto<br \/>\nDue date: Sunday Lesson 12 11:59 PM<br \/>\nLate penalty applies on late submission, 20% per day would be deducted<br \/>\n0 mark for duplicated Submission or Shared Work<br \/>\nYou will be marked based on your submitted zipped file on Moodle. You are most welcome to check your file with your lab tutor before your submission. No excuse will be accepted due to file corruption, absence from lecture or lab classes where details of lab requirements may be given.<br \/>\nPlease make sure that you attend Lecture EVERY WEEK as low attendance may result in academic penalty or failure of this unit.<br \/>\nMITS4002 Research Study<\/p>\n<p>This assessment item relates to the unit learning outcomes as in the unit descriptors.<br \/>\nThis checks your understanding about object-oriented software development.<br \/>\nThis assessment covers the following LOs.<br \/>\nLO1 Demonstrate understanding of classes, constructors, objects, data types and instantiation; Convert data types using wrapper methods and objects.<br \/>\nLO2 Independently analyse customer requirements and design object-oriented programs using scope, inheritance, and other design techniques; Create classes and objects that access variables and modifier keywords. Develop methods using parameters and return values.<br \/>\nLO3 Demonstrate adaptability in building control and loop structures in an object-oriented environment; Demonstrate use of user defined data structures and array manipulation.<br \/>\nLO4 Create object hierarchies using additional utility methods, application programming interfaces (API) and interfaces, in conjunction with existing classes and objects. LO2 Analyze customer requirements independently and design object-oriented programs using scope, inheritance, and other design techniques; develop classes and objects that access variables and modifier keywords. Create methods that make use of parameters and return values.<br \/>\nLO3 Show adaptability in building control and loop structures in an object-oriented environment; Show use of user-defined data structures and array manipulation.<br \/>\nLO4 Create object hierarchies by combining existing classes and objects with additional utility methods, application programming interfaces (API), and interfaces.<br \/>\nLO5 Demonstrate usage of collection to access data structures effectively and compose fullfledged object-oriented applications.<br \/>\nLO6 Extend the on object-oriented concepts and design patterns introduced in lectures to carry out further research on a chosen object-oriented design pattern or emerging recent programming languages.<br \/>\n. Page 2<br \/>\nProblem Description<br \/>\nThis project ( help with nursing paper writing from experts with MSN &#038; DNP degrees) is based on the design, and implementation in Java, of the seven different Lottery games being Saturday Tattslotto, Oz Lotto and Powerball.<br \/>\nDetails of these games can be found at http:\/\/www.thelott.com<br \/>\nYou are required to use arrays and inheritance to code versions of these games.<br \/>\nNote: GAMBLING can be a serious problem for some people. Your lecturer DOES NOT encourage you to gamble.<br \/>\nSummary of Some of the Lottery Games<br \/>\n(From the Help pages of the above web site)<br \/>\nGame Day Description<br \/>\nTattslotto Saturday 45 balls numbered 1 to 45, from which 8 balls are randomly selected. The first 6 balls are the winning numbers and the last two balls drawn are the supplementary numbers.<br \/>\nOz Lotto Tuesday 45 balls numbered 1 to 45, from which 9 balls are randomly selected. The first 7 balls are the winning numbers and the last two balls drawn are the supplementary numbers.<br \/>\nPowerball Thursday 35 balls numbered 1 to 35 from which 7 are randomly selected. An eighth ball, the Powerball, is then drawn from a separate machine containing 20 balls numbered 1 to 20.<br \/>\nYou will notice from your research and examination of the table that all games have several things in common.<br \/>\nAll games<br \/>\n\u2022 have a name,<br \/>\n\u2022 run on a day of the week<br \/>\n\u2022 have a set of randomly generated numbers.<br \/>\nAlso, each of the randomly generated numbers have a minimum and maximum possible value, for example: For Powerball, the minimum value is 1 and the maximum value is 35.<br \/>\nAn abstract class, LuckyGame can be used to represent the generic concept of a game of chance. A suitable partial design is shown in the following UML diagram. In the UML diagram:<br \/>\n\u2022 The LuckyGame class represents the generic concept of a game of chance and therefore, is to be declared as an abstract class. It contains two abstract methods setNumberOfRandoms( ) and collectUserInput (String input). The LuckyGame class also contains an array of String which is used to record the randomly generated numbers used by each object of LuckyGame type.<br \/>\n\u2022 The class TattslottoGame is a LuckyGame and it thus should implement code for LuckyGame\u2019s two abstract methods as well as its own constructor and any other methods.<br \/>\n\u2022 The games SaturdayTattslotto and Oz Lotto are all instances of the class TattslottoGame.<br \/>\n\u2022 You can implement the remaining class games in any manner you believe appropriate. For example, class PowerBallGame can be implemented using either using<br \/>\no Option 1: the class PowerBallGame is a LuckyGame and thus should implement code for LuckyGame\u2019s two abstract methods as well its own constructor and other methods.<br \/>\no Option 2: the class PowerBallGame is a TattslottoGame and thus should implement code for its own constructor and other methods.<br \/>\n\u2022 You have been provided with some code for the class TestGames, which is a text-based application used to create instances of games and test all of their respective behaviours.<br \/>\n\u2022 To collect user input for all games, a class UserInput is needed. It should collect user input and deal with any problems in the input, such as repeat numbers or numbers outside the possible range of values.<br \/>\nUML Diagram<br \/>\nCode for TestGames<br \/>\n\/\/ A class that tests the instances of each class of game<br \/>\n\/\/*************************************************************<br \/>\n*******<br \/>\nclass TestGames<br \/>\n{ public static void main ( String [ ] args )<br \/>\n{<br \/>\nfinal int NO_OF_GAMES = 7 ;<br \/>\nLuckyGame [ ] games = new LuckyGame [NO_OF_GAMES];<br \/>\nTattslottoGame myGame = new TattslottoGame<br \/>\n(-Tattslotto-, -Saturday-, 1 , 45 ) ;<br \/>\nTattslottoGame OzLotto = new TattslottoGame ( -OZ<br \/>\nLotto-, -Tuesday-, 1, 45 ) ;<br \/>\nTattslottoGame WedsLotto = new TattslottoGame (<br \/>\n-Tattslotto-, -Wednesday-, 1, 40 ) ;<br \/>\nTatts2Game tatts2 = new Tatts2Game (-Tatts2-,<br \/>\n-everyday-, 1 , 99 ) ;<br \/>\nPowerBallGame powerBall = new PowerBallGame<br \/>\n(-PowerBall-, -Thursday-, 1 , 45 ) ;<br \/>\n\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026..\/\/ Super 66 instance<br \/>\n\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026..\/\/ Pools instance<br \/>\ngames[0] = myGame ; games[1] = OzLotto ; games[2] = WedsLotto ; games[3] = tatts2 ; games[4] = powerBall ;<br \/>\n\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026..\/\/ Super 66 instance<br \/>\n\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026..\/\/ Pools instance for (int i = 0 ; i NO_OF_GAMES ; i++)<br \/>\n{ System.out.print<br \/>\n(- ******************************************* &#8211; );<br \/>\nSystem.out.print (-Input your numbers for &#8211; + games[i].getDay( ) + &#8211; &#8211; + games[i].getName( ) + &#8211; :- &#8211; ) ;<br \/>\nString input = Keyboard.readString( ) ; games[i].collectUserInput( input );<br \/>\nSystem.out.println ( games[i] ) ;<br \/>\n}\/\/ end for<br \/>\n}\/\/end main<br \/>\nSample output<br \/>\nAn example of some output from a run of TestGames. NOTE: ALL OUTPUTS ARE ONLY SUGGESTIONS and should be used as a guide to your implementations.<br \/>\n*******************************************<br \/>\nInput your numbers for Saturday Tattslotto :- 1 2 3 3 4 78 1 5 6<br \/>\nInvalid input<br \/>\nSaturday Tattslotto numbers are:<br \/>\n31 29 1 6 10 41 supplementary numbers: 25 38<br \/>\n6 user picks between 1 and 45 are 1 2 3 4 5 6<br \/>\nNo. of winners 2 + 0 supps match<br \/>\n******************************************* Input your numbers for Tuesday OZ Lotto :- 1 2 3 4 5 6 7 Tuesday OZ Lotto numbers are:<br \/>\n2 29 19 21 36 31 40 supplementary numbers: 5 35<br \/>\n7 user picks between 1 and 45 are 1 2 3 4 5 6 7<br \/>\nNo. of winners 1 + 1 supps match<br \/>\n*******************************************<br \/>\nInput your numbers for Thursday PowerBall :- 1 2 2 3 4 5 5 Invalid input<br \/>\nThe user chosen powerball is 5 Thursday PowerBall numbers are:<br \/>\n1 32 34 5 35 33 and the POWERBALL is:- 5<br \/>\n7 user picks between 1 and 35 are<br \/>\n1 2 3 4 5 6 7 and the user chosen POWERBALL is:- 5<br \/>\nNo. of winners 2 and you have the POWERBALL etc\u2026..<br \/>\nSubmission Details<br \/>\nSubmission deadline: As stated in cover page.<br \/>\nAttach the following page to the front of your submission and submit all materials to your lecturer.<br \/>\nWhat You Have to Submit<br \/>\nEach student submits<br \/>\n1. A document detailing the design of your solution in as much detail. It should include an updated UML diagram of the inheritance hierarchy as well as the component hierarchy for the applet\u2019s appearance<br \/>\n2. The code for each class in your design. Each class listing should be fully documented commencing with a heading that includes your name, student number, date written, and lecturer\u2019s name, along with a brief description of the class. At the start of each method, there should be a comment clearly describing what the method does.<br \/>\n3. A readme.doc file with information on how to run your program. Include any extra information about your design and program that you wish the marker to know.<br \/>\n4. A word document with evidence of trial runs of your program, i.e., screen printouts of the results where you have tested all the features of your code.<br \/>\n5. Put 1, 2 ,3 and 4 together in one zipped folder. Submit this zipped folder via LMS<br \/>\nRubrics for MITS4002 Major Assignment<br \/>\n(x marks\/20 marks x 30 marks)<br \/>\nDesigning and implemen<br \/>\nting of classes applying<br \/>\nOOP<br \/>\nprinciples and constructs as per the specificati ons Excellent in applying the OOP<br \/>\nprinciples and constructs<br \/>\n.<br \/>\n(5 points) Good in applying the OOP<br \/>\nprinciples and constructs<br \/>\n.<br \/>\n(4 points) Average<br \/>\nin applying constructs and<br \/>\nmissing few OOP principles. (3 points) Poor in applying constructs and missing major OOP principles. (2 points) Attempte d but barely meets the specificati on. (1 point) Irrelevant\/No submission. (0 point)<br \/>\nCompone<br \/>\nnt hierarchy of the testGame<br \/>\nclass testGame is well<br \/>\ndeveloped<br \/>\n, and all the child classes are<br \/>\nimplemen ted. (5 points) testGame<br \/>\nis<br \/>\ndeveloped and the child classes are<br \/>\nimplemen ted. (4 points) testGame<br \/>\nis partially<br \/>\ndeveloped , and few child classes are<br \/>\nimplemen ted. (3 points) LuckyGame<br \/>\nGUI is partially developed, and one child class is implemente<br \/>\nd.<br \/>\n(2 points) Attempte d but barely meets the specificati on. (1 point) Irrelevant\/No submission. (0 point)<br \/>\nCode Executing and Error checking with required output Program executes without warnings and gives the required output. (5 points) Program executes with warnings and gives the required output. (4 points) Program executes with many warnings and gives partial output. (3 points) Program executes and gives the partial output. (2 points) Attempte d but barely meets the specificati on. (1 point) Irrelevant\/No submission\/Do esn\u2019t execute.<br \/>\n(0 point)<br \/>\nReport includes evidence of trial<br \/>\nruns and output Report includes all the evidence with relevant screensho ts.<br \/>\n(5 points) Report includes the evidence with relevant screensho ts.<br \/>\n(4 points) Report includes the evidence but missing few screensho ts.<br \/>\n(3 points) Report includes the evidence but missing major screenshots. (2 points) Attempte d but barely meets the specificati on. (1 point) Irrelevant\/No submission. (0 point)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MITS4002 OBJECT-ORIENTED SOFTWARE DEVELOPMENT Project (30%) Tattslotto Due date: Sunday Lesson 12 11:59 PM Late penalty applies on late submission, 20% per day would be\u2026<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9443],"tags":[],"class_list":["post-115617","post","type-post","status-publish","format-standard","hentry","category-phd-dissertation-help-service"],"_links":{"self":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/115617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/comments?post=115617"}],"version-history":[{"count":0,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/115617\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/media?parent=115617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/categories?post=115617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/tags?post=115617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}