code using intelliJ. Detailed descriptions and commenting for better understanding please. Scenario EVERY UNIT/SUBJECT OFFERED IN THE
Fantastic news! We've Found the answer you've been seeking!
Question:
code using intelliJ. Detailed descriptions and commenting for better understanding please.
Transcribed Image Text:
Scenario EVERY UNIT/SUBJECT OFFERED IN THE FACULTY OF INFO TECH HAS THEIR OWN ASSESSMENT. IT CAN BE A MID-TERM TEST, CODING TASKS, ESSAY REPORT OR FINAL EXAM. YOU ARE REQUIRED TO EXTEND the UNIT JAVA CLASS BASED ON THE SPECIFICATIONS AS BELOW TASKS Task 1 (W9 to W10-10 marks) • Code the class shell and instance variables called Assessment. An Assessment instance has the following attributes: 。 assessmentName: length of 20 characters max 。 assessmentValue: The range of value must be 0 to 100% inclusive. • Code the getter/accessor methods for all the instance variables • Code the setter/mutator methods for all the instance variables. NOTE: The code must protect the integrity of the class's instance variables as required and utilise appropriate naming conventions. Task 2 (W11 - 10 marks) • Code a subclass of Unit called UnitAssessment that has additional instance variables called ○ assessmentList which is an Arraylist of Assessment's object. This array can support up to 10 types of assessment. 。 typeOfAssessment which is an Assessment's object. • A subclass's 4-parameter constructor that includes 3 instances variables from super class (unitCode, Scenario EVERY UNIT/SUBJECT OFFERED IN THE FACULTY OF INFO TECH HAS THEIR OWN ASSESSMENT. IT CAN BE A MID-TERM TEST, CODING TASKS, ESSAY REPORT OR FINAL EXAM. YOU ARE REQUIRED TO EXTEND the UNIT JAVA CLASS BASED ON THE SPECIFICATIONS AS BELOW TASKS Task 1 (W9 to W10-10 marks) • Code the class shell and instance variables called Assessment. An Assessment instance has the following attributes: 。 assessmentName: length of 20 characters max 。 assessmentValue: The range of value must be 0 to 100% inclusive. • Code the getter/accessor methods for all the instance variables • Code the setter/mutator methods for all the instance variables. NOTE: The code must protect the integrity of the class's instance variables as required and utilise appropriate naming conventions. Task 2 (W11 - 10 marks) • Code a subclass of Unit called UnitAssessment that has additional instance variables called ○ assessmentList which is an Arraylist of Assessment's object. This array can support up to 10 types of assessment. 。 typeOfAssessment which is an Assessment's object. • A subclass's 4-parameter constructor that includes 3 instances variables from super class (unitCode, Scenario EVERY UNIT/SUBJECT OFFERED IN THE FACULTY OF INFO TECH HAS THEIR OWN ASSESSMENT. IT CAN BE A MID-TERM TEST, CODING TASKS, ESSAY REPORT OR FINAL EXAM. YOU ARE REQUIRED TO EXTEND the UNIT JAVA CLASS BASED ON THE SPECIFICATIONS AS BELOW TASKS Task 1 (W9 to W10-10 marks) • Code the class shell and instance variables called Assessment. An Assessment instance has the following attributes: 。 assessmentName: length of 20 characters max 。 assessmentValue: The range of value must be 0 to 100% inclusive. • Code the getter/accessor methods for all the instance variables • Code the setter/mutator methods for all the instance variables. NOTE: The code must protect the integrity of the class's instance variables as required and utilise appropriate naming conventions. Task 2 (W11 - 10 marks) • Code a subclass of Unit called UnitAssessment that has additional instance variables called ○ assessmentList which is an Arraylist of Assessment's object. This array can support up to 10 types of assessment. 。 typeOfAssessment which is an Assessment's object. • A subclass's 4-parameter constructor that includes 3 instances variables from super class (unitCode,
Expert Answer:
Answer rating: 100% (QA)
To accomplish the tasks specified in the scenario using IntelliJ we will cre... View the full answer
Related Book For
Introduction To Leadership Concepts And Practice
ISBN: 9781544351599
5th Edition
Authors: Peter G Northouse
Posted Date:
Students also viewed these programming questions
-
The rigid beam is supported by a pin at C . ?and an A - 3 6 ?steel guy wire AB . ?The wire has a diameter of 5 0 0 ?mm . Determine the new length and diametrr of the wire AB . ?Determine also the...
-
Predictive text entry systems are familiar on touch screens and mobile phones. This question asks you to consider how the same principles might be used in a programming editor for creating Java code....
-
Let r and s be solutions to the quadratic equation x 2 b x + c = 0. For n N, define d0 = 0 d1 = r s dn = b dn1 c dn2 (n 2) Prove that dn = r n s n for all n N. [4 marks] (b) Recall that a commutative...
-
The specifications for the water supply system of the Sears Tower in Chicago require that 100 gpm of water be pumped to a reservoir at the top of the tower, which is 340 m above street level. The...
-
In Problem, graph the constant-cost lines through (9, 9) and (12,12). Use a straightedge to identify the corner point where the minimum cost occurs. Confirm your answer by constructing a corner-point...
-
Samantha just started a new IT business and is thinking of leasing a new car. A lease company offers her a deal which comprises a $20 000 payment on delivery of the vehicle, a $12.000 payment at the...
-
At each calendar year-end, Cabool Supply Co. uses the percent of accounts receivable method to es- timate bad debts. On December 31, 2005, it has outstanding accounts receivable of $53,000, and it...
-
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to account for costs of production. It produces parts in three separate departments: Molding,...
-
A pet store surveyed 420 people to see how many own a dog and how many own a cat. The Venn diagram below shows the results. (Each number gives the number of people who fall into that Venn diagram...
-
9. Write the static method hidePicture that takes two pictures (source and secret) and hides the secret in source using the algorithm previously discussed, returning the new picture. Add code to main...
-
Explain in detail (around 2000words) information of Mental Health Strategy designed to support the mental health for those within the sporting environment. The Mental Health Strategy serves as a...
-
In your opinion, what are the critical success factors of CM?
-
What does Paint by Number Engineering refer to? What are its pros and cons?
-
Describe how configuration control and change control relate to each other.
-
Describe three problems that might be solved using genetic algorithms that were not described in this chapter.
-
What is Lean Thinking?
-
Elizabeth College, a small private college, had the followingtransactions in fiscal year 2023.Gross tuition and fees revenue totaled $5,740,000. Tuitionwaivers and scholarships of $416,000 were gra 2...
-
Access the Federation of Tax Administrators Internet site at www. taxadmin.org/state-tax-forms and indicate the titles of the following state tax forms and publications: a. Minnesota Form M-100 b....
-
Vanessa Mills was recently hired to work at a branch of Lakeshore Bank as a personal banker. The branch is very busy and has a large staff, including three on-site managers. As a new employee,...
-
Based on the scores you received on the Organizational Climate Questionnaire, what are your strengths and weaknesses regarding establishing a constructive climate for a group or an organization?...
-
In this chapter, we discussed five leadership figures. As you read about these leaders, which leaders did you find most appealing? What was it about their leadership that you found remarkable?...
-
Andreas Delons Compensation. Andreas Delon is a French citizen who has been offered the position of CEO of LakePharma, a large French pharmaceuticals firm. LakePharma produces high-quality chemicals...
-
EuroVirtuals EPS Sensitivity to Exchange Rates (A). On January 15, 2015 the Swiss National Bank (SNB) decided to unpeg the franc, which was fixed at CHF1.20/ since 2011. Suppose the SNB was to...
-
EuroVirtuals Consolidated Earnings. EuroVirtual pays different tax rates for each of its country operations. a. What are its earnings per share in EUR after deducting taxes? b. What is the proportion...
Study smarter with the SolutionInn App