Download as pdf or txt
Download as pdf or txt
You are on page 1of 29

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

Jnana Sangama, Belagavi – 590018.

DBMS MINI PROJECT REPORT

ON

“CODERBANK ATM MANAGEMENT SYSTEM”

Submitted in partial fulfilment for the requirement of V Semester for the Degree of

BACHELOR OF ENGINEERING
IN
INFORMATION SCIENCE & ENGINEERING

For the Academic Year 2022-23

SUBMITTED BY
SWATHI D (1DB20IS151)
SUSHMITHA R(1DB20IS150)

Under the Guidance of


Mr. SHANKARA GOWDA S R
Assistant Professor
Department of Information Science & Engineering

Department of Information Science & Engineering


DON BOSCO INSTITUTE OF TECHNOLOGY
Kumbalagodu, Mysuru Road, Bengaluru – 560074
2022-23

i
DON BOSCO INSTITUTE OF TECHNOLOGY
Kumbalagodu, Mysuru Road, Bengaluru – 560074

DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING

CERTIFICATE

This is to certify that the Mini Project Report entitled “CODERBANK ATM MANAGEMENT
SYSTEM” is a bonafide Mini Project work carried out by Swathi D (1DB20IS151), Sushmitha
R (1DB20IS150) in partial fulfilment of V semester for the Degree of Bachelor of Engineering
in Information Science and Engineering of Visveswaraya Technological University, Belagavi,
during the Academic Year 2022-23. It is certified that all connections/suggestions indicated for
Internal Assessments have been incorporated with the degree mentioned.

Signature of Guide Signature of HoD

Mr. SHANKARA GOWDA S R DR. B K RAGHAVENDRA


Assistant Professor Professor & Head
Dept. of ISE, Dept. of ISE,
DBIT, Bengaluru DBIT, Bengaluru

External Viva

Name of the Examiners Signature with Date

1………………………. ………………………

2………………………. ………………………

ii
ACKNOWLEDGEMENT

At the various stages in making the mini project, a number of people have given me invaluable
comment on the manuscript. We take this opportunity to express my deepest gratitude and
appreciation to all those who helped me directly or indirectly towards the successful
completion of this project.

We would loke to thank our Principal Dr. B. S. NAGABHUSHANA, Don Bosco


Institute of Technology, Bengaluru for his support throughout his project.

We express our wholehearted gratitude to Dr. B. K RAGHAVENDRA, who is our


respectable Professor and Head of the Department of Information Science and Engineering.
We wish to acknowledge for his valuable help and encouragement.

With this regard we owned a heartfelt gratitude to our guide Mr. SHANKARA GOWDA
S R, Assistant Professor, Department of Information Science and Engineering, for his timely
advice on Mini Project and regular assistance throughout the project work.

We would also like to thank the teaching and nonteaching staff members of Department
of Information Science and Engineering for their corporation.

SWATHI D(1DB20IS151)
SUSHMITHA R(1DB20IS150)

iii
ABSTRACT

The ATM System is the project which is used to access their bank accounts in order to make
cash withdrawals. Whenever the user need to make cash withdraws, they can enter their PIN
number (personal identification number) and it will display the amount to be withdrawn in the
form of 100’s 500’s 1000’s and 5000’s. Once their withdrawn was successful, the amount
will be debited. The ATM System is developed in Xampp and back-end database as My SQL.
Xampp is one of the free and open-source cross-platform web server solution stack package
developed by Apache Friends consisting mainly of the Apache HTTP Server, Maria DB
database, and interpreters for scripts written in the PHP and Perl programming languages. Hence
we use this software in our project.

The ATM will service one customer at a time. A customer will be required to enter ATM
Card number, personal identification number (PIN) – both of which will be sent to the database
for validation as part of each transaction. The customer will then be able to perform one or more
transactions. Also customer must be able to make a balance inquiry of any account linked to the
card.

The ATM will communicate each transaction to the database and obtain verification that it
wasallowed by the database. In the case of a cash withdrawal, a second message will be sent
after the transaction has been physically completed (cash dispensed or envelope accepted). If the
database determines that the customer’s PIN is invalid, the customer will be required to re-enter
the PIN before a transaction can proceed.

If a transaction fails for any reason other than an invalid PIN, the ATM will display an
explanation of the problem, and will then ask the customer whether he/she wants to do another
transaction.

iv
TABLE OF CONTENTS

Sl. No CHAPTER NAME Page No


1 INTRODUCTION 1
1.1 Objectives 1
1.2 Limitations 1
2 STUDY OF EXISTING SYSTEM 2
2.1 Case study 2
2.2 Proposed system 2
3 DATABASE DESIGN 3
3.1 Software requirement specification 3
3.1.1 Software Requirements 3
3.1.2 Hardware Requirements 3
3.2 Conceptual Design 4
3.2.1 Er Diagram 4
3.2.2 Schema Diagram 6
4 IMPLEMENTATION 7
4.1 Backend (MYSQL) 7-8
4.2 Stored Procedure 9
4.3 Trigger 9
5 DATABASE TABLES 10-14

6 USER INTERFACES
6.1 SCREENSHOTS 15-24

v
LIST OF TABLES

Table No. Name of the Tables Page No


5.1 Account 10
5.2 ADMIN 10
5.3 ATM 11
5.4 BANK 11
5.5 CARD 12
5.6 TRANSACTIONS 12
5.7 LOGS 13
5.8 USER 14

LIST OF FIGURES

Figure
Figure Name Page No
No.
5.1.1 ADMIN (CREATING TABLE) 15
5.1.2 ATM (CREATING TABLE) 16
5.1.3 BANK (CREATING TABLE) 16
5.1.4 CARD (CREATING TABLE) 17
5.1.5 LOGS (CREATING TABLE) 17
5.1.6 TRANSACTION(CREATING) 18
5.1.7 USER (CREATING TABLE) 18
5.1.8 INDEX 19
5.1.9 PIN 19
5.1.10 USER 20
5.1.11 ADMIN 20

vi
ATM Management Sys tem DBMS MINI PROJECT

CHAPTER 1
INTRODUCTION

1.1 OBJECTIVES

The objective of an ATM machine is to provide Anytime or Automated Banking services to the
bank customers without the customer having to trip to the bank. Some of the services of the ATM
provide
• Cash Withdrawal.

• Accept Deposits.

• Issue Balance Statements.

• Money Transfer.

• Etc.

1.2 LIMITATIONS:

The limitations of ATM are as follows

a)Limitations on withdrawal: Cash withdrawal for large amount are not permitted.

b)Restriction on Cash Dispensations: Cash dispensation are generally restricted to certain


denominations of currency. As such, withdrawals are to be made only in certain multiples.

c) Limited Functioning: The automated teller machine performs only the limited functions.
For other banking activities like credit limits, locker facilities, etc. the customer has to approach
The bank in person or by other means.

Department of ISE, DBIT Page 1


ATM Management System DBMS MINI PROJECT
CHAPTER 2
STUDY OF EXISTING SYSTEM

2.1 EXISTING SYSTEM


• The existing system is manual system.
• The manual system is prone to error.
• Application to perform a desired task.
• Usage of papers and records in the process leads to less efficiently less productivity.
• Time delay between the user and the customer is reduced.
• For this reason the new system is invented.

2.2 PROPOSED SYSTEM

The system customer transactions, satisfies the requirements of the existing system in full-fledged
manner. Through this system, customer can make fast transactions and view the last transactions
easily.

Department of ISE, DBIT Page 2


ATM Management System DBMS MINI PROJECT

CHAPTER 3 DATABASE DESIGN

3.1 SOFTWARE REQUIREMENTS SPECIFICATION

3.1.1 SOFTWARE REQUIREMENTS:

Operating System – WINDOWS 10, WINDOWS 11


Front-End – PHP
Back-End – MYSQL

3.1.2 HARDWARE REQUIREMENTS:

Processor – Pentium 4 Processor 1Ghz


RAM – 256 MB (minimum)/512 MB (Recommended)
Hard Disk – 1TB

Department of ISE, DBIT Page 3


ATM Management System DBMS MINI PROJECT

3.2 CONCEPTUAL DESIGN:

3.2.1 ER DIAGRAM:
An Entity Relationship Diagram (ER Diagram) pictorially explains the relationship between

entities to be stored in a database. Fundamentally, the ER Diagram is a structural design of

the database. It acts as framework created with specialized symbol for the purpose of defining

the relationship between the database entities. ER diagram is created based on three principal

components: entities, attributes, and relationships. The below given Figure 3.2.1 uses symbol

of the ER Diagram as showed in the Figure 3.2.1(a).

Symbols Used in ER Diagrams

 Rectangles: This Entity Relationship Diagram symbol represents entity types

 Ellipses: This symbol represents attributes

 Diamonds: This symbol represents relationship types

 Lines: It links attributes to entity types and entity types with other relationship types

 Primary key: Here, it underlines the attributes

 Double Ellipses: Represents multi-valued attributes.

