You are on page 1of 17

GOVERNMENT POLYTECHNIC, AMRAVATI

(An Autonomous Institute of Govt. of Maharashtra)

MICRO-PROJECT REPORT ON

Shell Script for Online Banking

In Partial fulfilment of Diploma in Computer Engineering In the subject


of Linux Operating System (CM5474)

By

Ayush Vijay Dhewale [21CM019]

Under the Guidance of


Prof. M. G. Kachhavay

Lecturer in Department of Computer Engineering

DEPARTMENT OF COMPUTER ENGiNEERING


2023-2024

1
CERTIFICATE
This is to certify that the Microproject entitled

Shell Script for Online Banking


is a bonafide work and it is submitted to
Government Polytechnic, Amravati
By

Ayush Vijay Dhewale [21CM019]

in the partial fulfillment of the requirement for the Diploma in Computer Engineering
during the academic year 2023-2024 under my guidance.

Prof. M. G. Kachhavay Dr. P. P. Karde


Lecturer, Head,
Department of Computer Department of Computer
Engineering Government Engineering Government
Polytechnic, Amravati Polytechnic, Amravati

Department of Computer Engineering,


Government Polytechnic, Amravati
(An Autonomous Institute of Government of Maharashtra)

2023-2024

2
ACKNOWLEDGEMENT

It gives us immense pleasure in submitting the microproject report on the topic


“Shell Script for Online Banking” to our guide Prof. M. G. Kachhavay who was
a constant source of guidance and inspiration through developing the microproject
report.

ID-CODE NAME SIGNATURE

21CM019 Ayush Dhewale

3
Vision and Mission of the Institution

Vision
To be a vibrant technical institute of global reputes contributing towards the needs of
industries & society.
Mission
M1. To develop competent diploma engineers suitable for contemporary industrial
environment.
M2. To inculcate socially accepted ethics & values among budding engineers.
M3. To nurture innovations and entrepreneurship.
M4. To produce engineers with psychomotor & cognitive skills committed to
lifelong learning.

Vision and Mission of the Department

Vision
Provide skilled professionals in Computer Engineering to contribute towards the advancement of
technology useful for society and the industrial environment.
Mission
M1. Impart need-based and value-based education by providing exposure to the latest tools
and technologies in the area of computer engineering to satisfy the stakeholders.
M2.
Upgrade and maintain facilities for quality technical education with continuous effort
for excellence in Computer Engineering.
M3. Train students with Computer Engineering knowledge to apply it in the general
disciplines of design, deployment of software, and integration of existing
technologies for E-governance and benefit of society.
M4. Provide a learning ambiance to enhance innovations, problem-solving skills,
leadership qualities, team spirit, and ethical responsibilities.
M5. Provide an academic environment and consultancy services to the industry and society
in the area of Computer Engineering.

4
INDEX

Sr. No Contents Page No.

1 Title Page 1
2 Certificate 2
3 Acknowledgement 3
4 Vision and Mission of Institution and 4
Department
5 Index 5
6 Annexure I 6-7
 Brief Introduction
 Aims
 Course Outcomes
Integrated
 Action Plan
 Actual Resources Used
7 Annexure II 8-13
 Brief Introduction
 Aims
 Course Outcomes
Integrated
 Actual Procedure
Followed
 Actual Resources Used
 Outputs of the
microproject
 Skills Developed
 Assessment
8 Database for Staff Management System 14-16
9 Conclusion 17
10 References 17

5
PART A

Title: Shell Script for Online Banking

1. Brief Introduction:
Shell scripting for online banking involves automating tasks such as account balance inquiries,
fund transfers, and transaction history checks using command-line interfaces. Utilizing tools
like bash, it allows users to interact with banking systems, perform transactions securely, and
receive real-time updates on their financial activities. With features like encryption and
authentication mechanisms, shell scripts ensure data confidentiality and integrity, providing a
seamless banking experience from the terminal. Through conditional statements and loops, it
enables users to manage multiple accounts, handle payments, and set up alerts for account
activities. Shell scripts for online banking enhance efficiency, enabling users to manage their
finances conveniently while adhering to robust security protocols.

