



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























Unit Title Database Design & Development System Unit Code H/615/ Assessor Name Puran Adhikari^ Issued Date 05/17/ Assignment Title Library management System Assignment No Submission Date 10/17/ Qualification 1/1 Campus ISMT
When submitting evidence for assessment, each student must sign a declaration confirming that the work is their own. Student Name Bibash Bist Assessor Name Puran Adhikari Issue Date 05/17/2021 Submission Date 10/17/ Programme Unit Name Database Design & Development System 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 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: Pearson Education 2018 Higher Education Qualifications
Part 1 Produce a Report 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. 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 and assess the effectiveness of design in relation to user and system requirements.
Entity Relationship Diagram for Library Management System: Entities and their Attributes – Books Entity: It has type, id, name, author, price, and availability. Book_ID is the primary key for Book Entity. Publisher Entity: It has publisher_id, name, and address. Publisher _ID is the primary key. Student Entity: It has student_id, name (first and last), email, contact no, and address. Student_ID is the primary key. Relationship between Entities: A student can borrow many books but one book can be borrowed by only one student. The relationship between book and student is 1: N. A publisher can publish many books but one book can be published by only one publisher. The relationship between book and publisher is 1: N.
Schema: Schema is such that describes the structural read of an information that confirms the tables that will be concerned in making a information, the table’s attributes and their association. Schema Diagram of Library Management System: Data Dictionary : A data dictionary means a set of files which is the metadata of the database. Generally, the data dictionary is the collection of attributes, names, definitions, and models. Components of Data Dictionary: Name: It’s the developer’s choice to provide a suitable name for the item. Aliases: Temporary names for the items. Description: Comments or actual text about the item. Related data items: Relationship between data. Range of values: All possible answers.
Borrow Table: S.N. Attributes Datatype Length Null Value Key
1. Issue_ID Int Not Null Primary 2. IssueDate Date Not Null 3. DueDate Date Not Null 4. ReturnDate Date Not Null 5. Book_ID Int Not Null Foreign 6. Student_ID Int Not Null Foreign Forms Details that are used in Library Management System :
SQL queries used in tables: CREATE TABLE Admins( Admin_ID INT IDENTITY( 1 , 1 ) PRIMARY KEY, UserName VARCHAR( 20 ) NOT NULL, Password VARCHAR( 20 ) NOT NULL, ); select * from Admins; insert into Admins (UserName, Password) Values('Bibash Bist', 'Blanko'); CREATE TABLE Publisher( Publisher_ID INT IDENTITY( 1 , 1 ) PRIMARY KEY, PublisherName Varchar( 20 ) NOT NULL, Address Varchar( 20 ) NOT NULL, ); CREATE TABLE Books( Book_ID INT IDENTITY( 1 , 1 ) PRIMARY KEY, BookName VARCHAR( 20 ) NOT NULL, Author VARCHAR( 20 ) NOT NULL, Type Varchar( 20 ) NOT NULL, Price Decimal( 18 , 2 ) NOT NULL, Available Varchar( 10 ) NOT NULL, CONSTRAINT FK_Books FOREIGN KEY (Publisher_ID) REFERENCES Publisher(Publisher_ID)
Registration data- C# source code and SQL Database:
Book issue data- C# source code and SQL Database: