















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
assignment 1 database design and development
Typology: Assignments
1 / 23
This page cannot be seen from the preview
Don't miss anything!
















Qualification TEC Level 5 HND Diploma in Computing Unit number and title Unit 04: Database Design & Development Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Nguyen Minh Anh Student ID BH Class SE06203 Assessor name Ha Ngoc Linh 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’s signature Anh Grading grid
Grade: Assessor Signature: Date: Signature & Date:
Figure 1 The offline library cannot operate due to the epidemic.................................................................................................................................. 6 Figure 2 Information of book ......................................................................................................................................................................................... 8 Figure 3 Information of Staff.......................................................................................................................................................................................... 9 Figure 4 Information of member ................................................................................................................................................................................. 10 Figure 5 Login ............................................................................................................................................................................................................... 11 Figure 6 Information of Borrowing .............................................................................................................................................................................. 12 Figure 7 Entity – Relationship Diagram........................................................................................................................................................................ 14 Figure 8 Login table ...................................................................................................................................................................................................... 19 Figure 9 Member table ................................................................................................................................................................................................ 20 Figure 10 Author table ................................................................................................................................................................................................. 20 Figure 11 Book table .................................................................................................................................................................................................... 20 Figure 12 Staff table ..................................................................................................................................................................................................... 21 Figure 13 Borrow table ................................................................................................................................................................................................ 21
In an ever-evolving higher education landscape, universities face many challenges in effectively managing their growing student populations. FPT University - a prominent institution experiencing rapid expansion, found itself grappling with the daunting task of streamlining its administrative processes. To overcome these barriers, FPT University sought the expertise of our major IT consulting firm, recognizing the need for innovative solutions to improve efficiency and ensure management seamless. As a Database Developer in our organization, I have been given the important responsibility of leading the development of several academic systems, one of which is the Online Library system. By harnessing the power of cutting-edge technology and leveraging our
expertise, our goal is to create a powerful and user-friendly platform that revolutionizes the way FPT University manages Manage your vast collection of educational resources. Through this endeavour, we strive to empower both students and faculty with a rich and seamless online library experience, ultimately propelling FPT University towards an efficient and productive future. more advanced technology.
Currently, all schools have libraries but these offline libraries have become outdated in the age of technology, they have many major defects that cause inconvenience to users. First, readers/users have to go to the library at a fixed location, which takes a lot of time. Next, the procedure for searching and borrowing books is also complicated because the library has many readers and a very large number of books. Library management is a difficult problem, it is difficult for managers to know the status of all books and borrowers. In addition, the Covid-19 epidemic is the biggest reason why libraries cannot operate, wasting resources and personnel. Therefore, FPT University needs a database to build an online library system. solve the above problems.
Record all information on the loan slip, its details so that you can double-check if necessary. Know borrower information, repayment date and status of paid books. Each person can only borrow a maximum of 3 books and the repayment period is within 1 month; When returning the book, the book's condition will be checked and noted. 1.2.2. Requirement To make the requirements easy to understand, I will use the User Story format below to describe the requirements. As a library manager, I wanted a system that could perform a number of important actions so that they help me manage the library easily. The most basic operations are entering, looking up complete information of books as well as their status, recording book loan slip with loan details, viewing reader information, can add, edit, delete information of book, last name, see the status of the returned. View statistics of readers' borrowing, paying and interest activities. As a reader, I would like to edit and view personal information along with account password, some information such as loan date, employee name, book title should be clear so as not to be confused about the details this information. 1.2.3. Input/Output The input/output to the system will be the data of information of readers, staffs, and books, etc. ➢ Input (Put data in):
Figure 4 Information of member
Figure 5 Login
➢ Build tables and relationships: Based on the ERD diagram and normalization rules, create tables and relationships between them. Determine primary keys and foreign keys to link between tables. ➢ Design queries and data manipulations: Determine the queries and data operations needed to meet user requirements. Ensure that these queries and operations are performed efficiently and securely. ➢ Build interfaces and applications: Develop interfaces and applications so that users can interact with the library management system conveniently and easily. Make sure that the interface and application match the user's requirements and needs. ➢ Testing and implementation: Conduct system testing to ensure its correctness and effectiveness. Then deploy the system and put it into practical use.. In terms of entities, it has Login, Member, Staff, Borrow, Author, Book.
Logical design (ERD) of database: Library management system
Figure 7 Entity – Relationship Diagram Relationships between tables in a database system: ➢ The Login table contains the user's login information. Each record in this table has an ID_Login as the primary key for identification and a Username and Password pair for login authentication.
Database normalization is the process of designing and building a database structure so that it complies with normalization principles, in order to eliminate data repetition, minimize unnecessary functional dependencies, and Optimize data storage and retrieval. Here is an example of how to normalize a database for the Login, Member, Author, Book, Staff, Borrow tables: Login:
Figure 9 Member table ❖ Author table Figure 10 Author table ❖ Book table Figure 11 Book table