Download Database Assignment - Library Management System and more Assignments Database Programming in PDF only on Docsity!
ASSIGNMENT COVER SHEET
STUDENT DETAILS
Student ID Reg No. 40
Family Name Given Name
Enrolment Year 2020 Section B
Semester First Email
UNIT DETAILS
Unit Title Database Unit Code H/615/
Assessor Name Puran Adhikari Issued Date 05/27/
Assignment Title Library Management System
Assignment No 1/1 Submission
Date
Qualification BTech HND in Computing Campus ISMT
INTERNATIONAL SCHOOL OF
MANAGEMENT & TECHNOLOGY
STUDENT ASSESSMENT SUBMISSION AND
DECLARATION
When submitting evidence for assessment, each student must sign a declaration confirming that the work is their own. Student Name Assessor Name
Issue Date 05/27/2021 Submission Date 07/30/
Programme BSC HND in Computing Unit Name Database Assignment Title Library Management System Plagiarism Plagiarism is a particular form of cheating. Plagiarism must be avoided at all costs and students who break the rules, however innocently, may be penalized. It is your responsibility to ensure that you understand correct referencing practices. As a university level student, you are expected to use appropriate references throughout and keep carefully detailed notes of all your sources of materials for material you have used in your work, including any material downloaded from the Internet. Please consult the relevant unit lecturer or your course tutor if you need any further advice. Student Declaration
Table of Contents
Part 1.......................................................................................................................................... 5 Introduction............................................................................................................................ 6 Pearson Education 2018 Higher Education Qualifications I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student signature: Date:
- Database Schema....................................................................................................................
- Entity Relational Diagram......................................................................................................
- Library Management System Design Layout.........................................................................
- Interface and output design....................................................................................................
- Books interface view..........................................................................................................
- Borrow Interface and design............................................................................................
- Data Dictionary....................................................................................................................
- Books................................................................................................................................
- BorrowedBooks................................................................................................................
- Borrower...........................................................................................................................
- Category...........................................................................................................................
- ReturnedBooks.................................................................................................................
- User..................................................................................................................................
- UserList............................................................................................................................
- Conclusion............................................................................................................................
- Part 2........................................................................................................................................
- Introduction..........................................................................................................................
- Visual Studio & SQL...........................................................................................................
- User Interface and data validation........................................................................................
- Login Form.......................................................................................................................
- Books Form......................................................................................................................
- Borrower Form.................................................................................................................
- Return Form.....................................................................................................................
- OverDue Form..................................................................................................................
- Querying among Tables.......................................................................................................
- Inner Join..........................................................................................................................
- Left Join............................................................................................................................
- Right Join.........................................................................................................................
- Security & Maintenance of Library Management System...................................................
- Store Procedure:...............................................................................................................
- Create Backup..................................................................................................................
- Implementation of Queries in Library management System................................................
- Borrower...........................................................................................................................
- Books................................................................................................................................
- Student..............................................................................................................................
- Testing library management system.....................................................................................
- Software Testing...............................................................................................................
- Login form Testing:.........................................................................................................
- Book form Testing:..........................................................................................................
- Borrower form testing:.....................................................................................................
- Conclusion........................................................................................................................
- Part 3........................................................................................................................................
- Technical document of Library management system:.........................................................
- Introduction......................................................................................................................
- Description of Library management system....................................................................
- Library Management System Important Features............................................................
- Significance of the Library Management System............................................................
- Limitation of Library Management System.....................................................................
- Choice of Tools to develop Library Management System...............................................
- Library Management System Design Layout...................................................................
- Library Management System Data Dictionary.................................................................
- Library Management System Algorithms & Flowcharts.................................................
- Context Diagram of Library Management System..........................................................
- Library Management System Planning............................................................................
- Database Structure............................................................................................................
- Library Management System Deployment.......................................................................
- Requirement For Development........................................................................................
- Maintenance.....................................................................................................................
- Conclusion............................................................................................................................
- References................................................................................................................................
Part 1
Before you start the development process, your manager has asked you to produce a report for the CEO of the music company, containing:
**1. The design of the relational database system using appropriate design tools and techniques. It should contain at least four interrelated tables.
- Clear statements of user and system requirements. You would prefer to produce a more detailed document, so you will produce a comprehensive design for a fully functional system which will include interface and output designs, data validations and cover data normalization. Your manager would like a separate report on your assessment of the effectiveness of the design in relation to user and system requirements**
Entity Relational Diagram
Library Management System Design Layout
Borrow Interface and design
Similarly, we have designed borrower’s form which will record details of borrower. The new button will add a new borrower once it is added via add button. To modify the borrower’s details and delete permanently we have ‘Update’ button and ‘Delete’ button. Borrower’s output in grid view When the data in Borrower’s table is created and saved data will be displayed in grid view. From the generated output the library personal can get details like BorrowerId, Borrower name, Course and others.
Data Dictionary
Books
Serial no. Field Name Data Type Length Null Constraints 1 BookID INT n/a No Primary Key 2 BookTitle VARCHAR 200 No n/a 3 Description VARCHAR MAX Yes n/a 4 Author VARCHAR 100 No n/a 5 Publisher VARCHAR 100 No n/a 6 DatePublish DATE n/a No n/a 7 Category VARCHAR 30 No Foreign Key
BorrowedBooks
Serial no. Column Name Data Type Length Null Constraint 1 BorrowedBookID INT n/a No Primary Key 2 BookID INT n/a No Foreign Key 3 BookTitle VARCHAR 200 No n/a 4 BorrowerID INT n/a No Foreign Key 5 Name VARCHAR 200 No n/a 6 Course VARCHAR 200 No n/a 7 BorrowDate Date n/a No n/a 8 DueDate Date n/a No n/a
Serial no. Column Name Data Type Length Null Constraint 1 UserID INT n/a No Primary Key 2 UserName VARCHAR 50 No n/a 3 Email VARCHAR 20 No n/a 5 Phone VARCHAR 20 No n/a 6 Password VARCHAR 50 No n/a
UserList
Serial no. Column Name Data Type Length Null Constraint 1 UserID INT n/a No Foreign Key 2 UserName VARCHAR 50 No n/a 3 LoginDate DATE n/a No n/a
Conclusion
Explanation of design of Library Management System to the CEO of Music Company. The created design aims to provide a clear overview about Library Management System project relation database design, tools, techniques that includes six interrelated tables. Beside it also provide detail explanation for user and system requirement suitable for Library. It was observer to produce comprehensive output that includes interface and output followed by data validation including data normalization process. Further the effectiveness of the design in relation to user and system requirement was explained with evidence while using different tools and techniques.
Introduction
Now that we have completed designing conceptual and logical design for Library Management System project it has been accepted by our manager. In this part we will develop user interface, measure output and do data validation writing queries between different tables with evidence. The evidence will be served in the form of screen shot. Here we will also include security for database maintenance. Then we will implement query language into the created Library Management System relational database system. The implementation in Library Management System project will be access to acknowledge whether meaningful data has been extracted using query tools or not. Besides, the created project will be tested against the user and system requirement to assess its effectiveness including explanation of the data we have used in Library Management System project to test that data. In fact, we will also evaluate its effectiveness matching with user and system requirement and will provide improvement suggestion based the whole process.
Visual Studio & SQL
For the development of database, we used SQL Server 2018 Express edition and for user interface we used Visual Studio Community edition 2019. Before creating user interface first, we developed ER and later verified with normalization. We have developed Library Management System in such a way that can record required information of its Book. It records BookTitle, Author, Publisher, DatePublish etc. in which a borrower borrows his interested book based on category on choice.
User Interface and data validation
The user interface screen shot has been provided below:
Login Form
Once we enter the assigned Username and password the user can login to the Library management system application successfully. If user enter incorrect username and password than the form throws and error message saying please enter the username or password. This code was written to maintain data validation. Like below:
Borrower Form
The Borrower form is also developed to display borrower output in data grid view. It captures the information of the borrower as required by the user. It provides each borrower a uniquely Id and each uniquely identifying name, customer address, the course he/she is reading.
Return Form
To return books, this form is used. The books which are borrowed are shown in data grid view.
OverDue Form
Books which are not returned in time are recorded in this form.