0% found this document useful (0 votes)
13 views15 pages

JavaInhouse (Kuldeep 22BCS12954)

The project report details the design and implementation of two Java-based systems: a Video Rental Inventory System and an Interest Calculator, aimed at managing video rentals and calculating interest for various bank accounts, respectively. It addresses key challenges such as data management, user experience, and compliance with regulations while employing object-oriented programming principles. The report includes sections on system requirements, design flow, and testing, showcasing practical applications of Java in real-world scenarios.

Uploaded by

7351320178k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views15 pages

JavaInhouse (Kuldeep 22BCS12954)

The project report details the design and implementation of two Java-based systems: a Video Rental Inventory System and an Interest Calculator, aimed at managing video rentals and calculating interest for various bank accounts, respectively. It addresses key challenges such as data management, user experience, and compliance with regulations while employing object-oriented programming principles. The report includes sections on system requirements, design flow, and testing, showcasing practical applications of Java in real-world scenarios.

Uploaded by

7351320178k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

A PROJECT REPORT

Submitted by

Kuldeep Singh Rajput (22BCS12954)

in partial fulfillment for the award of the degree of

BACHELOR OF ENGINEERING

IN

COMPUTER SCIENCE ENGINEERING

Chandigarh University

JULY 2024

pg. 1
BONAFIDE CERTIFICATE

Certified that this project report “A Video Rental Inventory System and
Interest Calculator” is the bonafide work of “ Kuldeep singh” who carried
out the project work under my/our supervision.

SUPERVISOR
Ankita Sharma
Assistant Professor

pg. 2
TABLE OF CONTENTS
List of Tables ....................................................................................................... 3
Abstract................................................................................................................ 4

Chapter 1. INTRODUCTION ............................................................................5

1.1 Statement ........................................................................................................ 5

1.2 Identification of Problem ............................................................................. 5

1.3 Scope of Work ............................................................................................... 6

Chapter 2. LITERARURE REVIEW ................................................................8

Chapter 3. DESIGN FLOW ............................................................................... 11

3.1. Design Constraints and Table Structure .................................................... 11

3.2. Use Case Diagram ........................................................................................ 12

Chapter 4. RESULTS ANALYSIS AND VALIDATION ................................ 13

Chapter 5. CONCLUSION AND FUTURE WORK ....................................... 14

References ........................................................................................................... 15

List of Tables

Table 1 .................................................................................................................. 9
Table 2 .................................................................................................................. 10
Table 3 .................................................................................................................. 10
Table 4 .................................................................................................................. 10

pg. 3
ABSTRACT
This report presents the design and implementation of two Java based systems: "A Video Rental
Inventory System" and an "Interest Calculator." The Video Rental Inventory System is created to
manage the inventory of a small video rental store, encompassing functionalities such as tracking video
rentals, returns, and user ratings. The system employs object oriented principles, defining classes for
videos and the video store, and implementing methods for inventory management and user interactions.
The Interest Calculator system calculates interest for various bank account types, considering factors
like the account type, the account holder's age, and the account duration. It involves creating an abstract
account class and specific subclasses for fixed deposits (FD), savings bank (SB), and recurring deposits
(RD). Method overriding is used to tailor interest calculations, and user defined exceptions handle
invalid inputs.

Through these projects, we explore key concepts in object oriented programming, such as class
inheritance, encapsulation, and polymorphism. By addressing real world scenarios, these
implementations demonstrate the practical application of Java in developing robust, efficient, and user
friendly systems.
CHAPTER 1

INTRODUCTION

This report explores the design and implementation of two Java based systems: "A Video Rental
Inventory System" and an "Interest Calculator." These systems showcase the application of object
oriented programming (OOP) principles to address specific real world requirements.

A Video Rental Inventory System


The Video Rental Inventory System aims to facilitate the management of a small video rental store's
inventory. It includes functionalities to track video titles, manage their availability (checked out or not),
collect and update user ratings, and list the current inventory. This system utilizes Java classes to model
videos and the video store, implementing methods for adding new videos, checking out and returning
videos, and recording user ratings. A launcher class tests the integration and functionality of these
components.

Interest Calculator
The Interest Calculator system provides a solution for calculating interest rates across different types of
bank accounts: Fixed Deposits (FD), Savings Bank (SB), and Recurring Deposits (RD). Depending on
factors such as the account type, account holder's age, and duration, the system computes interest gains
using specific rate tables. It employs an abstract account class with subclasses for each account type,
employing method overriding to customize interest calculations. User defined exceptions handle invalid
inputs to ensure robustness and reliability.

