Skip to main content

Automatic Question Paper Generator System in PHP/OOP Free Source Code

Language

Introduction

This simple project is entitled Automatic Question Paper Generator System. This project is a web application that was developed in PHP/OOP and MySQL Database. The project can help faculties, teachers, or mentors to generate question papers for their classes. This system allows the users to store their questions any time and when they generate a question paper, the system will randomly generate a question paper. It has a simple and pleasant user interface using Bootstrap Framework and AdminLTE Template. It also has user-friendly features and functionalities.

About the Automatic Question Paper Generator System

I developed this project using the following:

  • XAMPP v3.3.0
  • PHP
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Bootstrap v5
  • AdminLTE

This Automatic Question Paper Generator System has 3 sides of user interfaces. It has Public-Side, Registered Users-Side, and Admin Panel user interfaces.

The Admin Panel is the side that is only accessible for the management. This side is mostly for managing the content and the data list on the public and registered user sides. Here, you can update the 'home' content, 'about' content, and contact information. The management can also update the system logo, name, etc. This side can only list, view, and delete the users created courses, classes, and question papers.

The Registered User-Side is the side of the system where faculties, teachers, or mentors can manage their stored data. Any user can simply create their system user credential to gain access to the features and functionalities of this side. They can only manage the data that they were the ones who added. They can create, list, view, and delete data for courses, classes, and question papers lists. This side's design is similar to the admin panel.

The Public-Side is the side of the system that serves as the website that is accessible for any users and this side does not require any login procedure. The said side displays the 'home' content, 'about' content, and contact information. It also serves as the portal of the management and registered users to redirect to the pages where they can log in.

In this system, the Generated Question Papers Questions are being randomly fetched from the database according to the number or count of questions per categories did the user generates. The Generated Questionnaire or Question Paper is ready to print and if the user wants to change the question in the same configuration, the user can simply reload the page.

Features

Admin-Side

  • Secure Login and Logout
  • Dashboard
    • Display the summary of lists.
  • Manage 'Home Content'
  • Manage 'About Content'
  • Manage Company Contact Information
  • Registered Users Management
    • List All Users
    • Update User Details
    • Delete User Details
  • Courses Management
    • List All Courses
    • View Course Details
    • Delete Course Details
  • Class Management
    • List All Classes
    • View Class Details
    • Delete Class Details
  • Question Paper Management
    • List All Question Papers
    • View Question Paper Details
    • List All Questions
    • Delete Question Details
    • Delete Question Paper Details
  • Manage User List (CRUD)
  • Manage Account Details/Credentials
  • Manage System Information

Registered User-Side

  • Secure Login and Logout
  • Dashboard
    • Display the summary of lists.
  • Courses Management
    • Add New Courses
    • List All Courses
    • View Course Details
    • Delete Course Details
  • Class Management
    • Add New Class
    • List All Classes
    • View Class Details
    • Delete Class Details
  • Question Paper Management
    • Add New Question Paper
    • List All Question Papers
    • View Question Paper Details
    • Add New Question
    • List All Questions
    • Delete Question Details
    • Delete Question Paper Details
  • Manage User List (CRUD)
  • Manage Account Details/Credentials
  • Manage System Information

Public-Side

  • Read 'Home' Content
  • Read 'About Us' Content
  • Read Company's Contact Information
  • Redirect to Admin Panel
  • Redirect to Registered Users Side

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Public-Side
Automatic Question Paper Generator System
Registered Users Dashboard
Automatic Question Paper Generator System
Question Paper Details
Automatic Question Paper Generator System
Questions List Field Per Category
Automatic Question Paper Generator System
Generate Question Paper Form Modal
Automatic Question Paper Generator System
Generated Question Paper Page
Automatic Question Paper Generator System
Generated Question Paper - Print View
Automatic Question Paper Generator System
Admin Panel
Automatic Question Paper Generator System

How to Run ??

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation/Setup

  1. Enable or Uncomment the GD Library on your php.ini file.
  2. Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database naming aqpg_db.
  7. Import the provided SQL file. The file is known as aqpg_db.sql located inside the database folder.
  8. Browse the Automatic Question Paper Generator System in a browser. i.e. http://localhost/aqpg/.

Default Admin Access:

Username: admin
Password: admin123

Sample Registered User Access:

Email: [email protected]
Password: cblake123

DEMO VIDEO

That's it. You can now explore the features and functionalities of this Automatic Question Paper Generator System in PHP/OOP and MySQL Database. I hope you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment