Professional Documents
Culture Documents
(COMPUTER SCIENCE)
KATHMANDU, NEPAL
2021
A project on
WEB TECHNOLOGY
of
Section : MA2
NEPAL
TRINITY INTERNATIONAL SS & COLLEGE
Date: 2080/11/11
Letter of Declaration
I hereby declare that the work presented in this project report has been done
by myself under the supervision of Daya Ram Yadav and has not been
submitted elsewhere for any examination.
ID Number: 27150
TRINITY INTERNATIONAL SS & COLLEGE
Dillibazar Height, Kathmandu, Nepal
Letter of Approval
Supervisor
TABLE OF CONTENTS
S.N Pg. No
1. Introduction
4. Conclusion
5. Acknowledgement
6. References
INTRODUCTION
In pursuit of enhancing the assignment management experience for both students and
teachers, the focus was on rectifying the shortcomings of the existing system. The current
manual processes, such as physical assignment submissions and manual grading, posed
significant hurdles. These traditional methods not only consumed time but also led to
communication gaps between students and teachers. The absence of a centralized system
exacerbated the situation, making it arduous for both parties to track assignment details,
deadlines, and feedback effectively.
To mitigate these issues, a comprehensive solution was proposed. This involved the
development of a centralized web-based platform accessible to all stakeholders. Through
this platform, automated workflows were to be implemented, streamlining assignment
submission, grading, and feedback processes. Real-time communication features,
including notifications and messaging, were incorporated to bridge the gap between
students and teachers. This initiative aimed to enhance transparency and accountability
while facilitating seamless collaboration.
In seeking to revolutionize the assignment management experience for both students and
educators, it became imperative to address the inherent inefficiencies entrenched within
the existing system. Such methodologies not only proved time-consuming but also
fostered communication gaps between students and teachers, impeding effective
collaboration and feedback exchange. Compounded by the lack of a centralized platform,
the fragmentation of assignment-related information across disparate channels further
exacerbated the challenges faced by both parties.
To rectify these systemic deficiencies, a multifaceted solution was envisioned. At its core
lay the development of a centralized, web-based platform accessible to students and
teachers alike. This platform sought to automate key workflows, streamlining assignment
submission, grading, and feedback processes to enhance efficiency and accuracy. Real-
time communication functionalities, including notifications and messaging features, were
integrated to facilitate seamless interaction and collaboration between students and
instructors. By providing a unified digital space for assignment management, this
initiative aimed to bridge existing communication gaps and foster greater transparency
and accountability throughout the process.
1
MATERIALS AND METHODS
The research methodology employed in this study followed a structured approach,
comprising several distinct phases. Initially, a comprehensive data collection process was
initiated, involving surveys and interviews with students, teachers, and relevant
stakeholders. These engagements yielded invaluable insights into the existing assignment
management framework, shedding light on its shortcomings, user experiences, and
expectations for enhancement. Furthermore, a meticulous examination of pertinent
literature was conducted to establish a theoretical framework and glean insights into
prevalent practices and trends in assignment management within educational settings.
Subsequent to data collection and literature review, an in-depth system analysis was
undertaken to assess the strengths and weaknesses of the current assignment management
system. This evaluation entailed a thorough examination of manual procedures,
communication channels, and user interactions pertaining to assignment submission,
grading, and feedback processes. The identification of areas ripe for improvement was
essential in laying the groundwork for subsequent stages of the research.
Building upon the insights gleaned from the analysis phase, a feasibility study was
conducted to ascertain the practicality of developing a new assignment management
system. Technical, operational, and economic factors were scrutinized meticulously to
ascertain alignment with organizational objectives and constraints. This feasibility
assessment furnished valuable insights into potential challenges and opportunities
associated with system implementation, thereby informing decision-making processes
and resource allocation strategies.
Separate components are designated for each type of user (Teacher, Student), along with
their respective dashboards and interfaces. Interactions are conducted by users with their
respective dashboards to execute operations related to assignments. Information regarding
assignments created by teachers is stored in the Assignment Database. Information about
submissions made by students is stored in the Assignment Submission Database. Tasks
related to grading assignments and providing feedback to students are handled by the
Feedback and Grading Module.
2
Assignment
Management
System
Administrator
User Interface Interface
Student
Teacher
Dashboard
Dashboard
Student
Teacher
Operations
Operations
Assignment
Management Feedback and
Module Grading Module
3
RESULTS AND FINDINGS
The system development involved the use of various platforms and technologies to ensure
functionality and accessibility. PHP was chosen for backend development due to its
versatility and compatibility with MySQL for database management. HTML, CSS, and
JavaScript were used for frontend development to create a visually appealing interface.
AJAX facilitated real-time updates between the frontend and backend components.
Industry-standard practices like agile development and tools like Git were employed for
efficient workflow and code management. Overall, these platforms and methodologies
contributed to the creation of a robust and user-friendly assignment management system.
index.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trinity International College</title>
<link rel="stylesheet" href="styles.css">
<script src="https://kit.fontawesome.com/yourcode.js"crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-
beta3/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<body>
<header>
<h1>Trinity International College</h1>
</header>
<nav>
<ul>
<li><a href="teacher-login.php">Teacher</a></li>
<li><a href="student-login.php">Student</a></li>
</ul>
</nav>
<main>
</main>
<footer>
<section>
<h2>Contact Us</h2>
<p>Email: trinitycollege@gmail.com</p>
<p>Phone: 01-456387</p>
</section>
<p>© 2024 Trinity International College</p>
</footer> 4
db_connect.php
<?php
// Database connection parameters
$servername = "localhost";
$username = "root";
$password = "";
$database = "student_billing_system";
// Create connection
$conn = mysqli_connect($servername, $username, $password, $database);
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
?>
teacher-login.php
<body>
<div class="container">
<div class="back-button">
<a href="index.php"><i class="fas fa-arrow-left"></i></a>
</div>
<h2>Teacher Login</h2>
<form action="teacher-login-handler.php" method="POST">
<input type="email" name="email" placeholder="Email" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
<p>Don't have an account? <a href="teacher-signup.php">Signup</a></p>
</div>
</body>
5
teacher-login-handler.php
<?php
session_start();
if ($_SERVER["REQUEST_METHOD"] == "POST") {
require_once "db_connect.php";
$email = $_POST["email"];
$password = $_POST["password"];
$sql = "SELECT * FROM teachers WHERE email = '$email' AND password = '$password'";
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result) == 1) {
$teacher = mysqli_fetch_assoc($result);
$_SESSION["teacher_id"] = $teacher["id"];
header("Location: teacher-dashboard.php");
exit;
} else {
echo "Invalid email or password. <a href='teacher-login.php'>Go back</a>";
}
} else {
header("Location: teacher-login.php");
exit;
}
?>
teacher-dashboard.php
<div class="profile">
<h2>Welcome, <?php echo $teacher_name; ?></h2>
<p>Subject: <?php echo $teacher_subject; ?></p>
<p>Shift: <?php echo $teacher_shift; ?></p>
<img src="<?php echo $profile_picture; ?>" alt="Profile Picture">
</div>
</main>
<div class="container">
<h2>Create Assignment</h2>
<form action="create_assignment.php" method="POST">
<label for="title">Title:</label><br>
<input type="text" id="title" name="title" required><br>
<label for="description">Description:</label><br>
<textarea id="description" name="description" rows="4" required></textarea><br>
<label for="due_date">Due Date:</label><br>
<input type="date" id="due_date" name="due_date" required><br>
6
<button type="submit">Create Assignment</button>
</form>
edit-assignment.php
<?php
require_once "db_connect.php";
if(isset($_GET['id'])) {
$assignment_id = $_GET['id'];
$sql = "SELECT * FROM assignments WHERE id = '$assignment_id'";
$result = mysqli_query($conn, $sql);
if($result && mysqli_num_rows($result) > 0) {
$assignment = mysqli_fetch_assoc($result);
// Assign fetched assignment details to variables
$title = $assignment['title'];
$description = $assignment['description'];
$due_date = $assignment['due_date'];
} else {
echo "Assignment not found.";
exit;
}
} else {
echo "Assignment ID not provided.";
exit;
}
?>
<header>
<h1>Edit Assignment</h1>
</header>
<main>
<div class="container">
<form action="update_assignment.php" method="POST">
<input type="hidden" name="id" value="<?php echo $assignment_id; ?>">
<label for="title">Title:</label><br>
<input type="text" id="title" name="title" value="<?php echo $title; ?>" required><br>
<label for="description">Description:</label><br>
<textarea id="description" name="description" rows="4" required><?php echo
$description; ?></textarea><br>
<label for="due_date">Due Date:</label><br>
<input type="date" id="due_date" name="due_date" value="<?php echo $due_date; ?>"
required><br>
<button type="submit">Update Assignment</button>
</form>
</div>
</main>
7
delete-assingment.php
<?php
// Include database connection
require_once "db_connect.php";
view-assignment.php
<div class="assignment-list">
<?php
$sql = "SELECT * FROM assignments";
$result = mysqli_query($conn, $sql);
if ($result && mysqli_num_rows($result) > 0) {
while ($row = mysqli_fetch_assoc($result)) {
echo "<div class='assignment'>";
echo "<h3>{$row['title']}</h3>";
echo "<p>{$row['description']}</p>";
echo "<p>Due Date: {$row['due_date']}</p>";
echo "<form action='submit_assignment.php' method='POST'
enctype='multipart/form-data'>";
echo "<input type='file' name='file' required>";
echo "<input type='hidden' name='assignment_id' value='{$row['id']}'>"; // Hidden
field to store assignment ID
echo "<input type='submit' value='Submit Assignment' class='submit-button'>";
echo "</form>";
echo "</div>";
}
} else {
8
echo "<p>No assignments found.</p>";
}
SCREENSHOTS
1. Home Page
9
3. Teacher Login Page
10
5. Assignment Editing Dashboard
11
7. Student Dashboard Page
12
CONCLUSION
The evolution of the student-teacher assignment management system has been a thorough
journey, marked by numerous significant discoveries and insights. Through meticulous
planning, structured analysis, and collective endeavors, several notable outcomes have
surfaced, influencing the project's course and significance.
Initially, the endeavor underscored the imperative necessity for centralized platforms
within educational institutions to streamline assignment management processes. By
furnishing a consolidated interface for both students and educators, the system effectively
bridged communication disparities, reduced manual labor, and bolstered overall
efficiency in assignment-related activities.
Furthermore, the system's deployment underscored the pivotal role of user-centric design
and functionality. Through iterative feedback mechanisms and rigorous user testing, the
team pinpointed and rectified usability challenges, ensuring the system's intuitiveness,
accessibility, and alignment with user requisites.
13
ACKNOWLEDGEMENT
The author extends sincere gratitude to Mr. Daya Ram Yadav, the main supervisor, whose
invaluable guidance, unwavering support, and insightful feedback were instrumental
throughout the duration of this project. His expertise and encouragement provided a solid
foundation for the research, contributing significantly to its success. Special thanks are
also extended to Mr. Lal Krishna Malik, the second supervisor, whose expertise,
encouragement, and valuable contributions enriched the project's outcomes and enhanced
its quality.
Furthermore, the author acknowledges the valuable contributions of academic staff from
other departments, whose insights and perspectives enriched the research outcomes.
Recognition is also extended to institutions, organizations, and companies that provided
resources or support, contributing to the project's success. Past students who generously
shared their experiences and insights are also acknowledged for their valuable input,
which helped shape the project's direction and outcomes. Lastly, heartfelt thanks go to
family and friends for their unwavering encouragement, understanding, and support
throughout this challenging yet rewarding journey
14
REFERENCES
Larry Ullman. (2017). PHP and MySQL for Dynamic Web Sites. Peachpit Press. ISBN:
978-0134301846.
Eric A. Meyer. (2017). CSS: The Definitive Guide. O'Reilly Media. ISBN: 978-
1449393199.
Michael J. Hernandez. (2013). Database Design for Mere Mortals: A Hands-On Guide to
Relational Database Design. Addison-Wesley Professional. ISBN: 978-0321884497.
15