These systems illustrate how Java's OOP features like inheritance, polymorphism, and encapsulation
can be leveraged to develop efficient and scalable solutions for diverse application domains. The
following sections detail the design, implementation, and testing of each system, providing insights into
their architecture and functionality.

1.2. Identification of Problem:

In the development and implementation of the Video Rental Inventory System and the Interest
Calculator, several key problems and challenges can be identified:

1. Data Management and Security:


• Problem: Ensuring secure storage and management of sensitive customer data,
including rental history, user ratings, and financial information.
• Impact: Potential risks include data breaches, privacy violations, and non
compliance with data protection regulations, leading to legal and reputational
consequences.
2. Accuracy and Reliability of Calculations:
pg. 5
• Problem: Achieving precise calculations of interest rates based on complex factors
such as account type, holder's age, and duration in the Interest Calculator.
• Impact: Inaccurate calculations can lead to financial losses, customer
dissatisfaction, and regulatory non compliance, undermining trust and reliability.
3. User Experience and Interface Design:
• Problem: Designing intuitive user interfaces for both systems to ensure ease of use
and accessibility for diverse user groups.
• Impact: Poorly designed interfaces can result in user frustration, errors in data entry,
and decreased efficiency, affecting overall system adoption and user satisfaction.
4. Integration of Technology and System Compatibility:
• Problem: Integrating diverse technologies and ensuring compatibility across
platforms and devices for seamless operation.
• Impact: Technical issues, system downtime, and interoperability challenges may
hinder system performance, disrupt operations, and increase maintenance costs.
5. Ethical and Regulatory Compliance:
• Problem: Addressing ethical considerations in data handling, algorithmic decision
making, and financial calculations.
• Impact: Non compliance with ethical standards and regulatory requirements can
lead to legal liabilities, penalties, and damage to organizational reputation and trust
among stakeholders.

1.3 Scope of Work:


The scope of work for developing and implementing the Video Rental Inventory System and the Interest
Calculator encompasses the following key aspects:

1. System Requirements Definition:


• Define functional and non functional requirements for each system, including
features such as video management, rental tracking, user rating, interest calculation,
and account management.
2. Design and Architecture:
• Design object oriented class structures for both systems using Java, ensuring
modularity, scalability, and reusability.
• Implement appropriate design patterns to address specific system requirements, such
as Factory Method for creating account instances in the Interest Calculator.
3. Implementation:
• Develop Java classes and methods to support core functionalities, including adding
videos, checking out and returning videos in the Video Rental Inventory System, and
calculating interest based on account type and user inputs in the Interest Calculator.
Implement error handling mechanisms to manage exceptions and validate user inputs
to ensure system robustness and reliability.
4. User Interface (UI) Design:
• Design intuitive and user friendly interfaces for both systems, focusing on ease of
navigation, clarity of information presentation, and responsiveness across different
devices and screen sizes.
5. Data Management and Security:

pg. 6
• Implement secure data storage mechanisms and encryption techniques to protect
sensitive user data, adhering to data privacy regulations (e.g., GDPR, CCPA) in the
Video Rental Inventory System and financial data in the Interest Calculator.
6. Testing and Quality Assurance:
• Conduct unit testing to validate the functionality of individual components and
integration testing to ensure seamless interaction between modules.
• Perform usability testing to evaluate the user experience and identify areas for
improvement in interface design and system usability.
7. Documentation and Reporting:
• Prepare comprehensive documentation, including system architecture diagrams,
class diagrams, user manuals, and technical documentation for future maintenance
and support.
• Generate reports summarizing system functionality, test results, and compliance with
project requirements and objectives.
8. Deployment and Maintenance:
• Deploy the systems in a production environment, ensuring compatibility with
existing infrastructure and performing post deployment testing to verify system
performance and stability.
• Establish a maintenance plan to address bugs, updates, and enhancements based on
user feedback and changing business requirements.

pg. 7
CHAPTER 2
LITERATURE REVIEW
Inventory Management Systems
Inventory management systems play a critical role in optimizing operations across retail and rental
industries. Effective inventory control involves tracking stock levels, managing orders, and minimizing
costs while ensuring product availability (Kumar & Kumar, 2014). Modern systems integrate barcode
scanning, RFID technology, and real time data analytics to streamline processes and enhance efficiency
(Sanders, 2019).

User Interface (UI) Design and User Experience (UX)


