Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
11 views1 page

CT-2 Sample Question

The document outlines the requirements for a Student Management Web Page that includes a database table for student records with fields for StudentID, Name, and Department. It specifies the user interface elements such as a form for adding students and a table for displaying records with functionalities for adding, editing, and deleting students. Additionally, it details the necessary backend functionalities to manage student data in the database.

Uploaded by

Sm Salman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

CT-2 Sample Question

The document outlines the requirements for a Student Management Web Page that includes a database table for student records with fields for StudentID, Name, and Department. It specifies the user interface elements such as a form for adding students and a table for displaying records with functionalities for adding, editing, and deleting students. Additionally, it details the necessary backend functionalities to manage student data in the database.

Uploaded by

Sm Salman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Implement a Student Management Web Page

You are required to build a simple web page for managing students. The application should
allow adding, displaying, editing, and deleting student records.

Requirements
1. Database
Create a database table Students with the following fields:
● StudentID (Primary Key, INT, Auto Increment)
● Name (VARCHAR(100))
● Department (VARCHAR(50))

2. User Interface
● Create a form with the following input fields:
○ Student Name (Text)
○ Department (Dropdown or Text)
○ Add button
● Display the student records in a table below the form. Each row should have:
○ Student ID
○ Student Name
○ Department
○ Edit button
○ Delete button

3. Frontend Functionalities
● When the user clicks Add, the data should be validated (no empty fields).
● After adding, the student should appear immediately in the table
● Clicking Edit should allow updating the student’s information.
● Clicking Delete should remove the student from the table.

4. Backend Functionalities
Implement backend functionalities for the following:
● Add a new student in the database.
● Retrieve all students from the database.
● Update a student’s details in the database.
● Delete a student from the database.

You might also like