Write a program in java for class name bankaccount

Assignment Help Other Subject
Reference no: EM133681981

Object-oriented programming

Part A
This is an individual assessment in which you will develop programs using Java programming concepts and OO principles based on problem definitions provided. You will be required to complete tutorial questions, laboratory exercises and a supervised programming test.
Setup your Environment or installation of Software's:
Install For Java, JDK 18, NetBeans 19 or latest version
For Python, Python 3.7.0, Atom, Jupyter or latest version
Problem Description: Comparing Loans
Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5.00% to 8.00%, with an increment of 1/8. Here is a sample run:

Design: (Describe the major steps for solving the problem.)

Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)

Output screenshot: (Paste your output screenshot here. You need to apply the currency and percentage formats as well)

Part B

Write a program in java for class name BankAccount1, by creating an instance, accessing properties using accessor methods, and modifying properties using mutator methods.

Properties/Attributes/Fields/instance variables:
Account Number (String)
Account Holder Name (String)
Balance (Double)
Account State (String) (for later use only)

Constructor
Takes all above fields as parameter
Methods:
Accessor
Mutator
Support methods (if required)
<Output>
Account Number: 123456789 Account Holder Name: John Doe Balance: 1000.0
Account State: Active

Updated Account Information:
Balance: 1500.0
Account State: Suspended
<End Output>

Design: (Describe the major steps for solving the problem.)
Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)
Output screenshot: (Paste your output screenshot here.)
Testing: (Describe how you test this program)
Submission Instructions
You will be marked based on your single PDF submitted through Turnitin on Moodle. You are most welcome to check your file with your lab tutor before your submission. No excuse will be accepted due to file corruption, absence from lecture or lab classes where details of lab requirements may be given.
Note: All work is due by the due date and time. Late submissions will be penalized at 20% of the assessment final grade per day, including weekends.

Part C

For this tutorial session, students are required to appear in practical test by demonstrating the execution of a Java program implementation loops.
Participation in person during the tutorial session is mandatory for all students. Those who do not attend the test during the tutorial session will be marked as absent.
Supervised testing during week 6 (Lab 5)/updates as week 9( date 2 may 2024)
Only one attempt is allowed.

ASSESSMENT 3:

This is a group assessment (Group Size-5). You will design and implement an application after analyzing requirements given in a case study. You are required to apply basic constructs and OO programming principles in developing this software system.
Introduction (Part A) INSTRUCTIONS:

Design a VIT Ride Management System using UML(class )diagram.

The system should allow administrators to manage users, drivers, and ride requests. The application should include the following classes:

User:

Design a class representing the user entity in the system. Include attributes such as user ID, name, contact information, and any other relevant information. Methods: Constructors, getters, and setters. Methods for user-related functionalities (e.g., registering, removing, displaying).
Driver:

Design a class representing the driver entity.

Include attributes like driver ID, name, license number, vehicle information, and availability status. Methods: Constructors, getters, and setters. Methods for driver-related functionalities (e.g., registering, removing, displaying).
Ride:

Design a class representing a ride request or allocation. Include attributes such as ride ID, user ID, driver ID, pickup location, destination, and status. Methods: Constructors, getters, and setters, Methods for ride-related functionalities (e.g., requesting, allocating, displaying).

RideManager:

Design a class to manage users, drivers, ongoing rides, and ride history. Include appropriate methods for registering, removing, and displaying users and drivers.Include methods for ride management, such as requesting rides, allocating drivers, and displaying ride history. Methods for ride management (e.g., requesting rides, allocating drivers, displaying ride history).

Main:

Contains the main method for testing the functionalities. Creates an instance of the Ride Manager class and provides a menu system to allow administrators to interact with the system.
Create Relationships:

User-Driver Relationship:

Define the relationship between the User and Driver classes to represent the association between users and drivers.

Ride-User-Driver Relationship:

Establish relationships between the Ride, User, and Driver classes to represent the associations between ride requests, users, and drivers. You may add some more relationships from your understanding.

The classes should be designed using object-oriented principles such as inheritance, encapsulation, and polymorphism. The application should allow to perform the following tasks:

Register New Users:

Implement a method to register new users for the ride service, including details such as name, student ID, and contact information.
Remove Users:

Implement a feature to remove users from the system based on their student ID.

Display All Users:

Develop a method to display a list of all users registered for the ride service.

Register New Drivers:

Implement a feature to register new drivers for the ride service, including details such as name, driver's license number, and vehicle information.
Remove Drivers:

Develop functionality to remove drivers from the system based on their driver's license number.

Display All Drivers:

Implement a method to display a list of all registered drivers available for rides.

Request a Ride:

Design functionality that allows users to request a ride by providing their current location and desired destination.

Allocate Drivers to Rides:

Implement a method to allocate available drivers to ride requests based on factors such as proximity and availability.
Display Ongoing Rides:

Develop a feature to display a list of all ongoing rides, including details about the user, driver, and current status.
Display Ride History:

Implement functionality to display a list of all completed rides, including information such as starting point, destination, and feedback.

