Docsity

Database Design & Development: Student Management System Case Study - Prof. Tran, Study Guides, Projects, Research of Database Programming

Toggle sidebar
bg1
ASM1 : DATABASE DESIGN & DEVELOPMENT
TRẦN CÔNG HOÀNG
1
ASSIGNMENT 1
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
Trần Công Hoàng
Student ID
BH00317
Class
IT0601
Assessor name
Student’s signature
conghoang.trann
Grading grid
P1
M1
D1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Database Design & Development: Student Management System Case Study - Prof. Tran and more Study Guides, Projects, Research Database Programming in PDF only on Docsity!

ASSIGNMENT 1

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 Trần Công Hoàng Student ID BH

Class IT0601 Assessor name

Student declaration

I certify that the assignment submission is entirely my work and I fully understand the consequences of plagiarism. I understand that

making a false declaration is a form of malpractice.

Student’s signature conghoang.trann

Grading grid

P1 M1 D

Summative Feedback:Resubmission Feedback:

Grade: Assessor Signature: Date:

Signature & Date:

Table 9: Subject ............................................................................................................................................................................................................ 13

I. Introduction

In this assignment, I will talk about the concepts of databases, then I will build a database system to manage students. The goal of this report is to provide a basic introduction. I'll explain the basics of what a database is, look at data, understand relational databases, learn some basics from columns and rows, touch database types other, and familiarize yourself with some additional concepts to understand and build an actual database system. Finally, I will end with a review of the system I designed with my insights.

II. Content

A. Database Design (P1)

1. Scenario of the chosen system

❖ For a large IT consulting company, and as a Database Developer. Due to the increasing number of students, BTEC FPT International College has approached the company. Currently, it is difficult for FPT to interact with university leadership. ❖ It has chosen to build various academic systems that make organization management simpler, such as the online library, student graduation system, attendance system, system CMS.

✓ Working with BTEC FPT International College to learn about existing system needs and additional requirements ✓ Analyze needs and make clear user and system requirements statements. ✓ Form a relational database system using tools and design processes suitable for BTEC FPT International College ✓ Develop a fully operational relational database system based on the existing system design. ✓ Test the system according to the needs of the user and the system. ❖ Currently, BTEC FPT International College has many discrete and separate management systems, lacking synchronization such as an Online library system, Student grading system, Attendance system, CMS system, Ranking system timetable, Admission System, etc. ❖ Thus, it is time for us to create a unified system to effectively capture and manage students in the teaching and management of the school. ❖ Therefore, we have proposed to build a Student Management System - a large system with big data sources so that FPT University can thoroughly solve these difficult problems.

2. SRS (System Requirement Specification)

❖ Building the BTEC FPT International College relational database and dividing it into clear and precise tables can solve all the above-mentioned difficulties: ➢ Student: Each student has a unique identity ( StudentId) , which includes basic information about the student and belongs to a certain class identity ( ClassID ).

➢ Course: each course has a certain identifier ( CourseId ), name, description, start and end time, and belongs to a certain faculty ( FacultyId ). ➢ Subject : Each subject has a management code ( SubjectId ) each subject has a Teacher(TeacherId) and belongs to a course( CourseId ) ➢ Mark: Each mark sheet ( MarkId ) recognizes a student who has taken a test for a particular subject within a certain testing period. ➢ Teacher : Each teacher will have a specific identifier ( TeacherId). In this table, each subject is taught in a certain specialty. ➢ Class : A class with a management class code ( ClassId ), in the class there will be its properties and each class will have a teacher ( TeacherId ). ➢ StudentAccount, TeacherAccount: Each account will have a username ( UserName ) and password ( Password ). ➢ Faculty Each faculty will have a unique identifier ( FacultyId ) and its name. ❖ Require function: ➢ The system has the main functions: storing information about students, subjects, curriculum, classes, lectures, and student management of teachers and schools... Along with that is retrieving data according to user requirements easily and quickly. ➢ This system needs to have high security to avoid data loss or theft,... ➢ The executed operations will be stored and the system records the modifications and cancellations. ➢ Eye-catching external interface, easy to use. ➢ The system stores data history for easy inspection and review by users. ❖ System Requirements: ➢ ▪ The system runs on Windows 10, and Windows 11. (Prefer Windows 11).

3. Logical design (ERD)

Figure 2 : Physical Design

4. Explanation

a) For the system, the reason ERD is suitable because: ➢ The relationship of the entities recorded in the database is shown in the physical relationship diagram (ERD). One entity is an object, a data component in this context. A collection of related entities is a collection of entities. They may have characteristics that determine their characteristics. ➢ ERD diagram shows the logical structure of the database by identifying their entities, and characteristics and displaying their relationships. ➢ Because the system requires design databases. The tables are closely connected to the ERD graph. The system can provide statistics on student data, and the topic simply and conveniently. Importing data easily and scientifically so ERD is a good choice.

b) Explain ERD:

➢ First, we need to determine the main key and sub-lock of each table when designing the ERD diagram:

  • Bold is the primary key.
  • Italics and bold are foreign keys. StudentId S_FirstName S_LastName S_Phone S_Email S_DoB S_Address ClassId Int Varchar(50) Varchar(50) Int Varchar(30) Datetime Varchar(100) Int Table 1 Student S_UserName S_Password StudentId Varchar(50) Int Int

StudentId CourseId ASM1 ASM Int Varchar(50) Int Int Table 8 : Mark CourseId TeacherId Int Int Table 9 : Subject ➢ Next, we need to identify relationships 1-N, 1-1, and N-N to be able to connect the tables:

  • Each student will belong to a class, a class will have many students. This is a 1-n relationship.
  • Each student and teacher will have a unique account. This is a 1 - 1 relationship.
  • A class has only one teacher, a teacher can belong to many different classes. This is a 1-n relationship.
  • A teacher will teach many different subjects. This is a 1-n relationship.
  • Each student will only have one transcript for his or her course. Each course will have multiple transcripts. This is an n-1 relationship.
  • Each teacher can teach multiple courses. Each course will have multiple teachers. This is an n-n relationship. They are connected by the subject table.
  • Each course belongs to only one faculty. This is a 1-n relationship.

5. Physical design

The materialization of a database in an actual system is a physics-based concept. Although the logical design may be done regardless of the ultimate database platform, many physical database features rely on the DBMS target's details and semanticity: ➢ Conversion of the logical design in table definitions: pre-deployment designs, table definitions, standardization, primary and external key relations, fundamental indexing. ➢ Physical data database design after deployment, fis requently carried out by a manager of a database

III. Conclusion

After completing this report, I have understood and grasped the principle, analysis, and specification of a Database Design & Development system and its operation. Furthermore, with Microsoft SQL Management System software, I can use it to design and code a complete database for the website or application development. I am now confident that I can choose the necessary devices and build the right database management and development workflow for me. Awesome Database Design & Development! Thanks to it, I understand how the devices around us work. This is very interesting and wonderful.

IV. References