







































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 BTEC Level 5 HND Diploma in Computing Unit number and title Unit 04: Database Design & Development Submission date 12/12/2023 Date Received 1st submission 12/12/ Re-submission Date Date Received 2nd submission Student Name Le Thi Huyen Trang Student ID BC Class SE06201 Assessor name Tran Van Nhuom 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
Grade: Assessor Signature: Date: Signature & Date:
The Classroom Management System is a comprehensive relational database solution designed to streamline and enhance the administration of educational institutions. This system addresses the intricate needs of managing various aspects of classroom activities, student information, and academic resources. The primary objective of this project was to develop a fully functional relational database system based on an existing design. Throughout the development phase, rigorous testing against both user and system requirements was conducted to ensure seamless functionality and adherence to predefined benchmarks. This report encapsulates the meticulous process of designing, implementing, and validating the Classroom Management System. It provides a detailed account of the technical architecture, database schema, and the integration of functionalities to meet the diverse needs of educators, administrators, and students. Furthermore, comprehensive technical and user documentation has been compiled, elucidating the system’s operations, and providing a user-friendly guide for its utilization. The system's development and validation have been executed in alignment with established standards and best practices in database management, ensuring robustness, reliability, and scalability. This report aims to demonstrate the efficacy and proficiency of the Classroom Management System, offering insights into its functionality and the value it brings to educational institutions.
1. User Interface (UI) The classroom management system is designed to be friendly and easy to use, allowing teachers and students to easily access and perform necessary operations. ➢ User interface for teachers The teacher user interface includes the following pages: o Login page: Teacher enters username and password to log in to the system. o Class list page: Teachers can see a list of all the classes they are teaching. o Class information page: Teachers can view detailed information about a class, including class name, homeroom teacher, students, and class schedule. o Student management page: Teachers can add, edit, and delete students in the class. o Grading page: Teachers can grade students' assignments and tests. o Test management page: Teachers can create, edit, and delete tests. ➢ User interface for students o Login page: Students enter their username and password to log in to the system. ➢ Proof of user interface o Login page:
Figure 2 : User Interface Analysis
Call to Action: The call to action is located at the bottom of the page. The call to action encourages users to sign up for the website's newsletter. ➢ Class list page Figure 3 : Class list page
Figure 5 : Course listing page
Figure 6 : Points list page
Figure 8 : Output information of a program. ➢ The output of the program:
3.2. Data Validation in Login form ➢ Data Type Check o Login Error Notification Figure 9 : Login Error Notification When a user enters an incorrect username and password, the system verifies this information. If the login information is incorrect, a success message will be displayed, indicating that the user failed to log in. o Logout Functionality
Figure 11 : Code Check ➢ The code in the image provides the following functions: Data validation: The code validates the username and password entered by the user. It checks to ensure that the username is not empty, that the password is at least six characters long, and that the password contains at least one uppercase letter, one lowercase letter, and one number. Data querying: The code queries the database to find a record that matches the username and password entered by the user. If a record is found, the code logs the user in. If no record is found, the code displays an error message. ➢ The code in the picture is provided with a part of the login function. This is an overview of code: o Account Authentication:
Users enter their username and password into two text boxes ( tb_name and tb_pass ) This data is used to check the login credentials against a database or storage containing account information. o Account Verification: It verifies whether the account exists in the database and validates the correctness of the password. If the login information is valid, the program checks the account status. If the account is inactive, a warning dialog is displayed, and login is not allowed. If the role is "Teacher", the welcome dialog will display and then the "Teacher" form (Teacher object) will be created and displayed. If the role is not "Teacher", another welcome dialog will be displayed and then "Student" (Student object) will be created and displayed. o Exception handling: Exceptions are caught and handled. In case of an error, the program closes the database connection (if any) and displays an error dialog box. o Cancel button: If the user clicks the "Cancel" button, a confirmation dialog box will appear. If the user selects "Yes", the application will exit.
4. Queries to create database with results. The initial step in building the system is to generate the database. Figure 12 : Next, we need to create the data tables as shown in the design. Figure 13 : Create Class Table.