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)
here is the answer for the multiple choice question The correct answer is Accessor methods These met... 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
-
A stone was dropped freely from a balloon at a height of 190 m. above the ground. The balloon is moving upward at a speed of 30 m/s. Determine the velocity of the stone as it hits the ground.
-
evaluation of the economic status of each of the E7 countries and how they provide either opportunities or threats to Tesco Two: An analysis of the E7 countries to identify the key drivers for change...
-
Provide an example of how variability can reduce capacity. Once compromised, how can capacity be restored?
-
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...
-
Luke is trying to catch a pesky animal that keeps eating vegetables from his garden. He is building a trap and needs to use a spring to close the door to his trap. He has a spring in his garage and...
-
+phy: Mail Site: ENG ENG ENG ENG ENG ENG 202 My Sea Cou My ENG + My SOLS Mail - Thomas Rick... DPEN100 Textbooks C docs.google.com/document/d/1oZv3YLp2e1-5HhAlwVIHkpKysM6JXiyX9BLINO_EeTw/edit Defence...
-
What other types of ordinary shares are there?
-
General Instrumentation Company manufactures dashboard instruments for heavy construction equipment. The firm is based in Baltimore, but operates several divisions in the United States, Canada, and...
-
Disclosure to educational institutions in which a student seeks or intends to enroll, or is currently enrolled, when the disclosure is for a purpose related to the students enrollment or transfer is...
-
In this lab we will be investigating the relationship between the height of a roller coaster and its speed. Suppose we are interested in the question; Does the height of the roller coaster relate to...
-
Develop ERD for: We have a number of teams in the NFL, and each team has a name, main stadium, and city to which it is assigned. There are numerous players on each team, but they can only play for...
-
What mechanisms are in place to guide the identification, measurement, categorization, and communication of information to stakeholders and users? Discuss differences between users and stakeholders.
-
Briefly explain the difference between accounting, finance, and engineering economics. Try to put the concepts in your own (or your team's) words and compare the concepts where appropriate.
-
Distinguish between accounting and bookkeeping - be brief and think in terms of, say, what the differences in training would need to be for employment in those professions.
-
This chapter placed emphasis on a "transaction-based perspective" related to customers. What would be different about a transaction involving an investor? What do we mean by transaction?
-
What are the major forms of a business? Why would there need to be any difference between them? What are some advantages and disadvantages to each form?
-
The CFO of an European exporter is facing a dilemma: he has some risks on the 1 year EUR / USD spot evolution (risk on the upside of the EUR / USD) but is not sure that he wants to hedge his...
-
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 information from Jefferson Company's operations is available: Required a. Prepare a multiple-step income statement. Disregard earnings per share amounts. b. Prepare a single-step income...
-
Lincoln Corporation began the year with 50,000 shares of common stock outstanding. On May 1, an additional 18,000 shares of common stock were issued. On July 1, 20,000 shares of common stock were...
-
The following summarized data are related to Kennedy Corporation's operations: Required Prepare a multiple-step income statement for Kennedy Corporation. Include earnings per share disclosure at the...
Study smarter with the SolutionInn App