UI/UX design principles focus on creating intuitive interfaces that enhance user satisfaction and
productivity. Usability studies emphasize simplicity, consistency, and accessibility in interface design
to accommodate diverse user needs (Norman, 2013). Empirical research underscores the importance of
user centered design practices, iterative prototyping, and usability testing to optimize user interactions
and maximize system usability (Nielsen, 1993).

Financial Calculations and Banking Systems


Financial calculations, particularly interest rate computation in banking systems, are crucial for accurate
financial forecasting and decision making. Fixed deposits (FD), savings accounts, and recurring
deposits (RD) require precise interest calculations based on factors such as account type, duration, and
customer demographics (Agarwal & Jain, 2014). Advanced algorithms and regulatory compliance
ensure transparency and reliability in financial transactions (DeLone & McLean, 2003).

Data Security and Privacy


Data security concerns in software systems encompass safeguarding sensitive user information and
complying with data protection regulations. Encryption techniques, access control mechanisms, and
audit trails mitigate cybersecurity risks and ensure confidentiality (Whitman & Mattord, 2019). Legal
frameworks such as GDPR and CCPA mandate stringent data handling practices to protect user privacy
and prevent unauthorized access (Kuner, 2013).

Emerging Technologies and Trends


Emerging technologies such as artificial intelligence (AI) and blockchain are transforming software
development practices. AI algorithms enhance predictive analytics, personalization, and automation in
system functionalities (Russell & Norvig, 2021). Blockchain technology offers decentralized data
management and secure transaction processing, promising enhanced transparency and trust in digital
transactions (Swan, 2015).

pg. 8
CHAPTER 3

DESIGN FLOW

3.1 Design Constraints and Table Structure:

Design constraints and table structures play a crucial role in shaping the architecture and functionality
of the Video Rental Inventory System and the Interest Calculator. Here’s an overview of design
constraints and a proposed table structure for both systems:

Design Constraints

1. Data Security and Privacy:


• Ensure compliance with data protection regulations (e.g., GDPR, CCPA) by
implementing encryption, access controls, and secure data storage mechanisms.
• Limit access to sensitive information such as user profiles, financial transactions, and
rental histories based on user roles and permissions.
2. Scalability and Performance:
• Design systems that can handle increasing volumes of data and user transactions
without compromising performance.
• Implement efficient data indexing, caching strategies, and database optimization
techniques to enhance system scalability.
3. Compatibility and Integration: o Ensure compatibility with existing IT infrastructure,
including hardware, operating systems, and third party software.
• Facilitate seamless integration with external systems (e.g., payment gateways,
customer relationship management tools) through standardized APIs and data
exchange protocols.
4. User Interface (UI) and User Experience (UX): o Design intuitive and responsive user
interfaces that cater to diverse user needs and preferences.
• Conduct usability testing and gather user feedback to iteratively improve UI design
and enhance overall user experience.
5. Regulatory and Legal Compliance: o Adhere to industry specific regulations and standards
governing financial transactions, data privacy, and consumer protection.
• Implement audit trails, logging mechanisms, and compliance checks to ensure
adherence to legal requirements and mitigate risks.

Table Structure Proposal

• Customer Table (for both systems, managing user accounts):


+ + + + + + +
| Field | Type | Null | Key | Default | Extra |
+ + + + + + +
| customer id | int | NO | PRI | NULL | auto increment |
| username | varchar(50) | YES | UNI | NULL | |
| password | varchar(255) | YES | | NULL | |

pg. 9
| email | varchar(100) | YES | | NULL | |
| role | varchar(20) | YES | | customer| |

• Interest Rates Table (for Interest Calculator, managing FD and RD rates):


+ + + + + + +
| Field | Type | Null | Key | Default | Extra |
+ + + + + + +
| rate id | int | NO | PRI | NULL | auto increment |
| account type | varchar(50) | YES | | NULL | |
| maturity | varchar(50) | YES | | NULL | |
| general rate | double | YES | | NULL | |
| senior rate | double | YES | | NULL | |
+ + + + + + +

• Transaction History Table (for both systems, recording rental transactions and financial
activities):
+ + + + + + +
| Field | Type | Null | Key | Default | Extra |
+ + + + + + +
| id | int | NO | PRI | NULL | auto increment |
| customer id | int | YES | | NULL | |
| video id | int | YES | | NULL | |
| type | varchar(50) | YES | | NULL | |
| date | datetime | YES | | NULL | |
+ + + + + + +

• User Ratings Table (for Video Rental Inventory System, managing user ratings for videos):
+ + + + + + +
| Field | Type | Null | Key | Default | Extra |
+ + + + + + +
| rating id | int | NO | PRI | NULL | auto increment |
| video id | int | YES | | NULL | |
| customer id | int | YES | | NULL | |
| rating | int | YES | | NULL | | +
+ + + + + + *

3.2 USE CASE DIAGRAM:

Creating a use case diagram helps visualize the interactions between actors and the system for both the
Video Rental Inventory System and the Interest Calculator. Here's a basic outline of the use case
diagrams for each system:
Use Case Diagram for Video Rental Inventory System
Actors:
1. Customer: Interacts with the system to rent videos, return videos, rate videos, and check inventory.
2. Administrator: Manages the video inventory, adds new videos, and views system reports.
Use Cases:
1. Customer Use Cases:
pg. 10
Rent Video: Customer rents a video from the inventory.
Return Video: Customer returns a rented video to the store.
Rate Video: Customer gives a rating to a video after watching it.
Check Inventory: Customer views the list of available videos.

2. Administrator Use Cases:


Add Video: Administrator adds a new video to the inventory.
Remove Video: Administrator removes a video from the inventory.

Generate Report: Administrator generates reports on inventory status, rental history, or customer
feedback.

Relationships:
Customer can perform all customer use cases.
Administrator can perform all administrator use cases.

There may be an association relationship between Customer and Administrator indicating shared
functionalities like checking inventory.

Use Case Diagram for Interest Calculator


Actors:
1. Customer: Interacts with the system to calculate interest based on account type, amount, and
duration.
2. Administrator: Manages interest rates, updates rates periodically.

Use Cases:
1. Customer Use Cases:
Calculate FD Interest: Customer calculates interest for a fixed deposit based on amount and duration.
Calculate RD Interest: Customer calculates interest for a recurring deposit based on monthly
installment amount and duration.

2. Administrator Use Cases:


Update FD Rates: Administrator updates fixed deposit interest rates.
Update RD Rates: Administrator updates recurring deposit interest rates.

Relationships:
Customer can perform both FD and RD interest calculation use cases.
Administrator can update interest rates for FD and RD.

pg. 11
CHAPTER 4
RESULTS ANALYSIS AND VALIDATION

In assessing the effectiveness of the Video Rental Inventory System, thorough results analysis and
validation processes are essential to ensure its functionality and user satisfaction. The system's
performance can be evaluated by analyzing customer interactions, such as the efficiency of renting,
returning, and rating videos. By reviewing user feedback and usage statistics, the system's ability to meet
customer needs and expectations can be gauged effectively. Additionally, examining inventory
management reports provides insights into the system's accuracy in tracking video availability and
managing rental transactions. This analysis helps identify any operational inefficiencies or areas for
improvement, ensuring a seamless experience for both customers and administrators.

Validation of the Video Rental Inventory System involves rigorous testing to verify its functionalities
and data integrity. Usability testing with representative users helps uncover usability issues or navigation
challenges, ensuring that the interface is intuitive and user friendly. Functional testing ensures that core
operations like renting, returning, and listing inventory work correctly across different scenarios and user
inputs. Moreover, data validation checks validate the accuracy of stored information, such as video
statuses (checked out or available) and user ratings. By validating these aspects, the system can reliably
support day to day operations of a video rental store, enhancing customer satisfaction and operational
efficiency.

Similarly, the Interest Calculator requires meticulous results analysis and validation to ensure accurate
and reliable calculation of interest rates for various financial products. Results analysis focuses on
evaluating the precision of interest rate calculations based on input parameters such as amount, duration,
and account type (e.g., FD or RD). Assessing the system's ability to update interest rates promptly and
correctly in response to administrator inputs is crucial for maintaining financial accuracy and regulatory
compliance. Furthermore, gathering and analyzing user feedback on the clarity and usefulness of
calculated interest results informs iterative improvements to the system's user interface and functionality.

Validation of the Interest Calculator involves rigorous testing of its calculation algorithms under diverse
scenarios and boundary conditions. Comprehensive testing ensures that interest calculations are accurate
and consistent across different input ranges and financial scenarios. Boundary testing validates the
system's robustness by assessing its performance with minimum and maximum values for amounts and
durations. Regression testing post rate updates verifies that existing functionalities remain intact and
unaffected by system changes. By conducting thorough validation processes, the Interest Calculator can
reliably assist users in making informed financial decisions while adhering to industry standards and
regulatory requirements.

