You just started your summer internship with NU Bank as part of its growing development team. Your  first assignment is to design and build two classes that are to be utilized in both the banks website and  internal applications. The first is a loan class representing a loan contract. The second is a customer class  representing the individual receiving the loan. You will be building the business logic classes, so you  don’t have to worry about forms for communicating with the user or data access classes to communicate  with the database. To test your classes, you will use them in a test application. The requirements for your  classes and the testing application are as follows: • You are to design and build 2 components of the Loan Processing System (LPS). There will be  one class to represent loan contracts, and another to represent customers. • Each class should have at least 2 members and 2 methods. • The LPS will need to be able to check that the customer is at least 21 years old. A method (IsEligible) should return true if the customer is 21 or older and false otherwise. An associated  method (GetAge) should return the customer’s age in years. • When assigning the customer to the loan, the assignment should be rejected if the customer is  ineligible based on age. • The following pieces of information about each business object are important to track: o Customer: ▪ Customer ID, First Name, Last Name, Email, Phone, Date of Birth o Loan: ▪ Loan ID, Agent Name, Loan Amount, Interest Rate, Customer • For purposes of testing, you will write a small application o Gather information you need about the Customer via console input o Any information you need about the Loan can be hard-coded using the constructor (__init__) or properties of the class o The application must do the following – utilizing instances of your classes: ▪ Ask the user for any needed information ▪ Allow the user to save information to the Customer object. ▪ Allow the user to retrieve information from the Customer object. ▪ Test the ‘IsEligible’ functionality and output the customer age, along with the  loan information, if the assignment of the customer to the loan succeeds

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

You just started your summer internship with NU Bank as part of its growing development team. Your 
first assignment is to design and build two classes that are to be utilized in both the banks website and 
internal applications. The first is a loan class representing a loan contract. The second is a customer class 
representing the individual receiving the loan. You will be building the business logic classes, so you 
don’t have to worry about forms for communicating with the user or data access classes to communicate 
with the database. To test your classes, you will use them in a test application. The requirements for your 
classes and the testing application are as follows:
• You are to design and build 2 components of the Loan Processing System (LPS). There will be 
one class to represent loan contracts, and another to represent customers.
• Each class should have at least 2 members and 2 methods.
• The LPS will need to be able to check that the customer is at least 21 years old. A method
(IsEligible) should return true if the customer is 21 or older and false otherwise. An associated 
method (GetAge) should return the customer’s age in years.
• When assigning the customer to the loan, the assignment should be rejected if the customer is 
ineligible based on age.
• The following pieces of information about each business object are important to track:
o Customer:
▪ Customer ID, First Name, Last Name, Email, Phone, Date of Birth
o Loan:
▪ Loan ID, Agent Name, Loan Amount, Interest Rate, Customer
• For purposes of testing, you will write a small application
o Gather information you need about the Customer via console input
o Any information you need about the Loan can be hard-coded using the constructor
(__init__) or properties of the class
o The application must do the following – utilizing instances of your classes:
▪ Ask the user for any needed information
▪ Allow the user to save information to the Customer object.
▪ Allow the user to retrieve information from the Customer object.
▪ Test the ‘IsEligible’ functionality and output the customer age, along with the 
loan information, if the assignment of the customer to the loan succeeds

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
System Model Approaches
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education