Docsity

Database Design & Development Assignment Brief: FPT University Library Management System, Assignments of Database Programming

Partial preview of the text

Download Database Design & Development Assignment Brief: FPT University Library Management System and more Assignments Database Programming in PDF only on Docsity!

Database Design and Development

ASSIGNMENT 1 FRONT SHEET

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 Phạm Văn Hiệp Student ID GCS Class 1622-GCS0903B Assessor name Nguyễn Văn Sơn 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 HIEP Grading grid

P1 M1 D

x

ASSIGNMENT 1 BRIEF Qualification BTEC Level 5 HND Diploma in Computing Unit number Unit 04: Database Design & Development Assignment title Academic Year 2021 Unit Tutor Nguyễn Văn Sơn Issue date Submission date IV name and date Submission Format: Format: This assignment is an Individual assignment and specifically including 1 document: You must use font Calibri size 12, set number of the pages and use multiple line spacing at 1.3. Margins must be: left: 1.25 cm; right: 1 cm; top: 1 cm and bottom: 1 cm. The reference follows Harvard referencing system. The recommended word limit is 2.000-2.500 words. You will not be penalized for exceeding the total word limit. The cover page of the report has to be the Assignment front sheet 1. Submission Students are compulsory to submit the assignment in due date and in a way requested by the Tutors. The form of submission will be a soft copy posted on http://cms.greenwich.edu.vn/ Note: The Assignment must be your own work, and not copied by or from another student or from books etc. If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you must reference your sources, using the Harvard style. Make sure that you know how to reference

properly, and that understand the guidelines on plagiarism. If you do not, you definitely get fail Unit Learning Outcomes: LO1 Use an appropriate design tool to design a relational database system for a substantial problem. LO2 Develop a fully functional relational database system, based on an existing system design. LO3 Test the system against user and system requirements. LO4 Produce technical and user documentation Assignment Brief and Guidance: You are employed as a Database Developer for a large IT consultancy company. The company has been approached by FPT university which is expanding due to the growth of the number of students. FPT is currently facing difficulties in dealing with managing the university. It decided to develop several academic systems to manage the university easier including: Online Library system, Student Grading System, Attendance System, CMS System, Scheduling System, Enrolment Systems, and so on. You are tasked to select one of those systems to develop database for FPT university. Your tasks are to: Work with FPT to find out about current requirements for each system Analyze the requirements and produce clear statements of user and system requirements. Design a relational database system using appropriate design tools and techniques Develop a fully functional relational database system, based on an existing system design. Test the system against user and system requirements. Produce technical and user documentation Part 1 (Assignment 1) Before you start the development process, your manager has asked you to produce a report for the CEO of FPT, containing:

  1. Clear statements of user and system requirements. The system must have at least 2 user roles,

of the choice of test data used.

  1. Lastly you will produce technical and user documentation which will be given to the company. You want to provide some graphical representations for ease of reference in the technical guide, so you have decided to produce a technical and user documentation for a fully functional system, including diagrams showing movement of data through the system, and flowcharts describing how the system works.

Learning Outcomes and Assessment Criteria Pass Merit Distinction LO1 Use an appropriate design tool to design a relational database system for a substantial problem P1 Design a relational database system using appropriate design tools and techniques, containing at least four interrelated tables, with clear statements of user and system requirements. M1 Produce a comprehensive design for a fully functional system which includes interface and output designs, data validations and data normalisation. D1 Assess the effectiveness of the design in relation to user and system requirements.

  • I. Database Design......................................................................................................................................................................................................
      1. Scenario of the chosen system...........................................................................................................................................................................
      1. SRS (System Requirement Specification)............................................................................................................................................................
      1. Logical design (ERD)...........................................................................................................................................................................................
      1. Explanation........................................................................................................................................................................................................
      1. Physical design...................................................................................................................................................................................................
  • References:................................................................................................................................................................................................................
  • Figure 1. ERD(Draw.io)...............................................................................................................................................................................................

I. Database Design