2. Aims of the Micro-Project:


This M0icro- Project aims at:
 Database Design: Understanding how to design a database schema that efficiently
stores and organizes data. This involves defining tables, relationships, and
constraints.
 Data Security: Knowledge of database security best practices to protect data from
unauthorized access and breaches.
 Data Modeling: The ability to create data models that represent real-world entities
and their relationships, which is a fundamental aspect of database design.

3. Course outcomes integrated:

4. Action Plan:
Sr. Code &Name of Team Members
Details of activity
no.
1 Researching and deciding the topic of 21CM011 – Dwij Chaudhari
the microproject. 21CM019 – Ayush Dhewale
Finalising the topic and deciding the 21CM011 – Dwij Chaudhari
2
contents it would include. 21CM019 – Ayush Dhewale
Planning and preparing the design of the 21CM011 – Dwij Chaudhari
3
project. 21CM019 – Ayush Dhewale
Deciding the technologies and 21CM011 – Dwij Chaudhari
4
frameworks which would be required. 21CM019 – Ayush Dhewale
5 Creating the database and various tables 21CM019 – Ayush Dhewale
for the project.
6 Writing DML queries through JDBC to 21CM011 – Dwij Chaudhari
perform operations on records in the
table.
Resolving the errors occurring while 21CM019 – Ayush Dhewale
7
performing DML operations.

6
Adding constraints to restrict 21CM011 – Dwij Chaudhari
8 Unauthorized Users can not modify or
perform operations on Database.
9 Final testing of Database and Java code 21CM011 – Dwij Chaudhari
and completing the project , preparing 21CM019 – Ayush Dhewale
reports and annexures.

5. Actual Resources Used

Sr. No. Name of The Resource Specifications

1 INTERNET --

2 GOOGLE CHROME BROWSER --


Ryzen 7, 16 GB RAM, 512 SSD
3 LAPTOP

4 MS WORD 2021 64-bit


64-bit
5 MySQL Workbench

6 VS Code 64-bit

6. Skill Developed /Learning outcome of this Micro-Project


After successful completion of this microproject we have developed our common skills like:
• Problem solving skills
• Analytical Thinking skills

Although, we have developed some subject specific (related to topic) skills like:
• Designing Databases
• Database Connectivity
• SQL (Structured Query Language)
• Data Retrieval
• Modification of structures and records

PART - B

1. Brief Introduction
2. Aim of the Micro-Project
This Micro- Project aims at:
 Design normalised Database

7
 Design a normalised database on Blood Bank Management Website
 Create and manage Database using SQL commands

3. Course outcomes integrated


 Design normalised Database
 Create and manage Database using SQL
commands

4. Actual Procedure Followed

Sr. Plan start Plan finish


Details of activity
no. date date
1. Selection of suitable database and Selection of IDE. 12/08/2023 15/08/2023
2. Creating the database tables as we require for Staff 15/08/2023 30/08/2023
management system.
Learning how to use SQL commands to perform
various operations on Database.
3. o Creation of tables. 31/08/2023 07/09/2023
o Executing various SQL commands.
o Functioning of the commands (Syntax)
Determining which functionality can be achieved
4. 08/09/2023 12/09/2023
using commands
5. Use SQL Command as the project situation demand. 13/09/2023 14/09/2023
Selecting an appropriate table from database to
6. 14/09/2023 20/09/2023
operation on tables attributes.
Adding constraints to the table attributes and
7. 21/09/2023 01/10/2023
inserting records in the tables.
8. Verifying the SQL commands 11/10/2023 15/10/2023
o Cross checking the whole project according
the pre-planned details
9. Perform Final testing of Database and Java code. 16/10/2023 20/10/2023
Gathering information about the points mentioned in
10.. 21/10/2023 25/10/2023
the project report.
11. Prepare the project report. 26/10/2023 01/11/2023

5. Actual Resources Used


Sr. No. Name of The Resource Specifications

1 INTERNET --

2 GOOGLE CHROME BROWSER --


Ryzen 7, 16 GB RAM, 512 SSD
3 LAPTOP

8
4 MS WORD 2021 64-bit
64-bit
5 ORACLE SERVER 11G

STAFF MANAGEMENT SYSTEM


6 --
PROJECT

6. Result / Findings / Output

In the above snapshot we use DML command i.e INSERT to insert the above fields data into
table name registeradmin.
Query : INSERT into registeradmin values
(‘Travis’,8956237845,’tra@gmail.com’,’male’,’12- 03-1989’,’Travis
Smith’,’Tra123@smith’);

In the above snapshot we use DML command i.e SELECT to verify that whether username
and password of Admin will exits in table.
Query : SELECT username, password from registeradmin where password = ?;

9
In the above snapshot we use DML command i.e SELECT and WHERE clause to verify that
whether username and password of Staff will exits in table.
Query : SELECT username, password from availstaff where password = ?;

In the above snapshot we use DML command i.e INSERT to insert the above fields data into
the table name availstaff.
Query : INSERT into avaistaff values (‘Rahul’,8955237845,’ra@gmail.com’,’male’,’12- 03-
1990’,’Rahul Murli,’ra123@smith’);

10
In the above snapshot we use DML command i.e SELECT and WHERE clause to verify that
whether staff record exits in table.
Query : SELECT ID, FULLNAME, MOBNO, ADDRESS, PINCODE, REG_DATE,
GENDER, SALARY, QUALIFICATION, FROM availstaff where adminname = ?;

In the above snapshot we use DML command i.e UPDATE with WHERE clause to update the
details of Admin.
Query : UPDATE registeradmin set fullname=?, mobno=?, emailid=?, gender=?, dob=?,
uname=?, upass=?, img=? where uname = ?";

In the above snapshot we use DML command i.e INSERT for entry of newly created classes .
Query : INSERT into classes values(?, ?);

11
In the above snapshot we use DML command i.e DELETE with WHERE clause to DELETE
the Student from students table with given specified Student ID .
Query : DELETE from students where id = ?;

In the above snapshot we use DML command i.e UPDATE with WHERE clause to update the
details of Students.
Query : UPDATE students set STUDENT_NAME = ?, MOBILE_NUMBER = ?, EMAIL
= ?, ADDRESS = ?, GENDER = ?, BLOOD_GROUP = ?, RELIGION = ?, CASTE = ? where
ID = ?;

12
7. Outputs of the Micro-Projects

• We have successfully created interfacial commands for a Staff Management System


Database.
• We have successfully performed some database operations using SQL commands.
• We have successfully understood the syntax to write SQL commands.

8. Skill Developed /Learning outcome of this Micro-Project


After successful completion of this microproject we have developed our common skills like: 
Leadership skills
• Communication skills
• Collaboration skills
• Time management skills
• Organization skills
• Analytical Thinking skills
• Creativity
Although, we have developed some subject specific (related to topic) skills like:
• Research skills
• Planning skills
• Writing skills
• Analysis skills
• Editing skills
• Brevity (explaining content using few words or sentences)

9. Assessment by Faculty as per Rubrics


Process Assessment Product Assessment Total Marks Signature by Faculty
(06) (04) (10)

13
DESIGN AND NORMALIZE DATABASE FOR STAFF MANAGEMENT SYSTEM

1. Database Creation:
staffmanagement Database:
--creating database
Create database staffmanagement;
Use database staffmanagement;
Description:
staffmanagement database contains various tables such as registeradmin, availstaff, classes,
students to store data| information of Admins, Staffs and Students .