In conclusion, results analysis and validation are integral to refining and optimizing both the Video Rental
Inventory System and the Interest Calculator. These processes ensure that the systems operate effectively,
meet user expectations, and comply with industry regulations. Continuous improvement based on
analysis and validation feedback enhances system reliability, usability, and overall user satisfaction,
making them indispensable tools in their respective domains.
CHAPTER 5

CONCLUSION AND FUTURE WORK

5.1 Conclusion

Video Rental Inventory System:

In conclusion, the Video Rental Inventory System has been designed and implemented to effectively
manage the inventory and operations of a small video rental store. Through the development process,
key functionalities such as video renting, returning, rating, and inventory management have been
successfully integrated. The system allows customers to interact seamlessly with the inventory, providing
them with a user friendly interface to browse available videos, rent them, and return them after viewing.
Administrator capabilities enable efficient management of the video database, including adding new
titles, removing outdated ones, and generating insightful reports on inventory status and customer
preferences.

Moving forward, there are several avenues for future work to enhance the Video Rental Inventory
System:
Enhanced User Interface : Further refining the user interface based on user feedback and usability
testing to improve overall user experience and accessibility.
Integration of Advanced Features : Incorporating features such as personalized recommendations
based on customer viewing history and preferences to enhance customer engagement.
Mobile Application Development : Developing a mobile application version of the system to cater to
the increasing trend of mobile device usage among customers.
Analytics and Insights : Implementing advanced analytics to derive insights from customer ratings,
rental patterns, and inventory turnover, enabling data driven decision making for business growth.

Interest Calculator:

Regarding the Interest Calculator, it has been implemented to accurately calculate interest rates for
various financial products such as Fixed Deposits (FD) and Recurring Deposits (RD) based on user
inputs. The system supports different account types and provides reliable interest calculations that adhere
to regulatory standards and financial best practices. Customers can calculate potential earnings from their
investments based on current interest rates and investment durations, facilitating informed financial
planning and decision making.

Looking ahead, future work for the Interest Calculator could involve:
Expansion of Financial Products : Adding support for additional financial products like savings
accounts, loans, or investment portfolios, broadening the system's utility for diverse financial scenarios.

pg. 13
Real Time Rate Updates : Implementing mechanisms to fetch and display real time interest rates
from financial institutions or central databases, ensuring up to date and accurate information for
users.
Enhanced Security Features : Strengthening data security measures to safeguard sensitive financial
information and comply with evolving data protection regulations.
Integration with External Platforms : Enabling integration with third party financial management
tools or banking applications to offer a seamless user experience across different platforms.

Conclusion

In conclusion, both the Video Rental Inventory System and the Interest Calculator represent valuable
tools designed to meet specific business and user needs effectively. They demonstrate robust
functionality, accuracy in operations, and potential for further enhancement to adapt to changing
technological and market demands. By continuously iterating based on user feedback, technological
advancements, and industry trends, these systems can continue to deliver significant value to their users
and stakeholders.

5.2 Future Work

Looking forward, ongoing development and improvement of these systems will focus on refining user
experiences, expanding feature sets, and integrating advanced capabilities to remain competitive and
relevant in their respective domains. Continuous innovation and adaptation will ensure that both systems
evolve in tandem with user expectations and industry advancements, maximizing their utility and impact
over time.

pg. 14
REFERENCES
• Gamma, E., Helm, R., Johnson, R., & Vlissides, J. (1994). Design patterns: Elements of reusable
object-oriented software. Addison-Wesley.
• Booch, G. (2007). Object-oriented analysis and design with applications. Addison-Wesley.
• Kumar, A., & Kumar, A. (2014). Emerging trends in inventory management: A review. International
Journal of Engineering Research & Technology (IJERT), 3(5).
• Sanders, N. R. (2019). Operations management: An integrated approach. Wiley.
• Norman, D. A. (2013). The design of everyday things: Revised and expanded edition. Basic Books.
• Nielsen, J. (1993). Usability engineering. Academic Press.
• Agarwal, S., & Jain, P. K. (2014). Comparative study of fixed deposits in Indian banks. International
Journal of Research in Management, Economics and Commerce, 4(2).
• DeLone, W. H., & McLean, E. R. (2003). The DeLone and McLean model of information systems
success: A ten-year update. Journal of Management Information Systems, 19(4), 9-30.
• Whitman, M. E., & Mattord, H. J. (2019). Management of information security. Cengage Learning.
• Kuner, C. (2013). European data protection law: Corporate compliance and regulation. Oxford
University Press.

pg. 15

You might also like