Skip to content

ummeabiha/QuizzicalSuspects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quizzical Suspects

Project Objective

Have you ever encountered a concept that only became clear when you tried to implement it? Fear not, for we present the solution with "Quizzical Suspects," a demo quiz application inspired by NEDUET's entrance test. This application features proper sign-up and login functionalities, displaying previous attempt results upon login. Users can choose from different subjects, each with three difficulty levels: Easy, Medium, and Hard. Questions are randomly selected from the database, and users can attempt the quiz multiple times.

Features

  • Signup Feature: Allows new users to create an account with username verification from the database.

  • Login: Existing users can log in, with verification from the database and error messages for incorrect entries.

  • Record Page: Displays the records of users' previous attempts.

  • Subject and Difficulty Selection: Users can choose subjects (PL, FIT) and difficulty levels (Easy, Medium, Hard).

  • Question Display: Displays questions fetched from the database based on user choices, with a limit of 5 random questions.

  • Result Display: Shows the result at the end of the quiz and inserts the result into the database.

  • Try Again Option: Allows users to play the quiz again.

Programming Language

The project is implemented in Python, making use of the versatile and user-friendly programming language.

Library

The graphical user interface is developed using the Tkinter library, a popular choice for creating GUI applications in Python.

Database

Data management is handled through Microsoft Access Databases and SQL for efficient storage and retrieval.

Preview

Quizzical Suspects GUI

Login Page

Login Page

Record Page

Record Page

Quiz Home Page

Quiz Home Page

Question Display

Question Display

Result

Result

MS Access Database

Example of Some MCQs Saved in Database

MCQs in Database

More MCQs in Database

User Data Table

User Data Table

Record Table

Record Table

Getting Started

To get started with Quizzical Suspects on your local machine:

  1. Clone the Repository:

    git clone https://github.com/your-username/quizzical-suspects.git
  2. Install Dependencies:

    • Ensure you have Python installed on your machine.
    • Install required libraries using pip install -r requirements.txt.
  3. Set Up the Database:

    • Create a Microsoft Access Database or use an existing one.
    • Update database configuration in the code.
  4. Run the Application:

    • Navigate to the project directory.
    • Run the main application file.
  5. Explore the System:

    • Use the intuitive GUI to navigate and interact with Quizzical Suspects.
    • Enjoy exploring subjects, attempting quizzes, and checking your records!

Contributions

Contributions to the Quizzical Suspects project are welcome. If you encounter issues or have ideas for improvements, please submit a pull request or open an issue on the GitHub repository.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Feel free to explore, learn, and enjoy the Quizzical Suspects experience! 🧠✨