Chatbot Paper
Chatbot Paper
INTRODUCTION
1.1 ABOUT THE PROJECT:
The “Chat Bot for Students Learning” is a comprehensive web application designed to
facilitate interactive and informative conversations between students and the chatbot. The system
employs a robust tech stack, including HTML5, CSS, JavaScript, jQuery, Ajax, Bootstrap, and
PHP (version 8.0.2) with MySQLi OOP for backend operations. The user interface incorporates a
modern design using the AdminLTE template.
For users, the chatbot enables seamless communication, allowing students to ask
questions and receive relevant responses. The project includes an Admin Panel featuring four
tabs: Dashboard (with a graphical representation of frequently asked questions), Settings (for
updating system information and customization), Response List (for managing existing questions
and creating new responses), and Unanswered List (to handle and update responses for
unanswered questions).
The system caters specifically to the needs of school and college students, offering a
valuable tool for learning and information retrieval. The admin has the ability to monitor,
customize, and enhance the chatbot’s performance, ensuring a dynamic and user-centric learning
experience.
These modules collectively form the backbone of the "Chat Bot for Students Learning"
project, providing a comprehensive and user-friendly platform for both students and
administrators.
2. SYSTEM SPECIFICATION
These hardware specifications provide a baseline for setting up the infrastructure required
to deploy and run the "Chat Bot for Students Learning" project effectively. Depending on the
anticipated workload and scalability requirements, it may be necessary to allocate additional
resources such as CPU cores, RAM, and storage capacity to ensure optimal performance and
user experience.
PHP serves as the primary server-side scripting language for the project.
It handles dynamic content generation, processing user input, and interacting with the MySQL
database.
MySQL is used as the database management system to store system information, user
interactions, and responses.
It enables efficient data storage, retrieval, and manipulation through structured query language
(SQL) commands.
HTML5, CSS, JavaScript, and jQuery are utilized for frontend development, creating the user
interface and enhancing interactivity.
HTML5 provides the structure of web pages, CSS styles them, and JavaScript/JQuery adds
dynamic behavior and functionality to the interface.
Bootstrap framework is employed for designing responsive and mobile-first web pages.
It offers a collection of pre-designed components, CSS classes, and JavaScript plugins for
building modern and visually appealing user interfaces.
AdminLTE Template:
The AdminLTE template is integrated into the project to create a modern and user-friendly
administrative interface for administrators.
It provides a range of UI components, layouts, and plugins tailored for building admin panels
and dashboards.
Ajax (Asynchronous JavaScript and XML):
Ajax is used for asynchronous data exchange between the client and server, enabling real-time
updates and seamless user interactions without page reloads.
It facilitates dynamic content loading and interaction with the server-side scripts without
interrupting the user experience.
This software description highlights the key programming languages and tools utilized in the
project, showcasing their roles in developing an efficient and user-friendly chatbot application
for students' learning.
3. SYSTEM STUDY
3.1 EXISTING SYSTEM:
Browsing:
Students use web browsers to search for information online, accessing various
educational websites, forums, and articles.
This method lacks personalized interaction with the content and sources, as well as
immediate responses to student queries.
While browsing provides access to a vast amount of information, students may need to
sift through extensive search results to find relevant information.
Books:
Students refer to textbooks and educational materials for learning and research purposes.
Books offer static information that may not cover all topics comprehensively or provide
up-to-date information.
Traditional textbooks do not offer interactive engagement for clarifying doubts or asking
questions.
The learning experience from books is often solitary and lacks the dynamic nature of
real-time interaction.
3.1.1 LIMITATION OF EXISTING SYSTEM:
Limited Personalization: The existing system lacks personalized interaction with
students, providing generic information that may not cater to individual learning needs or
preferences.
Time-Consuming Search Process: Browsing for information online or referring to books
requires students to invest significant time and effort in searching for relevant resources,
which can be time-consuming and inefficient.
Static Information: Books offer static information that may become outdated over time or
lack real-time updates on emerging topics or developments in the field of study.
Lack of Interactivity: Both browsing and books offer passive learning experiences,
lacking the interactivity and engagement required for active learning and knowledge
retention.
Limited Accessibility: Access to online resources may be restricted by factors such as
internet connectivity, availability of resources, or geographical limitations, limiting
students' access to educational materials.
Difficulty in Clarifying Doubts: Students may encounter difficulties in clarifying doubts
or asking questions while using the existing system, as there is limited interaction with
instructors or peers for support and guidance.
Inability to Track Progress: The existing system may lack mechanisms for tracking
students' learning progress, assessing their understanding of the material, or providing
personalized feedback to enhance learning outcomes.
Dependency on External Sources: Relying solely on browsing and books for learning
may limit students' exposure to diverse perspectives, alternative resources, or interactive
learning tools that could enhance their learning experience.
The "Chat Bot for Students Learning" introduces an innovative approach to enhance the
learning experience by leveraging advanced technologies. This proposed system seeks to address
the limitations of traditional learning methods, such as browsing and books, by integrating a
dynamic chatbot tailored specifically for school and college students.
The system introduces an Admin Module that empowers administrators to customize the
chatbot's behavior, manage system settings, and curate responses to commonly asked questions.
The Dashboard Module offers a visual representation of frequently asked questions, providing
administrators with valuable insights into student queries.
Moreover, the Settings Module allows administrators to fine-tune the system information,
including the system name, short name, intro message, and visual elements like the system logo,
bot avatar, and user avatar. The Response List Module facilitates the management of existing
questions and the creation of new responses, ensuring an ever-evolving knowledge base.
Purpose: Users receive responses to their queries or questions from the chatbot.
Format: Clear and concise textual information presented to the users based on the
chatbot's processing of their input.
Admin Output:
Purpose: Administrators receive visual summaries and lists of system data for monitoring
and management purposes.
Format: Graphs, charts, and tables displaying system analytics, frequently asked
questions, response lists, and unanswered queries.
Dashboard Output:
Purpose: Administrators gain insights into system performance and user interactions.
Format: Graphs, charts, and tables providing visual summaries of system analytics,
frequently asked questions, and user engagement metrics.
Format: Textual lists of unanswered queries and their corresponding responses. Visual
representations may also be used to prioritize or categorize unresolved queries.
These output designs ensure that users and administrators receive clear, organized, and
relevant information from the system, facilitating effective communication and management of
the "Chat Bot for Students Learning" project.
4.3 TABLE DESIGN:
4.3.3 responses:
4.3.4 system_info
Software testing is a critical element of software quality assurance that represents the
ultimate review of specifications, design and coding. The user tests the developed system and
changes are made according to their needs. The testing phase involves the testing of developed
system using various kinds of data. It involves user training, system testing and successful
running of the developed system.
The changes are made according to their needs. The testing phase involves the testing of
the developed system using various kinds of data. While testing, errors are noted and corrections
are made system testing is the stage of implementation, which is aimed at ensuring that the
system works accurately and efficiently before live operation commences. The candidate system
is subject to a variety of test: stress recovery, and security and usability tests.
A test is vital to the success of the system; system test makes a logical assumption that if
all parts of the system are correct, then goal will be successfully achieved. The candidate system
is subjected to a verity of tests online like responsiveness, its value, stress and security. A series
of tests are performed before the system is ready for user acceptance testing.
• Unit Testing
• Integration Testing
• Validation Testing
• Output Testing
• User Acceptance Testing
5.3.1 UNIT TESTING:
Unit testing focuses verification efforts on the smallest unit of software design, the
module. This is also known as “Module Testing” The modules are tested separately this testing is
carried out during programming stage itself. In this step each module is found to be working
satisfaction as regard to the expected output from the module.
Integration testing focuses on the design and construction of the software architecture.
Data can be lost across an interface, one module can have adverse effect on another sub functions
and show on. Thus, integration testing is a systematic technique for constructing test to uncover
errors associated with in the interface. In this project, all the modules are companied and then the
entire program is tested as a whole.
Thus, the proposed system under consideration has been tested by using validation testing
and found to be working satisfactory.
After performing the validation testing, the next step is the output testing of the proposed
system, since no system could be useful if it does not produce required output in the specific
format. Tested asking the users about the format required by them, the output is considered into
two ways: one is on the screen and the other is printed format.
The output format on the screen is found to be correct as the format designed according
to the user needs, for the hard copy also, the output comes as specified by the user. Hence output
testing does not result in correction in the system.
White box Testing is done with the project which drive test cases that do the following
• Guarantee that all the independent paths with in modules have been exercise at least
once.
• Exercise all logical decision on the true and false side.
• Execute all loops at the boundaries and within their operation bounds.
• Exercise internal data structures to ensure the validity
It is aimed at ensuring that the system works accurately and efficiently before live
operation command.
Black box System methods focus on the functional requirement of the software. Using
the black box testing method the following errors are identified and rectified in the package.
• Incorrect or Missing functions
• Interface Errors
• Errors in data Structures or external database access.
User acceptance testing of a system is the key factor for the success of any system. The
system under consideration is tested for user acceptance by constantly keep in touch with the
prospective system user at time of developing and making changes wherever required.
7. CONCLUSION
In conclusion, the "Chat Bot for Students Learning" project stands as a pivotal
advancement within the realm of educational technology, offering a personalized and interactive
learning journey for students. Through the adept utilization of modern technologies such as PHP,
MySQL, and sophisticated chatbot algorithms, the system empowers students to seamlessly pose
questions, seek clarifications, and access pertinent information in real-time. The extensive
administrative panel facilitates the customization of system settings, management of responses,
and tracking of user interactions, thereby ensuring the smooth operation and continuous
enhancement of the system. With its intuitive user interface, unparalleled accessibility, and
unwavering support, this project endeavors to redefine the landscape of student learning,
fostering heightened engagement, amplified knowledge retention, and elevated academic
achievement.
8. FUTURE ENHANCEMENT
For future enhancements, the "Chat Bot for Students Learning" project could explore several
avenues. Firstly, integrating natural language processing (NLP) algorithms could significantly
enhance the chatbot's understanding and response accuracy. Secondly, the implementation of
machine learning models would enable continuous improvement, ensuring that the chatbot
evolves with user interactions.
9. REFERENCE
9.1 BIBLIOGRAPHY:
9.1.2 WEBSITES
1. W3Schools: https://www.w3schools.com/
2. Stack Overflow: https://stackoverflow.com/
3. GitHub: https://github.com/
4. Mozilla Developer Network (MDN): https://developer.mozilla.org/
5. PHP.net: https://www.php.net/
6. MySQL Documentation: https://dev.mysql.com/doc/
7. Chatbot Magazine: https://chatbotsmagazine.com/
8. Coursera: https://www.coursera.org/
9. Udemy: https://www.udemy.com/
10. Medium: https://medium.com/
10. APPENDIX
A. CODE
<!DOCTYPE html>
<div class="content-header">
</div>
<section class="content">
<div class="container">
<?php
include '404.html';
}else{
if(is_dir($page))
include $page.'/index.php';
else
include $page.'.php';
}
?>
</div>
</section>
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Confirmation</h5>
</div>
<div class="modal-body">
<div id="delete_content"></div>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>
</button>
</div>
<div class="modal-body">
</div>
</div>
</div>
</div>
<div class="modal-content">
</div>
</div>
</div>
</div>
</body>
</html>
<style>
.direct-message-place {
background-color: darkblue;
</style>
B. SCREENSHOTS
User page:
Admin dashboard:
System setting:
Responses list:
Unanswered list: