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
-
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...
-
If there were no such thing as recombination, would the offspring of two parents all be identical? Why or why not?
-
AC-3 puts back on the queue every arc (Xk, Xi) whenever any value is deleted from the domain of Xi, even if each value of Xk is consistent with several remaining values of X. Suppose that, for every...
-
Distinguish stochastic models from deterministic models.
-
LifeTyme Publishers Inc., budgeted production of 191,900 diaries in 2014. Each diary requires assembly. Assume that nine minutes are required to assemble each diary. If assembly labor costs $ 16.00...
-
Sample Company Account Question You are provided with the trial balance of Twirl Ltd. as at 31st December 2019: Bank 78,000 Ordinary shares at 1 each Retained earnings at 1st January 2019 216,000...
-
Harper Morgan owns White Mountain Assessments in Laconia, New Hampshire. The standard workweek is 40 hours. For the weekly payroll ending September 9, 2022, checks dated September 14, 2022, complete...
-
A particle's two-dimensional position is given by [(5t2 - 3t) i + (6t + 4t-5) j] m a. What is its velocity at t = 5 s? Give in unit vector notation. (5 pts.)
-
A toy rocket follows a parabolic path. The height of the rocket f(x), in feet, can be modeled by f(x) =-0.04x + 4x where x represents the rocket's horizontal distance in feet. Find the maximum height...
-
How does the globalization of media industries intersect with issues of cultural imperialism, hybridization, and resistance, and what impact does this have on local and transnational flows of...
-
The price for one share of Apple Inc. was at roughly $ 1 . 0 5 * at the beginning of 2 0 0 3 . What would the share price be at the end of 2 0 1 9 assuming a return rate of 2 0 % per year? 1 b )...
-
How does the globalization of media industries and flows facilitate both cultural exchange and cultural imperialism, and what are the implications for cultural diversity, identity, and globalization ?
-
How do theories of media effects, such as agenda-setting, framing, and cultivation, inform our understanding of the relationship between media exposure and attitudes, beliefs, and behaviors?
-
You are a partner of the CPA firm London and Paris LLP. The CPA firm is a prestigious regional firm in Mid-west US. You are required to conduct an independent review of audits completed by the firm,...
-
Refer to Example 9.15. Add the following functionality to this program: Allow the user to enter the cost of a gallon of gas on each trip and use a function, Cost() to calculate the cost of purchasing...
-
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?...
-
Acne Medication and Gastrointestinal Injury Since 1999, Kamie Kendall had experienced ongoing abdominal pain, and she was eventually diagnosed with ulcerative colitis and irritable bowel syndrome...
-
CMS is a claims processing company in Mobile, Alabama. Chastity Jones, a black woman, completed an online employment application for a customer service position with CMS. Jones interviewed with a...
-
In 2014, political consulting firm Cambridge Analytica developed an app designed to create digital profiles of individuals via their information. Cambridge Analytica collected the data by inviting...
Study smarter with the SolutionInn App