Skip to content

rahimuj570/quize_management_V1.2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Quiz Management System V1.2

Java Servlets Oracle Tomcat Eclipse

A web application online exam management system built with Java (Servlets & JSP), featuring role-based access, question management, and automated evaluation. Designed for educational institutions and training platforms.


πŸš€ Features

  • User authentication and role-based access (Admin, Teacher, Student).
  • Exam, Question set, Quiz question creation, update, and deletion.
  • Question bank management.
  • Automated result calculation and reporting.
  • Email verification using Jakarta Mail.
  • Database integration via ODBC11.
  • Responsive UI with JSP, CSS, Bootstrap and JavaScript.

count of source line code in "/QuizeManagement_v1.2/src"
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
CSS                              1           1824            235          13176
JSP                             34           1020            120           5341
Java                            59            754            675           4734
XML                              1              2              0            339
JavaScript                       4              6             14            183
-------------------------------------------------------------------------------
SUM:                            99           3606           1044          23773
-------------------------------------------------------------------------------

## πŸ“‚ Project Structure
β”œβ”€β”€ README.md
β”œβ”€β”€ screenshots
β”‚Β Β  β”œβ”€β”€ login.png
β”‚Β Β  β”œβ”€β”€ question_cr1.png
β”‚Β Β  β”œβ”€β”€ question_cr2.png
β”‚Β Β  β”œβ”€β”€ reset_pass.png
β”‚Β Β  β”œβ”€β”€ show_res.png
β”‚Β Β  β”œβ”€β”€ student_d.png
β”‚Β Β  └── teacher_d.png
β”œβ”€β”€ source files
β”‚Β Β  β”œβ”€β”€ QuizeManagement_v1.2.war
β”‚Β Β  └── quiz_management.sql
└── src
    └── main
        β”œβ”€β”€ java
        β”‚Β Β  β”œβ”€β”€ dao
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ BatchSectionDao.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ CreateQuestionDao.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ExamsDao.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ OptionsDao.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ QuestionsDao.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ QuestionSetsDao.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ UsersDao.java
        β”‚Β Β  β”‚Β Β  └── VerifyPinsDao.java
        β”‚Β Β  β”œβ”€β”€ entities
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ BatchClass.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Course.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ExamsEvaluation.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Exams.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Options.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ QuestionSets.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Questions.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Sections.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Users.java
        β”‚Β Β  β”‚Β Β  └── VerifyPin.java
        β”‚Β Β  β”œβ”€β”€ filters
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ AdminFilter.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ CurrentUserFilter.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ StudentFilter.java
        β”‚Β Β  β”‚Β Β  └── TeacherFilter.java
        β”‚Β Β  β”œβ”€β”€ helper
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ConnectionProvider.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ GEmailSender.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ GeneratePinCode.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ GetBatchSectionOfStudentPOJO.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ QuestionCommonSession.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ QuestionToAnswerePOJO.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Quotes.java
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ShowQuestionFilterPOJO.java
        β”‚Β Β  β”‚Β Β  └── TempExamCreateSessionPOJO.java
        β”‚Β Β  β”œβ”€β”€ secret
        β”‚Β Β  β”‚Β Β  β”œβ”€β”€ EMAIL_KEY.java
        β”‚Β Β  β”‚Β Β  └── VERIFY_CODE.java
        β”‚Β Β  └── servlets
        β”‚Β Β      β”œβ”€β”€ AddToQuestionSetServlet.java
        β”‚Β Β      β”œβ”€β”€ ApprovedAllStudent.java
        β”‚Β Β      β”œβ”€β”€ ApprovedExamServlet.java
        β”‚Β Β      β”œβ”€β”€ ApprovedUserServlet.java
        β”‚Β Β      β”œβ”€β”€ ChangePasswordServlet.java
        β”‚Β Β      β”œβ”€β”€ CreateExamServlet.java
        β”‚Β Β      β”œβ”€β”€ CreateQuestionServlet.java
        β”‚Β Β      β”œβ”€β”€ CreateQuestionSetServlet.java
        β”‚Β Β      β”œβ”€β”€ DeclineUserServlet.java
        β”‚Β Β      β”œβ”€β”€ DeleteExamServlet.java
        β”‚Β Β      β”œβ”€β”€ DeleteQuestionServlet.java
        β”‚Β Β      β”œβ”€β”€ DeleteQuestionSetServlet.java
        β”‚Β Β      β”œβ”€β”€ EditExamServlet.java
        β”‚Β Β      β”œβ”€β”€ EvaluateExamServlet.java
        β”‚Β Β      β”œβ”€β”€ ForgotePasswordCheckCodeServlet.java
        β”‚Β Β      β”œβ”€β”€ ForgotePasswordSentCodeServlet.java
        β”‚Β Β      β”œβ”€β”€ LoginServlet.java
        β”‚Β Β      β”œβ”€β”€ LogoutServlet.java
        β”‚Β Β      β”œβ”€β”€ MakeAdminServlet.java
        β”‚Β Β      β”œβ”€β”€ RegisterServlet.java
        β”‚Β Β      β”œβ”€β”€ RemoveAdminServlet.java
        β”‚Β Β      β”œβ”€β”€ RemoveToQuestionSetServlet.java
        β”‚Β Β      β”œβ”€β”€ ResentCodeServlet.java
        β”‚Β Β      β”œβ”€β”€ test.java
        β”‚Β Β      β”œβ”€β”€ UpdateQuestionServlet.java
        β”‚Β Β      └── VerifyCodeServlet.java
        └── webapp
            β”œβ”€β”€ admin
            β”‚Β Β  β”œβ”€β”€ bottom_common.jsp
            β”‚Β Β  β”œβ”€β”€ dashboard.jsp
            β”‚Β Β  β”œβ”€β”€ pending_exams.jsp
            β”‚Β Β  β”œβ”€β”€ pending_users.jsp
            β”‚Β Β  β”œβ”€β”€ select_students.jsp
            β”‚Β Β  β”œβ”€β”€ show_admins.jsp
            β”‚Β Β  β”œβ”€β”€ show_permitted_exams.jsp
            β”‚Β Β  β”œβ”€β”€ show_students.jsp
            β”‚Β Β  β”œβ”€β”€ show_teachers.jsp
            β”‚Β Β  └── top_common.jsp
            β”œβ”€β”€ assets
            β”‚Β Β  β”œβ”€β”€ jquery-3.2.1.min.js
            β”‚Β Β  β”œβ”€β”€ main.css
            β”‚Β Β  β”œβ”€β”€ main.js
            β”‚Β Β  └── plugins
            β”‚Β Β      β”œβ”€β”€ dataTables.bootstrap.min.js
            β”‚Β Β      └── jquery.dataTables.min.js
            β”œβ”€β”€ index.jsp
            β”œβ”€β”€ login.jsp
            β”œβ”€β”€ META-INF
            β”‚Β Β  └── MANIFEST.MF
            β”œβ”€β”€ register.jsp
            β”œβ”€β”€ reset_password.jsp
            β”œβ”€β”€ set_new_password.jsp
            β”œβ”€β”€ student
            β”‚Β Β  β”œβ”€β”€ bottom_common.jsp
            β”‚Β Β  β”œβ”€β”€ dashboard.jsp
            β”‚Β Β  β”œβ”€β”€ exam_evaluation.jsp
            β”‚Β Β  β”œβ”€β”€ exam.jsp
            β”‚Β Β  β”œβ”€β”€ my_exams.jsp
            β”‚Β Β  β”œβ”€β”€ participated_exams.jsp
            β”‚Β Β  └── top_common.jsp
            β”œβ”€β”€ teacher
            β”‚Β Β  β”œβ”€β”€ bottom_common.jsp
            β”‚Β Β  β”œβ”€β”€ create_exam.jsp
            β”‚Β Β  β”œβ”€β”€ create_question.jsp
            β”‚Β Β  β”œβ”€β”€ dashboard.jsp
            β”‚Β Β  β”œβ”€β”€ edit_exam.jsp
            β”‚Β Β  β”œβ”€β”€ edit_question.jsp
            β”‚Β Β  β”œβ”€β”€ select_question_set.jsp
            β”‚Β Β  β”œβ”€β”€ show_exams.jsp
            β”‚Β Β  β”œβ”€β”€ show_question_set.jsp
            β”‚Β Β  β”œβ”€β”€ show_questions.jsp
            β”‚Β Β  β”œβ”€β”€ show_results.jsp
            β”‚Β Β  └── top_common.jsp
            β”œβ”€β”€ unauthorized.jsp
            β”œβ”€β”€ verify.jsp
            └── WEB-INF
                β”œβ”€β”€ lib
                └── web.xml



---

βš™οΈ Tech Stack

  • Backend: Java Servlets, JSP
  • Frontend: JSP, CSS, JavaScript
  • Database: Oracle 21c (via ODBC11)
  • Email Service: Jakarta Mail
  • Build/Deploy: WAR file for servlet containers (e.g., Apache Tomcat)

πŸ› οΈ Setup & Installation

Prerequisites

  • Java 21 (Recomended)
  • Apache Tomcat 10.1
  • Oracle 21c (or compatible DB)
  • ODBC11 driver installed
  • Jakarta Mail library

Steps

  1. Clone the repository
   git clone https://github.com/rahimuj570/quize_management_V1.2.git
   cd quize_management_V1.2
  1. Import Database

    • Create a new database in Oracle 21c (e.g., quiz_db).
    • Run the script from source files/quiz_management.sql.
  2. Configure Database Connection

    • Update DB credentials in your helper/ConnectionProvider.java config class.
    • Ensure ODBC11 is installed and properly mapped.
  3. Deploy WAR File

    • Copy source files/quize_management.war to tomcat/webapps/.

    • Start Tomcat and access the app at:

      http://localhost:8080/quize_management
      

πŸ“– Usage

  • Admin: Manage users, approved exam, manage exam permision
  • Teacher: Create and publish exams, view results, create question sets and questions.
  • Student: Attempt exams, view scores.

πŸ“Έ Screenshots

πŸ”‘ Login Page

Login Screenshot

πŸ”‘ Reset Password

Login Screenshot

🏠 Student Dashboard

Student Dashboard Screenshot

🏠 Teacher Dashboard

Student Dashboard Screenshot

πŸ“ Quiz Creation (view 1)

Quiz Creation Screenshot

πŸ“ Quiz Creation (full view)

Quiz Creation Screenshot

πŸ“ Teacher Show Results

Quiz Creation Screenshot


πŸ”§ Development

If you want to run the project from source:

  • Open the project in an IDE (IntelliJ, Eclipse, NetBeans).
  • Configure Tomcat server in the IDE.
  • Run the project, which will deploy src/main/webapp and servlets automatically or import the .war file.

🀝 Contribution

  1. Fork the repo
  2. Create a feature branch (feature/my-new-feature)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to branch
  5. Open a Pull Request

About

upgraded v for IDP 1 final >> previous source link is πŸ‘‡

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published