A PHP based question app for electrical engineering multiple choice question
- This webapp consists of five php files as shown below
- index.php - The iteractive UI page files.
- model.php - The class of object we used as model. It contains the QuesAnsPair class which is the container of information from database.
- dao.php - The data access object class that fetches data from a SQLite database and return a QuesAnsPair object.
- ajaxCheckAns.php - This module verifies the answer given in the AJAX request of index.php.
- clearSession.php - This module clears up the session and reset the question counter in index.php.
- Proof of concept
- Use of AJAX and JQuery to achieve rich interaction interface.
- Use of PHP session to count the progress one user has.
- Interaction with database.
- Things under development
- The search functionality to search for a particular question.