Write a program using Java based on the following scenario/instructions: 1. Create object class Student comprises...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program using Java based on the following scenario/instructions: 1. Create object class Student comprises of Name (String), Matric No. (String), INARSIS (String), hand phone number (String), Current Semeter (int), Programme (String), and College (String). The class must have a constructor, accessor, mutator, Display StudentInfo(), Search StudentInfo(matricNo), Update StudentInfo(matricNo). Create Class Node (to create new Node and related Node constructors) and Class StudentList (to create linked list, display all student records, se arch students, etc) (Attention: If you are using Java Framework - ADT for Linked List you do not have to include class Node) 2. Your program must be able to: a. Input student information (Name, Matric No., INARSIS, hand phone number, current semester, programme, and college. b. Display student information as below: Student Name Matric No Semester Programme 1. Aida Binti Arif 11111 2. Mala a/p Arumugan 12341 3. Bryan Ooi Teng Yi 13256 +23 4 BSc IT BSc MMTC BSc in Statistic (Please display at least 5 records) c. Search student information based on matric number in the StudentList. d. Update student information based on matric number, search the student information from StudentList then display the student information. Then allow user to update any information and save back the updated information (search from StudentList, get the student's record and display, then allow user to update the information and save back the updated information). Submission materials: 1) Present the program source code (must able to execute), and the output on the 23 June 2022. 2) Submit the softcopy (Cover page of the assignment: state clearly Assignment 2, your name and matric no, source code and output) in the submission folder in the Online Learning. Write a program using Java based on the following scenario/instructions: 1. Create object class Student comprises of Name (String), Matric No. (String), INARSIS (String), hand phone number (String), Current Semeter (int), Programme (String), and College (String). The class must have a constructor, accessor, mutator, Display StudentInfo(), Search StudentInfo(matricNo), Update StudentInfo(matricNo). Create Class Node (to create new Node and related Node constructors) and Class StudentList (to create linked list, display all student records, se arch students, etc) (Attention: If you are using Java Framework - ADT for Linked List you do not have to include class Node) 2. Your program must be able to: a. Input student information (Name, Matric No., INARSIS, hand phone number, current semester, programme, and college. b. Display student information as below: Student Name Matric No Semester Programme 1. Aida Binti Arif 11111 2. Mala a/p Arumugan 12341 3. Bryan Ooi Teng Yi 13256 +23 4 BSc IT BSc MMTC BSc in Statistic (Please display at least 5 records) c. Search student information based on matric number in the StudentList. d. Update student information based on matric number, search the student information from StudentList then display the student information. Then allow user to update any information and save back the updated information (search from StudentList, get the student's record and display, then allow user to update the information and save back the updated information). Submission materials: 1) Present the program source code (must able to execute), and the output on the 23 June 2022. 2) Submit the softcopy (Cover page of the assignment: state clearly Assignment 2, your name and matric no, source code and output) in the submission folder in the Online Learning.
Expert Answer:
Answer rating: 100% (QA)
Java is a huge level a classbased objectarranged programming language that is planned to have as hardly any execution conditions as could truly be anticipated It is a generally valuable programming la... View the full answer
Related Book For
Intermediate accounting
ISBN: 978-0077647094
7th edition
Authors: J. David Spiceland, James Sepe, Mark Nelson
Posted Date:
Students also viewed these programming questions
-
123 Compare the purely graphical properties of these two notations, and the ways in which the graphical properties of each display correspond to the information structure being defined. Describe...
-
for the equality test for M and N. The question concerns how to represent multisets of strings within ML. For each of the given data representations (a), (b) and (c) describe how you would implement...
-
A machine was sold in December 20x3 for $13,000. It was purchased in January 20x1 for $19,000, and depreciation of $16,000 was recorded from the date of purchase through the date of disposal....
-
The 2008 fiscal policy package included roughly $100 billion in tax rebates that were mailed to taxpayers. By how much would aggregate demand shift (a) Initially (b) Ultimately as a result of these...
-
Prove each of the following identities. csc x - cos x cot x = sin x
-
Petitioner Christy Brzonkala met respondents Antonio Morrison and James Crawford at a campus party at Virginia Polytechnic Institute (Virginia Tech), where they were all students. At the party, the...
-
The Rent-A-Dent car rental company allows its customers to pick up a rental car at one location and return it to any of its locations. Currently, two locations (1 and 2) have 16 and 18 surplus cars,...
-
Suppose your starting salary is $50,000. You would like to open a savings account to save for your retirement and any large future expenses. Most Economists agree that you should allocate 20% of your...
-
Mr. Geoffrey Guo had a variety of transactions during the 2019 year. Determine the total taxable capital gains included in Mr. Guo's division B income. The transactions included:? 1. On January 1,...
-
acob is going to make semi-annual payments of $650 into an account that pays 15% per annum with semi-annual compounding. His first payment is six months from now. How long until Jacob has saved...
-
A golf ball is driven at 40.0 m/s at an angle of 18 degrees to the horizontal How long (time) is the ball in the air? Find the horizontal displacement (range) of the ball How far will the ball...
-
Orr Company makes and sells a single product. The company is in the process of preparing a direct materials purchases budget and has provided the following information: 1. It takes three yards of...
-
Kwan works for a research group. For their next publication, their boss tells them that they just need to produce a significant finding. He gives the group plenty of time so that they can develop a...
-
Write a function makeCheckers that takes in a 2D array and two characters and stores a checkered shape in the array. Example: char1 = '+' char2 = '0' 2D Array after function call: +0+0+0 0+0+0+...
-
A manufacturing company's equipment is quite old and not as efficient anymore. The manager must decide if he should purchase new equipment or improve the old equipment. The equipment will produce a...
-
Dalya's annual salary of $51,000 is paid bi-woekly, based on an average of 52 weeks in a year. What hourly rate would he be paid for overtime at double-time it hes work week is 30 hours? For full...
-
President Lee Coone has asked you to continue planning for an integrated corporate NDAS network. Ultimately, this network will link all the offices with the Tampa head office and become the...
-
On December 31, 2013, the end of the fiscal year, California Microtech Corporation completed the sale of its semiconductor business for $10 million. The business segment qualifies as a component of...
-
Air FranceKLM (AF), a French company, prepares its financial statements according to International Financial Reporting Standards. AFs annual report for the year ended March 31, 2011, which includes...
-
In the situation described in BE 1515, what will be the effect of the lease on Crescents earnings for the first year (ignore taxes)?
-
Division A has been offered a project costing $\$ 100,000$ and giving annual returns of $\$ 20,000$. Division $B$ has been offered a project costing $\$ 100,000$ and giving annual returns of $\$...
-
An investment centre has reported a profit of $\$ 28,000$. It has the following assets and liabilities: The $\mathrm{ROI}$ for the division is $\$$ __________________ $\%$. $ Non-current assets (at...
-
Nielsen Ltd has two divisions with the following information: Division A has been offered a project costing $\$ 100,000$ and giving annual returns of $\$ 20,000$. Division $B$ has been offered a...
Study smarter with the SolutionInn App