Figure 3.2.1(a): Symbols of ER Diagram

Department of ISE, DBIT Page 4


ATM Management System DBMS MINI PROJECT

Figure 3.2.1 (b): ER Diagram for CoderBank ATM management system

The Figure 3.2.1(b) shows the ER Diagram of CoderBank ATM Management System where the symbol Rectangle Is
used to represent the entity types – Account, User, Card, Transaction, Banks, Admin, Logs, ATM. The sharp Eclipse is
used to represent the attributes of the entities.

Department of ISE, DBIT Page 5


ATM Management System DBMS MINI PROJECT

3.2.2 SCHEMA DIAGRAM

ACCOUNT
Account_no balance Account_type User_id

ADMIN
Admin_id Admin_pin Atm_id

ATM
Atm_id Atm_location Available_cash

BANK
Bank_name Bank_id Branch_location Account_no

CARD
Card_no Card_pin balance User_id

LOGS
Logs User_id balance Created_data

TRANSACTIONS
Transaction_data Transaction_id Transaction_status Transaction_type User_id

USER
User_id First_name Last_name address Contact_no DOB

Figure 3.2.2: Schema Diagram for CoderBank ATM management system

The Figure 3.2.2 represents the schema diagram which is the structure of the database of the ATM Management
System described in the formal language supported by the database management system.

Department of ISE, DBIT Page 6


ATM Management System DBMS MINI PROJECT

CHAPTER 4

IMPLEMENTATION
An "implementation" of php should be taken to mean a program or environment which
provides support for the execution of programs written in the php language.

There have been and are several distinct software packages providing of what we all
recognize as php, although some of those are more like distributions or variants of some
existing implementation than a completely new implementation of the language.

4.1 BackEnd (MySQL)


Database:
A Database Management System (DBMS) is computer software designed for the purpose of
managing databases, a large set of structured data, and run operations on the data requested by
numerous users. Typical examples of DBMSs include Oracle, DB2, Microsoft Access,
Microsoft SQL Server, Firebird, PostgreSQL, MySQL, SQLite, FileMaker and Sybase
Adaptive Server Enterprise. DBMSs are typically used by Database administrators in the
creation of Database systems. Typical examples of DBMS use include accounting, human
resources and customer support systems. Originally found only in large companies with the
computer hardware needed to support large data sets, DBMSs have more recently emerged as
a fairly standard part of any company back office.
A DBMS is a complex set of software programs that controls the organization, storage,
management, and retrieval of data in a database. A DBMS includes:
 A modeling language to define the schema of each database hosted in the DBMS,
according to the DBMS data model.
 The dominant model in use today is the ad hoc one embedded in SQL, despite the
objections of purists who believe this model is a corruption of the relational model,
since it violates several of its fundamental principles for the sake of practicality and
performance. Many DBMSs also support the Open Database Connectivity API that
supports a standard way for programmers to access the DBMS.

Department of ISE, DBIT Page 7


ATM Management System DBMS MINI PROJECT
Data structures (fields, records, files and objects) optimized to deal with very large amounts of
data stored on a permanent data storage device (which implies relatively slow access compared
to volatile main memory). A database query language and report writer to allow users to
interactively interrogate the database, analyze its data and
update it according to the users privileges on data.
 Data security prevents unauthorized users from viewing or updating the database.
Using passwords, users are allowed access to the entire database or subsets of it called
sub schemas. For example, an employee database can contain all the data about an
individual employee, but one group of users may be authorized to view only payroll
data, while others are allowed access to only work history and student data.
 If the DBMS provides a way to interactively enter and update the database, as well as
interrogate it, this capability allows for managing personal databases. However, it may
not leave an audit trail of actions or provide the kinds of controls necessary in a multi-
user organization. These controls are only available when a set of application programs
are customized for each data entry and updating function.

 A transaction mechanism, that ideally would guarantee the ACID properties, in order to
ensure data integrity, despite concurrent user accesses (concurrency control), and faults
(fault tolerance).
 It also maintains the integrity of the data in the database.
 The DBMS can maintain the integrity of the database by not allowing more than
one user to update the same record at the same time. The DBMS can help prevent
duplicate records via unique index constraints; for example, no two customers with
the same customer numbers (key fields) can be entered into the database. See
ACID properties for more information (Redundancy avoidance).

