Assignment 1 1622 Database Design Development Distinction

43 1 0
Assignment 1 1622 Database Design  Development Distinction

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

This exercise scores Distinction in database programming. This exercise demonstrates how to code a database, database query syntax, and ways to normalize data while developing a system in Microsoft SQL.

ASSIGNMENT FRONT SHEET Qualification TEC Level HND Diploma in Computing Unit number and title Unit 04: Database Design & Development Submission date 25/02/2023 Re-submission Date Date Received 1st submission 25/02/2023 Date Received 2nd submission Student Name Tran Duc Long Student ID GCH210562 Class GCH1106 Assessor name Dinh Duc Manh 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 Grading grid P1 M1 D1 Page of 42  Summative Feedback:  Resubmission Feedback: 2.1 Grade: Signature & Date: 2.2 Assessor Signature: Date: Page of 42 Table of Contents A Introduction B C Task Statements of user and system requirements 1.1 Overview about the Problem 1.2 Requirements of the application a Business process b Business rules c Requirements d User story e Objectives (Things intended to achieve) f Output Task Design the relational database system 12 2.1 Analyse the requirements 12 2.2 Database design with explanations 13 a Logical design(ERD) 13 b ER diagram 17 2.3 Review whether the database is normalized 19 a First Normal Form (1NF) 20 b Second Normal Form (2NF) 20 c Third Normal Form (3NF) 21 d Conclusion 22 Page of 42 2.4 Data validation 24 2.5 Wireframe of the application 30 2.6 Evaluation 40 a Advantage 40 b Disadvantage 41 c Future development plans 41 D Conclusion 42 E References 42 Page of 42 Table of picture Picture 1: Information of Customer 10 Picture 2: Information of Staff 10 Picture 3: Information of Products 10 Picture 4: Information of Orders 11 Picture 5: Top Customers spend the most in the year 11 Picture 6: Top Products purchased the most in the year 11 Picture 7: Top staffs sell the most in the year 12 Picture 8: Entity-relationship diagram at the conceptual level 17 Picture 9: Complete Entity Relationship Diagram 18 Picture 10: Login interface 31 Picture 11: Main layout 32 Picture 12: Menu of View option 33 Picture 13: Example of View Customer List Layout 34 Picture 14: Menu of add options 35 Picture 15: Example of Add new Staff Layout 36 Picture 16: Menu of Update options 37 Picture 17: Update Customer layout 38 Picture 18: Menu of Statistic options 39 Page of 42 A Introduction We live in a modern society where everything is modern and innovative Every day, there is a lot of innovation, especially in technology When it comes to technology, we must admit that it has permeated every aspect of our lives, from simple devices such as phones and computers to complex programming applications Currently, digital transformation technology is gaining popular in a variety of disciplines, particularly company management models While offline stores are progressively becoming outdated, online shops are an excellent solution for developing this model In this assignment, I will discuss relational database, specifically how I design it, detailed explanations of its functions and characteristics, and finally an evaluation of the functions and the design In addition, I created tables in my design to easily manager, and each table has its own function and information to create a manage system for FPT SHOP These tables will help managers enter client information or staffs, products such as address or id, and the program will also help managers determine which consumers purchase the most, which things sell best, and which employees are the best Page of 42 B Task Statements of user and system requirements 1.1 Overview about the Problem FPT Shop is now experiencing difficulty in processing the database from all of its locations around the country, which is increasing as the number of stores grows which is expanding due to the growth in the number of stores FPT shop approached my firm and requested assistance I decided to create a new database where people may register using their phone number or email address as their ID and place an order Each consumer will be assigned a caregiver, and each staff will report to their management This will assist FPT Shop in managing all data ranging from staff to customers, as well as new or additional items to the organization As a result, in order to create a new database, I need to understand the needs of consumers, users, and staff while signing into the application and ordering and reviewing items Customer information will also be kept safe and secure, staffs and manager, who will oversee everything to ensure that the application always fulfills the user's requirements 1.2 Requirements of the application a Business process • • • Clients and employees can access the application by inputting login information in the login screen After logging in, customers and employees may enter their information to implement options Customers who wish to swap products and information must submit a request to management in order for the exchange customer and their information to be accepted Once a consumer puts an order, the staff will review the order, its progress, and the client's order notes Managers and directors may also access all data on customers, staffs, or goods, as well as statistics on which customers purchase the most, which items sell the best, and which employees are the best b Business rules • • • Customer, staffs, managements, accountants and directors must use a phone number or email account to log in to the application Customers are unable to change their own information or orders Staff can view order advice for customers The manager can edit the information of the order as well as the customer If customers want to change They will have logged in and place an order will receive an email with a request to amend the information Page of 42 • • If the request is approved by the management, the client may modify the information or erase it and reinstall a new one (Management has only 24 hours to approve or decline the request) The accountant can view the store's sales statistics so that they can be submitted to the management The board of directors will look at the statistics of the accounting reports, then apply the reward policy for employees as well as apply discount codes to customers c Requirements ➢ The database that is developed must fulfill fundamental criteria such as ease of access, storage, management, and updating The system must also assure the database's security At the same time, they must satisfy all of the scenario's criteria ➢ Functional requirements: • Customer: o Customers may order products o After logging in, the customer may examine product information and provide it o Once the manager accepts that need, the customer can add information to the order product and delete that information • Staff: o Employees login app and can access just product and order of client o Employees can change order status o Employees can view customer information • Manager: o Administrators can accept requests to alter client information o A manager can manage many staffs and can keep information o Managers have the ability to regulate product, add product, and delete product o Managers can also edit or delete information of employees as well as customers • Product: o When a valuable product is brought to the store, it must have a distinct brand Page of 42 o Products will be classified into certain categories, with pricing that are competitive in both the domestic and international markets ➢ Non-functional requirements: All objects will be able to log in using their FPT username and password in 20 minutes The web can be accessed by up to 500 users at once It takes less than seconds for the web to respond d User story • • • • • As a Customer, I want to buy quality products on the app and have it delivered to my door to save time So that I don't have to wait in line and wait at the store Everything on the app is very clear like name, price, quality As a Staff, I want to see product information, customer information, orders So I logged in to the app to get information for consulting and care customer As a Manager of FPT shop, I want to edit the information’s products So that I logged into the system to check Everything on the app is very clear like product's name, brands, categories, total price As an accountant, I want to see product information, the number of products in stock So that I can control revenue of shop As an accountant, I want to see the store's sales statistics So that I logged into the system to check from which to apply the reward policy for employees e Objectives (Things intended to achieve) The database must provide adequate functions, such as viewing, adding, removing, and updating data, as well as allowing users to quickly and easily access it, and it must also be safe f Output The output to the system will be the data of information of products, staffs, and customers, etc Page of 42 Picture 1: Information of Customer Picture 2: Information of Staff Picture 3: Information of Products Page 10 of 42

Ngày đăng: 24/02/2024, 01:57

Tài liệu cùng người dùng

Tài liệu liên quan