Multiple Choice Quiz Application
How to Run:
Author: Shahrzad Jahangirian
Language: Java (using Java 8)
Date Added: November 11, 2021
Licence: As always all source codes are for showing my skills in Software Development to get
me a Job as Software Developer.
You are not allowed to sell this Application or use my codes to develop an application for Sale or apply my codes to develop
software for commercial use and profit. You can offer me a price to buy the Application for mass production or buy my codes to
develop your own application for profit.
Description: This is a simple Multiple choice Quiz Application.
I run this program in Windows 10 Command line Prompt with
Java(TM) SE Runtime Environment 8
Compile and Run it as below:
I assumed you saved all files at C:\javacodes then you need to compile following files on command prompt in exact following orders
C:\javacodes> javac FormatUI.java -d c:\javacodes "compiles the FormatUI class"
C:\javacodes> javac QA.java -d c:\javacodes "compiles the QA class"
C:\javacodes> javac UserQA.java -d c:\javacodes "compiles the UserQA class"
C:\javacodes> javac Quiz.java -d c:\javacodes "compiles the Quiz class"
C:\javacodes> javac QuizUI.java -d c:\javacodes "compiles the QuizUI class"
C:\javacodes> javac QuizMain.java "compiles the QuizMain class"
C:\javacodes> Java QuizMain "to run Quiz Application"
FormatUI class adding needed properties for all Graphical User Interface(GUI) that I placed in this application screen.
It is a utility class that I used for many of my Java Swing Applications.
This class has structure of one Quiz Question and Answer
This class has structure of one Quiz Question, User Answer, and Correct Answer.
This class does the Quiz Processing.
A Screen Graphical User Interface for Quiz Application.
Quiz application starts from this class