Professional Documents
Culture Documents
Unit number and title Unit 04: Database Design & Development
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.
Grading grid
P2 P3 P4 P5 M2 M3 M4 M5 D2 D3
❒ Summative Feedback: ❒ Resubmission Feedback:
B. Main Body
P2, P3 Develop the database system with evidence of user interface, output and data
validations, and querying across multiple tables. Implement a query language into
the relational database system
1. Program introduction:
My program is created using Visual Studio software.
The application helps us log in, view, add, edit, delete information, grades, and submit assignments.
The data information in the application is taken from the data table created in asm1
2. Login function
This function will help user can login to this program with username and password from data in “users” table
a) User interface:
This is login interface that users can enter username and password to login
If users enter wrong a username or password, there will be a message "Invalid username or password. Please try again.”
Figure 4:enter wrong username and password
Figure 5:notice when enter wrong username and password
c) Querry data:
Code for login function: This is the SQL query for the login function
Figure 6:login
Figure 7:exit
3. View function:
d) Admin interface:
That interface will help user can see program and information this program.
Figure 8:admin interface
Instructor interface:
In this interface the instructor can see the PageInstructor tab but cannot operate it
tabPageGrades all 3 roles can perform the following operations as an example in the student interface
Figure 14:tabPageGrades
e) Input,output data:
You can see all of these items I will make an example of in the Students section
Figure 15:student display
After press in Students this display will appear and you can see all information of Students table.
f) Query data
display it in listview
Figure 17:display interview
4.Function:
The administration interface has necessary functions to help administrators add, update, and delete information in the table.
Figure 18:function
h) Query data:
Figure 22:insert data
Figure 23:btn add
Figure 24:btn add
When clicking on the added course, it will jump to the course form
Figure 38:form course
Figure 43:grades
Logout button:
You can exit the program by clicking the logout tab and pressing exit
Figure 48:logout
After press logout you will redirect to login page
Figure 49:login
2) Test case
Test Function Cases Content Results
1 Login Login Users can login to this application Successful
function function
can work
by get
data
from
database
2 Login If users There will be a message "Invalid username or password. Please try again." Fail
function enter
wrong
username
or
password
3 Add Add Users can add to this table Successful
function function
can work
and add
data to
the table
in
database
7 Log out Log out Successful, Users will redirect to login page Successful
function function
can work
P5 Produce technical and user documentation.
Step 1: login to the application need to login with username and password
Figure 50:step 1
Step 2: After successfully logging in, the application will display the screen showing Students, Instructor, Course, Grades,
Logout
Figure 51:step 2
Step 3: Users can click to each items to interact information each table
Figure 52:step 3
Figure 54:step 5
Figure 56:step 7
Step 9: Users can use sign out button to exit this application
Figure 58:step 9
C. Conclusion
As part of this project, I designed and developed a database system for a company that needed a solution to manage its data and
produces administrative data. I followed and used the user and system requirements given by my teacher demonstrate user interface,
output, data validation and query multiple tables to create a fully functional database system I also implemented a query language for
a relational database system that allows the user to execute complex questions and retrieve relevant information. I presented the
developed system to my supervisor and received feedback its performance and functionality. I assessed whether the survey provided
meaningful information tools and produced relevant management information for the company. I evaluated the efficiency of the
database solution on user and system requirements and suggested improvements for further development. I also tested the system
uses a variety of test data and documents the results and outcomes. My supervisor finished the certification statement show how my
tests meet user and system requirements. I have prepared a short report that gives an estimate testing performance and explained the
choice of test data used. Finally I prepared technical and user Documentation of a fully functional database system, including data
flow diagrams system and flowcharts that describe how the system works. I also gave instructions on how to use the system, how to
use it features, security and maintenance. Technical and user documentation is provided to the company for information and
instructions In short, I successfully implemented the project's objectives and delivered a database solution corresponding to them to
the needs of the company. I have demonstrated my skills and knowledge in design, development, testing and documentation a
database system with various tools and techniques. I also learned from this project experience and reflected on my own strengths and
weaknesses as a database developer. I hope my work will be useful and useful to the company
D. References
Howkteam (n.d.). Khởi tạo Database trong SQL Server | How Kteam. [online] howkteam.vn. Available at:
https://howkteam.vn/course/su-dung-sql-server/khoi-tao-database-trong-sql-server-1363 [Accessed 6 Dec. 2023].
openplanning.net. (n.d.). Kết nối cơ sở dữ liệu SQL Server trong C# | openplanning.net. [online] Available at:
https://openplanning.net/10511/ket-noi-co-so-du-lieu-sql-server-trong-csharp [Accessed 6 Dec. 2023].
TopDev (2021). Tổng hợp những câu lệnh SQL cơ bản. [online] TopDev. Available at: https://topdev.vn/blog/tong-hop-nhung-cau-
lenh-sql-co-ban/ [Accessed 6 Dec. 2023].