When a DBMS is used, information systems can be changed much more easily as the
organization's information requirements change. to the Organizations may use one kind of DBMS
for daily transaction processing and then move the detail onto another computer that uses another
DBMS better suited for random inquiries and analysis. Overall systems design decisions are
performed by data administrators and systems analysts. Detailed database design is performed by
database administrators.

Department of ISE, DBIT Page 8


ATM Management System DBMS MINI PROJECT

SQL:

Structured Query Language (SQL) is the language used to manipulate relational databases. SQL

is tied very closely with the relational model. In the relational model, data is stored in structures

called relations or tables.

SQL statements are issued for the purpose of Data definition:

4.1 DDL

Defining tables and structures in the database (used to create, alter and drop schema objects).

4.2 Stored Procedure


A stored procedure is a prepared SQL code that we can save, so the code can be reused over again.
Routine name: transaction_display
Type : change to Function
Definition : select * from transaction where transaction_date not between 2019-10-31 and 2019-08-
30 GROUP BY transaction_id,transaction_type, user_id,transaction_status,transaction_date.

4.3 Triggers

It is the special kind of stored procedure that automatically executes when an event occurs in
the database.
Triggers used :
1: Trigger name: logs
Table: account
Time: after
Event: create
CREATE TRIGGERS ’logs’ AFTER ‘UPDATE ON’ account FOR EACH ROW insert into
logs value(null), new. User _ id, new. balance, new())

Department of ISE, DBIT Page 9


ATM Management System DBMS MINI PROJECT

CHAPTER 5

DATABASE TABLES
SQL Table is a collection of data which is organized in terms of rows and columns. In DBMS, the
table is known as relation and row as a tuple.
TABLE 5.1 ACCOUNT TABLE

The Table 5.1 represents the Account Table where it can store Account_number,Balance,Account_type,
User_id.

TABLE 5.2 ADMIN TABLE

The Table 5.2 represent the admin table where it can store the Admin_id,Admin_pin,ATM_id.

Department of ISE, DBIT Page 10


ATM Management System DBMS MINI PROJECT

TABLE 5.3 ATM TABLE

The Table 5.3 represents ATM Table where it can store Atm_id,Atm_location and Available_cash.

TABLE 5.4 BANK TABLE

The Table 5.4 represents the Bank Table where it can store Bank_name,Bank_id etc….

Department of ISE, DBIT Page 11


ATM Management System DBMS MINI PROJECT

TABLE 5.5 CARD TABLE

The Table 5.5 represents the Card Table where it can store Card_no,Card_pin,balance,User_id

TABLE 5.6 TRANSACTION TABLE

The Table 5.6 represents Transaction_date,Transaction_id etc.

Department of ISE, DBIT Page 12


ATM Management System DBMS MINI PROJECT

TABLE 5.7 LOGS TABLE

The Table 5.7 represents Logs Table where it can store id,User_id,Create a data.

Department of ISE, DBIT Page 13


ATM Management System DBMS MINI PROJECT

TABLE 5.8 USER TABLE

The Table 5.8 represents User Table which can store User_id, First_name, Last_name etc..

Department of ISE, DBIT Page 14


ATM Management System DBMS MINI PROJECT

CHAPTER 6

USER INTERFACE

6.1 SCREEN SHOTS

The below shown Figures represents the snapshots of the process of creating the tables and inserting
The values into the tables in the Xampp software.

6.1.1 ADMIN (CREATING TABLE)

Figure 6.1.1 ADMIN(CREATING TABLE)

The Figure 6.1.1 shows the ATM Admin Page which is a solution that allows for the creation of an inner
device setup, transaction setup following regulatory guidelines and network standards, applying security
rules defined for capturing, connection and sending transactions.

Department of ISE, DBIT Page 15


ATM Management System DBMS MINI PROJECT

6.1.2 ATM (CREATING TABLE)

