Anbsp build a student record managing system application by

Assignment Help JAVA Programming
Reference no: EM13347401

A.  Build a student record managing system application by doing the following:

1.  Create a Student inheritance hierarchy. This should include the following requirements:

  • Create the Student class. Student will be the super class and an abstract class. At least one method on Student will be abstract.
  • Student class holds the attributes first name, last name, student ID, GPA, status (resident or nonresident), and mentor. All attributes will be inherited by the subclasses.
  • Create appropriate overloaded constructors for the super class, Student.
  • Student has an abstract method, calculateTuition(), which will be implemented in the subclasses Undergraduate, Graduate, and Part-time, making use of the polymorphism principle.
  • Create the subclasses Undergraduate, Graduate, and Part-time, which inherit from the Student class. Each subclass will encapsulate a specialization of Student.
  • Create an abstract method, update(). When this method is called, the database entry for the student is updated.
  • Create an abstract method, add() method. When this method is called, the database entry for the student is created.
  • Create an abstract method, delete(). When this method is called, the database entry for the student is deleted.
  • Create an abstract method, query(). When this method is called, a query is made to the database to retrieve the information and is then printed to the screen.

2.  Create subclasses. This should include the following requirements:

  • Create the subclass Undergraduate, which inherits from Student. Undergraduate has the additional attribute, "level" (freshman, sophomore, junior, senior).
  • Create the subclass Graduate, which inherits from Student. Graduate has additional attributes, "thesisTitle", and "thesisAdvisor".
  • Create the subclass Part-time, which inherits from Student. Part-time students are working adults. Part-time students have an attribute, "company", which is the name of their sponsoring employer.
  • Incorporate the technique of information hiding by making appropriate attributes private and creating getters and setters to access and modify each private attribute.
  • Create overloaded constructors for each Student type. The super class constructor should be used by each subclass's constructors to set those attributes found in the super class. Create enough constructors for each class to initialize the instance variables (attributes) of an object, either by initial values passed into the constructor or default values used if none is passed in. All values passed in should be verified for validity.

3.  Implement the following methods using polymorphism. This should include the following requirements:

  • Implement calcuateTuition() method as follows:

»  Status of resident: undergraduate tuition = number of credit hours × 200

»  Status of nonresident: undergraduate tuition = number of credit hours × 400

»  Status of resident: undergraduate part time = number of credit hours × 250

»  Status of nonresident: undergraduate part time = number of credit hours × 450

»  Status of resident: graduate = number of credit hours × 300

»  Status of nonresident: graduate = number of credit hours × 350

  • Student objects should know how to display the information. Override the toString() method on each subclass. Use inheritance to display attributes provided by super class by calling super.toString() method.

4.  Override the following methods.  This should include the following requirements:

  • For each subclass, implement method query(). When this method is called, a query is made to the database to retrieve the information and then the information is printed to the screen. If appropriate, use toString() within the print() method.
  • For each subclass, implement method update(). When this method is called, the database entry for the student is updated.
  • For each subclass, implement method add() method. When this method is called, the database entry for the student is created.
  • For each subclass, implement method delete(). When this method is called, the database entry for the student is deleted.

5.  Create an application that tests the following requirements:

  • Application should allow the user to add, update, delete, and query any student type.

B.  Create UML Use Case Diagrams that could be inserted into a Software Requirement Specification (SRS) document that captures all functional requirements for this application. Use the task description in part A to elicit the requirements. You will only be required to document the functional requirements and provide Use Case diagrams. You do not have to complete a complete SRS document.

1.  Document the functional requirements with UML use case diagrams for each requirement. For each functional requirement provide the following:

  • Requirement number and title
  • Description of the functionality
  • Input
  • Results of processing or output
  • Error handling or recovering requirements outlined
  • UML use case diagrams (It is very important that your UML use case diagrams are complete and proper UML 2.0 Modeling notation is used.)

C.  Create UML Class and Sequence Diagrams that could be inserted into a Software Design Specification (SDS) document. (It is very important that your UML diagrams are complete and proper UML 2.0 Modeling notation is used. Your design must be an object-oriented design.) You will only be required to submit the class and sequence diagrams and not have to complete a SDS document.

1.  Your UML Diagrams should include the following:

a.  Comprehensive Class Diagrams: Show all classes and all relationships among all classes. These should include the following:

  • Relationships: Your object oriented design will require you to diagram all class relationships using correct UML 2.0 Modeling notation which minimally includes:

»  Inheritance