1. Scenario of the chosen system Databases and database systems are an indispensable part of contemporary life: we all engage in activities that entail database interaction on a daily basis. The goal of this study is to build a relational database system with explicit user and system requirements using suitable design tools and approaches. I'll construct a relational database system for a library management system in this exercise, with explicit explanations regarding user and system needs. In recent years, universities under FPT Corporation are developing more and more. There are a lot of students studying here, which leads to an increasing need to use the library to find study materials. I, a database development technician for FPT Corporation, have been assigned the job of developing an online library system to make it easier to manage the library in the school better. This is a useful information and information system to meet the research and learning needs of students and lecturers in the school. 2. SRS (System Requirement Specification) FPT Greenwich University's library now offers a large number of books that are updated on a regular basis to meet the demands of students who want to borrow books. The system's goals are to offer all of the borrower's information as well as information about the library's inventory; it has two purposes for students or regular users: borrowing and returning books;

to readers so that they have the right to look up information in the library. The card has detailed information about readers such as Full name, Year of birth, last borrowed book..., each card will have a registration number issued by the library. After the card is issued, the library will create a record of the borrower's loan return. This record has the same information as the information recorded on the card, in addition, there is a table recording the readers' borrowing and returning books for easy tracking. e) Management of borrowing and returning books: Managing information on borrowed readers and returned books to meet all requests. Readers request to borrow or return books and send information about books to borrow or return When readers send a request to borrow - return books, information about books to borrow - return to the reader service department book search and check for readers. specific: When a reader borrows a certain book, he checks whether the book belongs to the type of book borrowed to read on the spot or borrow to read at home and notify the reader whether the loan request is suitable for the type of book to be borrowed. When readers return books, check if the books have expired or not? Or is the returned book intact? Readers receive books and receive vouchers from the reader service department. f) Statistics: Every month or every year, the librarian must make statistics of the number of books in stock, the number of books that have been borrowed, the number of books that have been borrowed, and the types of books that have been borrowed the most. Statistical summary report for each type of book. g) Search: Used to search for information about books in the library. Readers enter keywords to find all information about all books in the library. The search panel can help users find books faster thanks to the available instructions.

3. Logical design (ERD) Figure 1. ERD(Draw.io)

Library management database has relations as following: Book: ( BookID, BookName, BookAuthor, PriceBook, LibraryID) It store the information of books. Bill: ( BillID , BillName, Day, LibrarianID, StudentID) It store the information of bill. Librarian: ( LibrarianID , LibrarianName, LibrarianEmail, LibrarianAddress, LibraryID) It store the information of librarian. Student: ( StudentID, StudentName, StudentEmail, studentAddress, Major) It store the information of students. Library: ( LibraryID , LibraryName, LibraryAddress) It store the information of library. BillDetail(BookID, BillID, quantity). It store the information of bill detail.

5. Physical design Table: Book

Field name Data type Allow nulls Description BookID Varchar(10) Book code, primary key BookName (^) Nvarchar(100) Full name of book BookAuthor Nvarchar(100) Full name of author PriceBook decimal Price of book LibraryID (^) Varchar(10) Library code, foreign key Table: Librarian Field name Data type Allow nulls Description LibrarianID Varchar(10) Librarian code, primary key LibrarianName Nvarchar(100) The full name of librarian LibrarianEmail Nvarchar(100) The email of librarian LibrarianAddress (^) Nvarchar(100) x The address of librarian LibraryID Varchar(10) Library code, foreign key Table: Library Field name Data type Allow nulls Description

studentAddress Nvarchar(100) x Address of student Major Nvarchar(100) Student's major Table: BillDetail Field name Data type Allow nulls Description BookID Varchar(10) Book code, primary key StudentID Varchar(10) Student code, foreign key quantity int Number of books borrowed

References:

  1. W3.org. 2017. Xquery And Xpath Data Model 3.1. [online] Available at: https://www.w3.org/TR/xpath- datamodel-3 (25 October 2021).
  2. Porubsky, S., 2007. Binarysystem. [online] Cs.cas.cz. Available at: https://www.cs.cas.cz/portal/AlgoMath/NumberTheory/Arithmetics/NumeralSystems/ PositionalNumeralSystems/BinarySystem.htm (2021)
  3. Liu, C.C. and Ma, S. (2020) Design of Library Management System. Open Access Library Journal, 5: e4974. Available at: https://doi.org/10.4236/oalib.1104974 (2021)
  4. Ha, S. (2010) The Research and Design of the Library Information System Based on the Three-Tier Structure. Wuhan University of Technology, Wuhan.