Question

Programming Assignment 5: UML Diagram Objectives: After successfully completing this assignment, students will practice Object Oriented...

Programming Assignment 5: UML Diagram

Objectives: After successfully completing this assignment, students will practice Object Oriented design by creating an UML diagram for a Java program.

Program Statement: Bank System You were asked to create a simple UML diagram for a bank system. Each bank has a specific identification number, a name, and a location that needs to be stored. Tellers serve customers’ loans, checking and savings accounts. The bank must know each tellers’ name and identification number for record keeping. Each account type has a unique identification number, an opening date, a balance, and the customer’s id associated with it. Checking accounts must also store a checkbook ID. Each loan must store its identification number, type, total loan amount, remaining loan balance, interest rate, and the customer id associated with it. The bank needs to know and store each customers’ identification number, name, address, and phone number.

Once a customer enters the bank, a teller needs to be able to open an account, collect money from the customer, close an account, process a loan request, provide account information, and issue a bank ID card. The customer needs to be able to ask a general inquiry, deposit, withdraw, open and close an account, and apply for a loan.

Create a UML diagram to the best of your abilities following the information given in class. Include at least all classes, attributes, and methods mentioned and deduced from the problem. Make sure to use the standard Java naming convention for all your variables, methods, parameters, and classes. Also, remember to use the right type of arrows and notation for associations, etc.

Furthermore, although only the most important methods are generally added to UML diagrams to keep them more readable and less clogged, for this assignment you should add all constructors, getters, and setters to reinforce the concept of their importance in all Java classes.

Common mistakes to avoid:

• Not sending the right file format (JPG or PDF)

• Not adding multiplicities in all sides of connections (lines)

• Using wrong naming or syntax

• Forgetting to add one or more classes

• Not adding get-set methods

• Not adding constructor methods

• Not setting most variables as private

• Using wrong symbols or line types-arrows

• Having a confusing diagram with too many crossing lines

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Programming Assignment 5: UML Diagram Objectives: After successfully completing this assignment, students will practice Object Oriented...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Programming Assignment 6: Object Oriented Programming Due date: Check Syllabus and Canvas Objectives: After successfully completing...

    Programming Assignment 6: Object Oriented Programming Due date: Check Syllabus and Canvas Objectives: After successfully completing this assignment, students will practice Object Oriented design and programming by creating a Java program that will implement Object Oriented basic concepts. RetailItem Class: Part 1: Write a class named RetailItem that holds data about an item in a retail store. The class should have the following fields: • description. The description field references a String object that holds a brief description of the...

  • Write a Pet UML Diagram

    Create your own UML diagram — similar to the above UML diagram — for a Pet class that meets the specification below. 1. Create the fields indicated below. Use these names exactly as given for your fields. Define them in exactly this order. • name — The name of the pet, e.g., “Rufus”, “Mittens”, “Smelly”, etc. • animal — The type of pet, e.g., “dog”, “cat”, “asparagus”, etc. • age — The (integer) number of years the pet has been alive, e.g., 1,...

  • UML Class Diagram with Inheritance Objectives Use UML Correctly indicate inheritance Demonstrate permissions Understand inheritance relationships...

    UML Class Diagram with Inheritance Objectives Use UML Correctly indicate inheritance Demonstrate permissions Understand inheritance relationships Labwork Please read all of the directions carefully. You will create a UML class diagram reflecting the class hierarchy for a fictional program that manages university personnel as constructed according to the graph displayed below. You will need to think about the attributes and behaviors that are unique to each class, and also those attributes and behaviors that are common amongst the subclasses and...

  • Java Programming Exercise: Creating and implementing a UML class diagram The inventory of a library is...

    Java Programming Exercise: Creating and implementing a UML class diagram The inventory of a library is a set of media. Media can be books, CDs and films. Each medium has a unique alphanumeric ID, a title, a year of publication and the date on which it was purchased. Each book also has an author and an ISBN. For each CD the artist and the number of titles are saved. Each movie has a genre and a format: either DVD or...

  • Question 3.25 in textbook page 57. Several classes shown in Figure E3.12 have attributes that are...

    Question 3.25 in textbook page 57. Several classes shown in Figure E3.12 have attributes that are really references to other classes and could be replaced with associations. A person may have up to three companies as employers. Each person has an ID. A car is assigned an ID. Cars may be owned by persons, companies, or banks. Owner ID refers to the ID of the person, company, or bank who owns the car. A car loan may be involved in...

  • The purpose of this homework is to practice OOP programming covering Inheritance in java. The scenario...

    The purpose of this homework is to practice OOP programming covering Inheritance in java. The scenario is to design an online shopping system for a local supermarket (e.g., Europa Foods Supermarket or Wang Long Oriental Supermarket) and is mostly concentrated on the product registration system. Design and draw a UML diagram, and write the code for the following classes: ID: The identification number must start with 1 and follows with 6 numbers, e.g., “1123456”. Description, e.g. “Banana” Recommended Price per...

  • LAB1 PART 1 FOR THE DATA TYPE CLASS: If you do not have UML of class...

    LAB1 PART 1 FOR THE DATA TYPE CLASS: If you do not have UML of class Account_yourLastName, you should do that first Basesd on the UML, provide the code of data type class Account_yourLastName to hold the information of an account with account number (String), name (String), balance (double), with no-argument constructor, parameter constructor Also, define some methods to handle the tasks: open account, check current balance, deposit, withdraw, and print monthly statement. At the end of each task we...

  • Write java program The purpose of this assignment is to practice OOP with Array and Arraylist,...

    Write java program The purpose of this assignment is to practice OOP with Array and Arraylist, Class design, Interfaces and Polymorphism. Create a NetBeans project named HW3_Yourld. Develop classes for the required solutions. Important: Apply good programming practices Use meaningful variable and constant names. Provide comment describing your program purpose and major steps of your solution. Show your name, university id and section number as a comment at the start of each class. Submit to Moodle a compressed folder of...

  • *Python* INTRODUCTION: The goal of this programming assignment is to enable the student to practice object-oriented...

    *Python* INTRODUCTION: The goal of this programming assignment is to enable the student to practice object-oriented programming using classes to create objects. PROBLEM DEFINITION: Write a class named Employee that holds the following data about an employee in attributes: name, IDnumber, department, jobTitle The class should have 8 methods as follows:  For each attribute, there should be a method that takes a parameter to be assigned to the attribute. This is known as a mutator method.  For each...

  • Objective In this assignment, you will practice solving a problem using object-oriented programming and specifically, you...

    Objective In this assignment, you will practice solving a problem using object-oriented programming and specifically, you will use the concept of object aggregation (i.e., has-a relationship between objects). You will implement a Java application, called MovieApplication that could be used in the movie industry. You are asked to implement three classes: Movie, Distributor, and MovieDriver. Each of these classes is described below. Problem Description The Movie class represents a movie and has the following attributes: name (of type String), directorName...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT