International Journal on Science and Technology
E-ISSN: 2229-7677
•
Impact Factor: 9.88
A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal
Plagiarism is checked by the leading plagiarism checker
Call for Paper
Volume 16 Issue 4
October-December 2025
Indexing Partners
OOP-Based WhatsApp Chatbot for Educational Use
| Author(s) | Mr. Saswath K R, DR MADHU MITHA K. |
|---|---|
| Country | India |
| Abstract | This paper presents the design and development of a rule-based WhatsApp chatbot that teaches Object-Oriented Programming (OOP) concepts while itself being implemented with OOP principles. The system uses Node.js (ES Modules) with Express for routing, MongoDB for persistent logs, and Redis for lightweight session state. WhatsApp connectivity is provided through Twilio’s Messaging API; ngrok is used for secure webhook exposure in development. The architecture is modular, with classes for menu rendering, input parsing, session management, and intent routing. We demonstrate encapsulation, inheritance, polymorphism, and abstraction throughout the codebase and show that deterministic, menu-driven conversations are effective for beginner-friendly programming instruction. In tests on Twilio’s sandbox, the bot achieved sub-250 ms median response time, stable concurrency for 15+ simulated users, and positive qualitative feedback. We discuss limitations and outline extensions including multilingual support and future NLP-based intent handling. |
| Keywords | WhatsApp chatbot, Object-Oriented Programming, Twilio, Node.js, Express, MongoDB, Redis, Educational technology, Rule-based dialog |
| Field | Computer > Artificial Intelligence / Simulation / Virtual Reality |
| Published In | Volume 16, Issue 4, October-December 2025 |
| Published On | 2025-11-15 |
| DOI | https://doi.org/10.71097/IJSAT.v16.i4.8681 |
| Short DOI | https://doi.org/hbbm2p |
Share this

CrossRef DOI is assigned to each research paper published in our journal.
IJSAT DOI prefix is
10.71097/IJSAT
Downloads
All research papers published on this website are licensed under Creative Commons Attribution-ShareAlike 4.0 International License, and all rights belong to their respective authors/researchers.