2. Tables Creation:
2.1) Register Admin Table:
-- store info of admins
create table registeradmin
(
fullname varchar(30) not null,
mobno int(11) not null,
emailid varchar(30) not null,
gender varchar(10) not null,
dob date not null ,
uname varchar(20) primary key,
upass varchar(20) not null,
regdate datetime not null,
img blob
);

Description:
registeradmin table stores the information about the newly registered admins. The
registeradmin table can manipulate the data related to the admins and can approve and deny
the requested by admins. registeradmin table contains various fileds such as
fullname,mobno,emailed,dob,etc,

2.2) Staff Table:


-- store info of staff’s
create table availstaff
(
ID int primary key auto_increment,
FULLNAME varchar(30) not null,
MOBNO int(11) not null,
ADDRESS varchar(60) not null,
PINCODE int,
REG_DATE datetime not null,

14
GENDER varchar(10) not null,
SALARY int not null,
QUALIFICATION varchar(30) not null,
suname varchar(30) not null,
spass varchar(30) not null,
adminname varchar(30) not null
);

Description:
The availstaff Table contains the information about the staff’s created by admins.. The table
contains the information about the staff’s such as id, fullname, mobno, address,
pincode ,reg_date, gender.

2.3) Classes Table:

-- it store information of classes


create table classes
(
dept_sem varchar(30) not null,
staff_name varchar(30) not null
);

Description:
The classes table contains the information about class such as name and department of the
class which is created by classes.

2.4) Students Table:


-- information about students
create table students
(
ID varchar(10) not null unique,
STUDENT_NAME varchar(40) not null,
MOBILE_NUMBER varchar(20) not null,
DOB date not null,
EMAIL varchar(20),
ADDRESS varchar(40) not null,
ADMISSION_DATE datetime not null,
GENDER varchar(20) not null,
RELIGION varchar(30) not null,
CASTE varchar(30) not null,
BLOOD_GROUP varchar(10) not null,
CLASS_NAME varchar(30) not null,
staff_name varchar(30) not null
);

15
Description:
The students table contains information about students such as student name,mobile no,date of
birth,email,address,admission date, gender,etc. Here only staff’s can create students.

4. Command Execution:

3.1) DDL (Data Definition Language commands):

 alter table students modify staff_name varchar(30);


- added a new column named staff_name in the table camp info after the creation of table.
The alter command helps to modify a structure that is already defined.

 drop table students;


- deleted the structure students with the help of this command.

 truncate table classes


- cleared all the table records using the truncate command.

3.2) DML (Data Manipulation Language commands):

 insert:
insert into classes values(‘PLASTIC POLYMER (4th SEM)’,’jack’);
insert into classes values(‘COMPUTER(5th SEM)’,’william’);
insert into classes values(‘ELECTRONICS (3th SEM)’,’smith’);

Insert the records about the classes in the classes table.

 Select:
- select * from availstaff;
- select * from students;
Display the contents of the table by using the select queries.

 Update:
- update student set name = ‘benjamine white’ where id = 10;
Updated the values using the update command.

 Delete:
- delete from registeradmin where id = ?;
Delete the record from the registeradmin whose id is specified instead of the Question Mark(?)

16
Conclusion

• After overall completion of this project, we have understood how to write commands to
perform operations on database of a given application.
• We have understood the general syntax to write commands in SQL.
• We have understood how commands work in SQL.

References
1. VS Code IDE:
Website: VS Code IDE Downloads.
URL: https://code.visualstudio.com/download

2. MySQL Workbench:
Website: MySQL Workbench.
URL: https://www.mysql.com/products/workbench/

3. Government Polytechnic, Amravati :


Website: Government Polytechnic, Amravati.
URL: https://www.gpamravati.ac.in/gpamravati_new/

4. Wikipedia – Staff Management System:


Website: Wikipedia – Staff Management System.
URL: https://en.wikipedia.org/wiki/staff_management_system

17

You might also like