

















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!


















Qualification TEC Level 5 HND Diploma in Computing Unit number and title Unit 04: Database Design & Development Submission date June 28, 2021 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name HOANG DINH HIEU Student ID BHAF Class PBIT17101^ Assessor name DINH THI MINH NGUYET 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 (^) hieu Grading grid
Grade: Assessor Signature: Date: Signature & Date:
I. Introduction This report aims to analyze requirements and makes clear statements about user and system requirements; Design relational database system with appropriate design tools and techniques; Develop a fully functional relational database system, based on the existing system design; Test the system against user and system requirements; Producing technical documents and users. I chose an Enrolment system to develop the database for FPT University.
II. Database Design (P1)
A big IT consulting firm has been approached by FPT university, which is growing due to the increase in student enrollment. FPT is currently experiencing problems in administering the university. It made the decision to create many academic systems that make it easier to administer the institution include: Online Library system, Student Grading System, Attendance System, CMS System, Scheduling System, Enrolment Systems, and so on. Working as a Database Developer for the firm, I choose the database design for the Enrolment Systems.
After working with FPT, I have found out about current requirements for the Enrolment Systems:
shared corporate resource. The database holds not only the organization’s operational data, but also a description of this data. For this reason, a database is also defined as a self-describing collection of integrated records ”. (Connolly and Begg, 2015) Put simply, database is a shared collection of logically related data and its description, designed to meet the information needs of an organization. 3.2 Components of a database When we analyze the information needs of an organization, we attempt to identify entities, attributes, and relationships. An entity is a distinct object (a person, place, thing, concept, or event) in the organization that is to be represented in the database. (Connolly and Begg, 2015) An attribute is a property that describes some aspect of the object that we wish to record, and a relationship is an association between entities. (Connolly and Begg, 2015) 3.3 Database management system (DBMS) 3.3.1 Database Management System A database management system (DBMS) is a software package designed to define, manipulate, retrieve and manage data in a database. A DBMS generally manipulates the data itself, the data format, field names, record structure and file structure. It also defines rules to validate and manipulate this data. (Connolly and Begg, 2015)
Typically, a DBMS provides the following facilities:
A primary key is a special relational database table column (or combination of columns) designated to uniquely identify each table record. (What is a Primary Key? - Definition from Techopedia, 2021) A primary key is used as a unique identifier to quickly parse data within the table. A table cannot have more than one primary key. (What is a Primary Key? - Definition from Techopedia, 2021) A primary key’s main features are:
3.4 Entity Relation Diagrams An entity relation diagram (ERD) is, as the name implies, a diagram of entities, their attributes, and the relationships between the entities. Most ERDs depict entities as rectangles with three horizontal sections—the entity name, the primary key, and then the other attributes—and two or more vertical portions, the first holding information about keys and indexes and the second containing attribute name. (Conger, 2012)
Here are my explanations for the relationships between entities based on the system's requirements:
Physical database design represents the materialization of a database into an actual system. While logical design can be performed independently of the eventual database platform, many physical database attributes depend on the specifics and semantics of the target DBMS. Physical design is performed in two stages:
Figure 5: Create a linked Student and Student table Figure 6: Create Student Account table Figure 7: Create Teacher table
Figure 8: Create a linked Teacher and Subject table As a result, tables, entities, and attributes are linked as shown: Figure 9: Linking tables To add new information to table:
Figure 13 : Insert into Student Account table Figure 14 : Insert into Student Subject table After inserting the data, we get the result:
Figure 15: Data in Student table Figure 16: Data in Student Account table