Requirement for design

Utilize appropriate access modifiers for class attributes and methods.
Consider generalization, aggregation, Composition or dependencies, multiplicity etc
Use inheritance or interfaces where applicable to promote code reuse and maintainability.
Consider any additional classes or interfaces that may be necessary to support the outlined functionalities.
Format the report as per IEEE format including following headings:
All Figures included must have captions and Figure numbers and be referenced within the document. Captions for figures placed below the figure, captions for tables placed above the table. Include a footer with the page number. Your report should use 1.5 spacing with a 12-point Times New Roman font. Include references where appropriate

Title Page
Table of Contents
Introduction
System Description
Requirement Specifications
Functional Requirements
Non-functional Requirements
Others
Assumptions / Constraints
Class Diagram
References

Introduction (Part B)
This assignment will be completed in groups.
INSTRUCTIONS:

This assignment is an extension of assignment 3 Part A, that is the team is working on the same case study as in assignment 3 Part A, and Implement a VIT Ride Management System in Java.

Using the feedback provided by the teaching instructor, update the requirements of the VIT Ride application. Based on the conceptual class diagram of the whole system showing all classes and relationships, you are expected first to develop software application in Java implementing functionalities 1 to 10.
The system should allow administrators to manage users, drivers, and ride requests. The application should include the following classes:

User:

Instance Variables :name (String): User's name.,userID (String): User's ID, contactInformation (String): User's contact information.

Methods: Constructors, getters, and setters. Methods for user-related functionalities (e.g., registering, removing, displaying).
Driver:

Instance Variables: name (String): Driver's name, licenseNumber (String): Driver's license number, vehicleInformation (String): Driver's vehicle information.

Methods:Constructors, getters, and setters.Methods for driver-related functionalities (e.g., registering, removing, displaying).
Ride:

Instance Variables: user (User): User associated with the rid, driver (Driver): Driver assigned to the ride, currentLocation (String): Current location for the ride, destination (String): Desired destination for the ride, status (String): Current status of the ride (e.g., ongoing, completed).
Methods: Constructors, getters, and setters, Methods for ride-related functionalities (e.g., requesting, allocating, displaying).

RideManager:

Instance Variables:users (List<User>): List of registered users.drivers, (List<Driver>): List of registered drivers.,ongoingRides (List<Ride>): List of ongoing rides.,rideHistory (List<Ride>): List of completed rides.

Methods: Constructors., Methods for registering, removing, and displaying users and drivers.

Methods for ride management (e.g., requesting rides, allocating drivers, displaying ride history).

Main: Contains the main method for testing the functionalities. Creates an instance of the Ride Manager class and provides a menu system to allow administrators to interact with the system.
Register New Users:
Implement a method to register new users for the ride service, including details such as name, student ID, and contact information.
Remove Users:

Implement a feature to remove users from the system based on their student ID.

Display All Users:

Develop a method to display a list of all users registered for the ride service.

Register New Drivers:

Implement a feature to register new drivers for the ride service, including details such as name, driver's license number, and vehicle information.

Remove Drivers:

Develop functionality to remove drivers from the system based on their driver's license number.
Display All Drivers:

Implement a method to display a list of all registered drivers available for rides.

Request a Ride:

Design functionality that allows users to request a ride by providing their current location and desired destination.

Allocate Drivers to Rides:

Implement a method to allocate available drivers to ride requests based on factors such as proximity and availability.
Display Ongoing Rides:

Develop a feature to display a list of all ongoing rides, including details about the user, driver, and current status.
Display Ride History:

Implement functionality to display a list of all completed rides, including information such as starting point, destination, and feedback.

The classes should be designed using object-oriented principles such as inheritance, encapsulation, and polymorphism. The program should not use a graphical user interface (GUI) but should instead use a command-line interface.

Reference no: EM133681981

Questions Cloud

What does my supervisor say : What does my supervisor say? Does this behavior or result meet organizational standards and professional standards of ethical behavior?
How would this technology be appropriately applied : How would this technology be appropriately applied during the implementation phase of your project?
What does productivity mean to you from students perspective : What does productivity mean to you from a student's perspective and from an employee's perspective?
Critically evaluate the strategic options available : Critically evaluate the strategic options available to an organization. Deeply understand the processes available to evaluate, select and implement strategy.
Write a program in java for class name bankaccount : Write a program in java for class name BankAccount1, by creating an instance, accessing properties using accessor methods, and modifying properties using
How technology can be use to improve selecting wellness food : Explain how technology can be used to improve selecting and consuming wellness food and beverages.
Describe classroom-physical setting : Describe each classroom-physical setting, teacher- child ratio, ages of children, hours, fees, equipment (outdoor and indoor), toys, and creative materials.
What you know about your natural resource issue : Identify the natural resource issue in cross timbers. What you know about your natural resource issue, and any expected problems in managing this resource.
Share your current understanding thoughts and concerns : Share your current understanding, thoughts, concerns, and experiences regarding analytics and how it has affected your healthcare experience.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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