Hi, I need help with this assignment, just a heads up that the score is generated using
Fantastic news! We've Found the answer you've been seeking!
Question:
Hi, I need help with this assignment, just a heads up that the score is generated using .random. and no user data input is required.
Transcribed Image Text:
In this assignment, we will design a system for Miss World competition. Miss World competition involves in three qualifying rounds: interview, swimsuit, and evening gown competitions. The best 5, probably, will enter to the final round to decide the final winners; but we are only interested in the qualifying round for this assignment to decide the ranking of all the beautiful ladies representing their countries. Let us look at a simple UML diagram for this assignment: Country -String name -String missName Q-int age 11name MissWorld + static in1 SIZE -Country name -double score -double ef -double 1s -String name -String missName -int age 1..1 Three classes: Country class, MissWorld class and a main class. We will look at their details later. Convenient to your design, additional class(es) and methods is/are allowed; additional instance variables ARE NOT ALLOWED. Let us now look at the detail of each class. Basically each class has private instance variables, constructors, accessor methods, mutator methods and some other methods related to the class(es). Methods are either public or private; you should specify them clearly in your implementation. Let us start with the Country class: Country Your Name A3 -final Strinell Countries -final Strinell Titles +Country(String name, String missName, int age) +String getName( +String getMissName( +int getAge( +void setInfo(String name, String missName, int age) It is a simple class consisting of three private instance variables: name (of a country), missName (name of contestant) and age (of contestant). A constructor to initialize the instance variables, some accessor methods and a mutator method. Additional methods are allowed. Additional instance variables or any change to instance variables are not allowed. In this assignment, we will design a system for Miss World competition. Miss World competition involves in three qualifying rounds: interview, swimsuit, and evening gown competitions. The best 5, probably, will enter to the final round to decide the final winners; but we are only interested in the qualifying round for this assignment to decide the ranking of all the beautiful ladies representing their countries. Let us look at a simple UML diagram for this assignment: Country -String name -String missName Q-int age 11name MissWorld + static in1 SIZE -Country name -double score -double ef -double 1s -String name -String missName -int age 1..1 Three classes: Country class, MissWorld class and a main class. We will look at their details later. Convenient to your design, additional class(es) and methods is/are allowed; additional instance variables ARE NOT ALLOWED. Let us now look at the detail of each class. Basically each class has private instance variables, constructors, accessor methods, mutator methods and some other methods related to the class(es). Methods are either public or private; you should specify them clearly in your implementation. Let us start with the Country class: Country Your Name A3 -final Strinell Countries -final Strinell Titles +Country(String name, String missName, int age) +String getName( +String getMissName( +int getAge( +void setInfo(String name, String missName, int age) It is a simple class consisting of three private instance variables: name (of a country), missName (name of contestant) and age (of contestant). A constructor to initialize the instance variables, some accessor methods and a mutator method. Additional methods are allowed. Additional instance variables or any change to instance variables are not allowed.
Expert Answer:
Answer rating: 100% (QA)
Step 1 The structure and requirements for a programming assignment related to modeling the Miss World competition using objectoriented programming concepts I can help you with this by providing a more ... View the full answer
Related Book For
Managerial Accounting Decision Making and Performance Management
ISBN: 978-0273764489
4th edition
Authors: Ray Proctor
Posted Date:
Students also viewed these programming questions
-
In 2014, Elbert Corporation had net cash provided by operating activities of $531,000; net cash used by investing activities of $963,000; and net cash provided by financing activities of $585,000. At...
-
Para-Legal Services Inc. specializes in providing legal services. On July 31, 2012, the company's general ledger showed the following balances: Cash $4,000; Accounts Receivable $1,500; Supplies $500;...
-
Find the measure of each marked angle. (10r + 7) - +7) (7x + 3)
-
In 1970, Rose Mary Knick purchased 90 acres of land in Scott Township, Lackawanna County, Pennsylvania. In 2008, another resident of Scott Township discovered documents that suggested that one of...
-
Multiple Choice Questions The following items apply to determining sample sizes using random sampling from large populations for attributes sampling. Select the most appropriate response for each...
-
Calculate the total billing amount for Jonas and his associate for their ( 1 ) first client assessment session and ( 2 ) second client assessment session. State whether they are the same or different...
-
For the system given in Figure Q.4, W a) Locate the control volumes. Write the boundary conditions and explain the reasons basing on motions of the molecules. c) Write the balance equations. b) d)...
-
what extent do norms reflect power dynamics and social hierarchies within societies, and how do they reinforce or challenge existing structures of privilege and oppression?
-
Please develop/provide an example scenario that illustrates the place that still exists in the Project Management landscape for formal structured Project Management that places an emphasis on...
-
Critically discuss the efficacy of the current corporate rules on directors' duties. This is question from UK COMPANY LAW provide some details and acts that would assist this.
-
A body corporate is a legal person that is created and given recognition by the law. The court first recognized the company as an individual having separate legal personality in the case of Solomon v...
-
The workplace has evolved throughout the years. Today, organizations must adhere to several laws and regulations while maintaining a positive, safe, and diverse environment to be competitive. When we...
-
Use the following FACTS: You have $1 million to invest: The spot bid quote for the euro () is $1.19 The spot ask a quote for the euro is $1.24 The 180-day forward rate (bid) of the euro is $1.19 The...
-
A local politician is concerned that a program for the homeless in her city is discriminating against blacks and other minorities. The following data were taken from a random sample of black and...
-
Carbotest Corporation manufactures equipment to test for the presence of carbon monoxide in confined spaces. It has just been offered a contract to build some specialized monitoring equipment to test...
-
The Eldave Advertising Agency has been working on a campaign for Greenpoint Leisure Limited for the last four months. The campaign is for Greenpoints eco-friendly holidays in South America and uses...
-
ST plc produces three types of processed foods for a leading food retailer. The company has three processing departments (Preparation, Cooking and Packaging). After recognizing that the overheads...
-
The following are some costs incurred by a shoe manufacturer. Decide whether each one is a fixed cost or a variable cost or has some element of both. (a) The cost of leather; (b) The fee paid to an...
-
Why does the marginal cost curve pass through the bottom of the average cost curve and the average variable cost curve?
-
Outline the main factors that might influence the size of the profit mark-up set by a business.
Study smarter with the SolutionInn App