Create a text file named “IS study plan.txt” using Word or Notepad to include th
ID: 3698024 • Letter: C
Question
Create a text file named “IS study plan.txt” using Word or Notepad to include the following data:
MGT201 Principles of Management
MATH206 Selected Topics in Mathematics MATH203
CS112 Programming CS111
IS 102 Information Systems
ENG104 Technical CommunicationENG 103
CS211 Algorithms and Data Structures CS112
IS203 Information Technology Infrastructure IS102
IS251 Database Management Systems CS211, CS103
GS112 Arabic Language Skills GS111
ENG214 Technical Writing ENG104
IS242 Web Application Development1 IS251
IS244 Information Systems Analysis and Design IS251
- Create a super class named Students that includes the following:
Data fields: name, student number, email, and mobile number. All data fields are of string type. Student name and number are private data fields
Two constructors: the first constructor with no-arg, and the second constructor with the above-mentioned arguments
A method that appends the details of a new student including: name, student number, email, and mobile number.
A method that searches for the contact details of a student by his student number and then prints his name, email, and mobile number. The method has try-catch block for verifying the student number to be of 7 digits.
- Create a subclass that extends the Students class and includes the following:
Data fields: specialization (CS/IS), and semester serial number. Specialization of string type and semester serial number is of integer type. Both fields are of public type
Two constructors: the first with no-arg and the second constructor with both specialization (CS/IS), and semester serial number
A method that reads data from a text file “IS study plan.txt” and then stores data in ArrayList named “ISStudyPlan”.
A method that has three arguments: student number, specialization, and semester. The method has a try-catch block for verifying if the semester is between 1 and 10 only. It displays an error message if the entry is not within the range. The method then searches the ArrayList for the subjects in which the student should enroll for a given semester. It then prints student name, student number, and subjects for a semester. Print data with left alignment.The student is scheduled to do four subject per semester. Referring to “IS study plan.txt” file the first four subjects are for semester 1, the second four subjects are for semester 2, and the third four subjects are for semester 3.
A method that searches the ArrayList for a specific subject name and prints its full details as follows.
Subject code subject name subject prerequisite
Explanation / Answer
Give a couple of hours and i'll edit this answer with the resolution
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.