Asignment 2-1620-pass, Assignments of Information Technology

Assignment2-1620 Database Design & Development

Typology: Assignments

2022/2023

Uploaded on 10/17/2023

tuong-tran-4
tuong-tran-4 🇻🇳

21 documents

1 / 44

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 2 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
Trần Văn Tưởng
Student ID
GCH211184
Class
GCH1107
Assessor name
Trần Thị Thoa
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
Tưởng
Grading grid
P2
P3
P4
P5
M2
M3
M4
M5
D2
D3
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c

Partial preview of the text

Download Asignment 2-1620-pass and more Assignments Information Technology in PDF only on Docsity!

ASSIGNMENT 2 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 Trần Văn Tưởng Student ID GCH

Class GCH1107 Assessor name Trần Thị Thoa

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 Tưởng

Grading grid

P2 P3 P4 P5 M2 M3 M4 M5 D2 D

Summative Feedback:Resubmission Feedback:

Grade: Assessor Signature: Date:

Signature & Date:

I. Develop the database system

1. Final Mock-up of the application

Based on previous wireframes, this design is a full version of FPT shop system.

Figure 1 :Login page

User can login to the system with his account.

Figure 2 :Main page

Users can view all products of FPT shop from this page so that they can choose the products to buy.

Figure 4 :Director broad management

The manager can view information about the managers of the stores and can view the sales of that store or the total sales of all stores.

Figure 5 :Order page

This is where customers can fill in information and enter products to order.

Figure 8 :Table Customer_Information design

1.3.Table Shop design

With the Shop table, there are attributes including the primary key Shop_ID to identify the store, Revenue and foreign key

Manager_ID so that the manager can view the store and know the revenue.

Figure 9 :Create table shop

Figure 10 :Table Shop design

1.4.Table Product design

With product table, admin can enter information about product such as Name, Price, Picture and Describe. Product_ID must be unique

to identify product and Shop_id is foreign key of category table.

Figure 11 :Create table product

Figure 14 :Table Oder design

1.6.Table comment design

With a comment table including Comment, Star_rating, Comment_ID as the primary key and 2 foreign keys called Oder_ID and

Customer_ID to know which customer has rated and rated which product.

Figure 15 :Creaate table comment

Figure 16 :Table comment design

1.7.Table Manager design

This table includes Manager_ID to uniquely identify the manager and Names, age. There is also a foreign key of Director_ID so that

the director can manage the information.

Figure 17 :Create table Manager

Figure 20 :Table Director_broad design

1.9.Final diagram

The primary keys of the tables are unique. Foreign Key is the relationship between the two tables and the relationship we call father -

child, meaning that if the table a has a linked attribute to table b, then the table b is the role of the father and table a is child.

Having 7 primary keys from 7 tables gives the uniqueness of that table. Those primary keys are the ids of the tables Shop_ID,

Product_ID, Comment_ID, Customer_ID, Oder_ID, Manager_ID, Director_ID.

Figure 21 :Final Diagram