Figure 6.1.2 ATM (CREATING TABLE

The Figure 6.1.2 shows the ATM table. It also allows us to access the user’s or the admin bank accounts in
order to make cash withdrawals. They can enter their pin numbers and it will display the amount to be
withdrawn in the form of 100’s,500’s ,10000’s and 5000’s.
6.1.3 BANK (CREATING TABLE)

Figure 6.1.3 BANK (CREATING TABLE)

The Figure 6.1.3 shows the Bank table in which A bank is a financial institution that is licensed to accept
checking and saving deposits. It provides services such as individual retirement account, deposits and save
deposits.
Department of ISE, DBIT Page 16
ATM Management System DBMS MINI PROJECT

6.1.4 CARD (CREATING TABLE)

Figure 6.1.4 CARD (CREATING TABLE)

The Figure 6.1.4 shows the card table in which A debit card detail page displays card number and name on
the card along with status validity and limits.
6.1.5 LOGS(CREATING TABLE)

Figure 6.1.5 LOGS (CREATING TABLE)

The Figure 6.1.5 shows the logs table in which we can view our transaction logs in ATM Machines itself
through mini statement option. There is also an option of Internet banking option,

Department of ISE, DBIT Page 17


ATM Management System DBMS MINI PROJECT

6.1.6 TRANSACTION (CREATING TABLE)

Figure 6.1.6 TRANSACTION (CREATING )


The Figure 6.1.6 shows the transaction table in which the automated teller machine is an electronic banking
Machine that allows customers to withdraw or deposit cash and perform basic banking transactions without
a representative or teller. One could require a credit or debit card to perform transaction.

6.1.7 USER(CREATING TABLE)

Figure 6.1.7 USER (CREATING TABLE)

The Figure 6.1.7 shows the user table in which the customer information is added to a list of registered users.
The ATM user interface consist of a keyboard, display window, selection of choice option, helps screen that
displays instructions for completing an ATM transaction.

Department of ISE, DBIT Page 18


ATM Management System DBMS MINI PROJECT

6.1.8 INDEX

Figure 6.1.8 INDEX

The Figure 6.1.8 shows the Index page displaying the text “Please Insert Your Card” which allows the user to
insert this ATM card in order to get access to the ATM machine when it is made to open in the server localhost.

6.1.9 PIN

Figure 6.1.9 PIN

The Figure 6.1.9 shows the PIN page which allows the user to enter his pin after inserting his card in the
previously displayed page. This accepts only the pin numbers stored in the database while inserting and
creating the table, this is considered as a valid pin number else it displays Invalid pin number.

Department of ISE, DBIT Page 19


ATM Management System DBMS MINI PROJECT

6.1.10 USER

FIGURE 6.1.10 USER


The Figure 6.1.10 shows the user table in which the customer information is added to a list of registered users.
The ATM user interface consist of a keyboard, display window, selection of choice option, helps screen that
displays instructions for completing an ATM transaction .
6.1.11 ADMIN

Figure 6.1.11 ADMIN

The Figure 6.1.11 shows the ATM Admin Page which is a solution that allows for the creation of an inner
device setup, transaction setup following regulatory guidelines and network standards, applying security rules
defined for capturing ,connection and sending transactions.

Department of ISE, DBIT Page 20


ATM Management System DBMS MINI PROJECT

CONCLUSION

The project developed using PHP and MySQL is based on the requirement specification of theuser and
the analysis of the existing system, with flexibility for future enhancement. The expanded functionality
of today’s software requires an appropriate approach towardssoftware development.

Majorly, the ATM system is utilized for the money associated transaction from the customers.
They make major use of the ATM to withdraw money from their bank accounts. It is a fast way to get
money
Out of your account, especially when on the go or during the trip.

The period on “CODERBANK ATM MANAGEMENT SYSTEM” has been developed as the
best flexible and efficient project within the available resources and time.

In future we are planning to add new features like fingerprint reader, eye detection system for
authentication user security purpose. Care has been taken at each step to make it more user friendly so
that user can add new features whenever necessary while using this ATM System.

Department of ISE, DBIT Page 21


ATM Management System DBMS MINI PROJECT

FUTURE ENHANCEMENT

This software can be easily implemented under various situations. Any ATM Management System can make
use of it for storing the transaction details of customers, basic details of the customers an any related data to
the ATM. Modifications can be easily done according to the requirement and when necessary.

The ATM Technology has developed to such an extent that some ATM’s can memorize consumer
preferences as per their past transactions and behavior.

In many cases, ATM’s have internet scope which facilitates two way communication with five agents
,provide biometric options and have the ability to demonstrate personalized advertisements.

Maintenance of enabled ATM’s are easy. These ATM’s can be quickly connected to central
monitoring system of vendors. Few Banks have introduced biometric ATM’s in rural India, which are quite
secure and easy to use by a common man.

Department of ISE, DBIT Page 22


ATM Management System DBMS MINI PROJECT

REFERENCES

1.https://www.studocu.com

2.https://visualstudio.microsoft.com/

3.www.github.com

4.www.W3Schools.com

Department of ISE, DBIT Page 23

You might also like