»  Association Relationships

  • Multiplicity: Note any multiplicity in the relationships (e.g., 1-1, 1-many, etc.) using correct UML 2.0 Modeling notation.
  • Attributes: For each class, all attributes with types (e.g., int, double, etc.) and access control (e.g., private, public, protected) need to be noted using proper UML 2.0 Modeling notation.
  • Methods: Methods with signatures and access control should be provided. All methods have to be indicated, including all constructors, setters, and getters.
  • Abstract Classes and Interfaces: Any abstract classes and interfaces used in your design must be properly indicated using UML 2.0 Modeling notation.

b.  Sequence Diagrams: Model the object interactions required for each functional scenario. For each Use Case provided in the functional requirements section, at least one sequence diagram should be provided to model the interaction between the objects inside the application.

D.  Develop a test plan that includes test cases that test all functional requirements of the system.

1.  The test plan should include at least the following sections:

  • Title Page
  • Introduction: Brief description (suggested length of 1-2 paragraphs) of the application under test
  • Overview of Testing Strategy: See part D1a.
  • Resource Requirements: Discuss hardware and software required to complete the test plan.
  • List of Features to Test: A simple table is sufficient. If features are numbered, the feature number can be used in your test cases.
  • Acceptance Criteria: Identify the standards that must be met when considering if the application is ready for release. In your case, this means that the application should be ready to be submitted for grading.
  • Test Cases: Should be submitted as an appendix to the test plan

a.  In the "Overview of Testing Strategy" section, compare white box testing, black box testing, unit testing, and integration testing and how they can be used to verify your application.

  • Identify which testing strategy you will use.

2.  Execute the test plan, including running all test cases.

a.  Discuss the results of each test case in the "Test Cases" section.

Reference no: EM13347401

Questions Cloud

Write a report on one of the two following topics1 discuss : write a report on one of the two following topics1 discuss the different agencies institutes centers and other national
1 the tiger company has an opportunity to make an : 1 the tiger company has an opportunity to make an investment with the following estimated after tax cash flows-year
Question 1 - the table sets out the demand and supply : question 1 - the table sets out the demand and supply schedules for chewing gum.pricecents per packquantity
Lvmh moeumlt hennessy louis vuitton the worlds leading : lvmh moeumlt hennessy louis vuitton the worlds leading luxury products group recorded revenue of euro28.1 billion in
Anbsp build a student record managing system application by : a.nbsp build a student record managing system application by doing the following1.nbsp create a student inheritance
1 process solutions provides a computer-based document : 1 process solutions provides a computer-based document processing service. the accountant has produced the following
Many bridge designs today contain simple geometrical : many bridge designs today contain simple geometrical components but are constructed into complex ways to ensure that
Question 1 for each sentence below state whether the : question 1 for each sentence below state whether the modifiers that follow the verb are complements or adjuncts.i
Aimthe problem and implementing the design using principles : aimthe problem and implementing the design using principles of correct syntax program structure and

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write an application named us insurance

Write an application named UseInsurance that uses an abstract Insurance class and Health and Life subclasses to display different types of insurance policies and the cost per month.

  Write java dice program

write java dice program.

  Write a java sorting application with two classes

Problem. Write a Java Sorting Application with two classes, JavaSort and JavaSortTest. Your JavaSort Class, as a minimum must contain sorting methods for BubbleSort, InsertionSort, ShellSort, MergeSort, and QuickSort.

  Write a java program to read sequences of integers

Write a Java program to read sequences of integers from a text file, build a binary search tree for each sequence by inserting numbers in the sequence one after another into the search tree, and plot a picture of the finished tree.

  Program that allows the user to enter the last names

Write a program that allows the user to enter the last names of 5 candidates in a college election and the votes received by each candidate. The program should then output each candidates name, the votes reveived by that candidate

  Class to initialize values

Create a constructor that allows a user of the class to initialize values. Also create a method named SetJustSold()(Hint ++) that increments the number of hot dogs the stand has sold by one and should also increase the TotalSold by one

  How to link different classes forms

How to link different classes forms. When a person clicks on A, B, or C the program will go to the addEmployee form or Punch In/Out form in Java.

  Allows the user to enter a temperature and whether

Write a program that allows the user to enter a temperature and whether the temperature is stated in Celsius or Fahrenheit...or whethe

  Achieve these two important features

Java TM is a portable language, and being an object-oriented programming language, it also encourages component reusability. How does Java TM achieve these two important features

  Implement a thread for each creature representing a task

Implement a threads and a GUI interface using advanced Java Swing classes.

  Make a row with different string names

How do you make a row with different string names and put a certain amount of space between each one?

  Write the method called print triangle type.

Write the method called printTriangleType. This method accepts three integer arguments representing the lengths of the sides of a triangle and prints the type of triangle that these sides form. Here are some sample calls to printTriangleType

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd