Skip to content

JavaQuizMQA is a JavaFX-based quiz application that allows users to test their knowledge on various programming topics. The application fetches questions from a MySQL database, presents them to the user, and provides feedback on their answers.

Notifications You must be signed in to change notification settings

NikKnez/JavaQuizMQA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaQuizMQA

The Java Quiz Application is a JavaFX-based desktop application that provides users with the opportunity to test their knowledge of Java programming concepts through interactive quizzes. Dive into a world of interactive learning with multiple-choice questions covering a range of programming topics. Receive instant feedback on your answers, explore detailed explanations, and enhance your coding skills!

FeaturesGetting StartedUsageDependenciesScreenshotsContributing

Special Thanks

A special thanks to Sanfoundry for providing a valuable source of questions and answers that contributed to the content of this quiz application.


Features

🚀 Theme and subtheme selection: Users can choose from a list of available themes and subthemes for the quiz. 🔍 Multiple-choice questions: Each subtheme contains a set of multiple-choice questions related to the selected topic. 🔍 Correct answer tracking: The application tracks correct and incorrect answers and displays the result at the end. ✨ Percentage score calculation: The application calculates the percentage score based on the number of correct answers. 💡 Explanation for answers: Users receive explanations for each question after submitting their answers.

Getting Started

To run the Java Quiz Application, follow these steps:

  1. Clone the repository: git clone https://github.com/NikKnez/JavaQuizMQA.git
  2. Open the project in your preferred Java IDE.
  3. Make sure you have the required dependencies (see Dependencies).
  4. Build and run the JavaQuizFX class to start the application.

Usage

  1. Upon launching the application, you will be greeted with a welcome screen.
  2. Choose a theme and subtheme for the quiz.
  3. Start the quiz and answer the multiple-choice questions.
  4. Submit your answers and view the result, including your score and explanations for each question.
  5. You can start a new quiz or exit the application from the results screen.

Dependencies

This project uses the following dependencies:

  • JavaFX: The JavaFX library is used for creating the graphical user interface.
  • MySQL Connector: The MySQL Connector mysql-connector-j-8.0.33.jar in /lib folder is used for connecting to the MySQL database. Import the database schema using javaquiz.sql in /lib folder.
  • Database: Create config.properties file inside resource folder that contains users data (db.user=your_root and db.pass=your_pass).
  • CSS Styles: The application's UI is styled using CSS. The styles can be found in the styles.css file.

Screenshots

Theme Selection

Sub Theme Selection

Quiz

Final Score

Contributing

Contributions are warmly welcomed! If you find issues or want to add new features, feel free to open an issue or submit a pull request.

Built by Nikola Knezevic (NikKnez)

About

JavaQuizMQA is a JavaFX-based quiz application that allows users to test their knowledge on various programming topics. The application fetches questions from a MySQL database, presents them to the user, and provides feedback on their answers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published