A simple, console-based Quiz Application developed using Java and Object-Oriented Programming (OOP) principles. The application allows users to answer multiple-choice questions, records their responses, and demonstrates core Java programming concepts.
- π Multiple-choice quiz questions
- π€ Accepts user input using
Scanner - πΎ Stores user answers
- π Displays user responses after quiz completion
- π§© Modular class-based architecture
- π Easy to add or modify questions
- π Demonstrates Object-Oriented Programming concepts
Quiz-Using-Java/
βββ Main.java
βββ Question.java
βββ QuestionServices.java
βββ README.md
- Entry point of the application
- Starts the quiz
Represents a quiz question containing:
- Question ID
- Question
- Four Options
- Correct Answer
Responsible for:
- Initializing quiz questions
- Displaying questions
- Collecting user answers
- Storing responses
- Displaying submitted answers
- Java
- Object-Oriented Programming (OOP)
- VS Code
- Git
- GitHub
git clone https://github.com/Sathish292004/Quiz-Using-Java.gitcd Quiz-Using-Javajavac *.javajava Main- Classes & Objects
- Constructors
- Encapsulation
- Arrays of Objects
- Methods
- User Input using Scanner
- Modular Programming
Start Quiz
β
βΌ
Display Question
β
βΌ
User Selects Answer
β
βΌ
Store Response
β
βΌ
Next Question
β
βΌ
Display All Answers
- β Calculate final score
- β Display correct answers
- β Randomize question order
- β Timer for each question
- β Negative marking
- β Difficulty levels
- β Read questions from JSON, CSV, or Database
- β Save quiz history
- β Leaderboard
- β GUI using Java Swing or JavaFX
Contributions are welcome!
- Fork the repository
- Create a new branch
- Commit your changes
- Open a Pull Request
This project is open-source and available under the MIT License.
Sathish Kumar B
- GitHub: https://github.com/Sathish292004
- LinkedIn: https://linkedin.com/in/sathish292004
β If you found this project helpful, consider giving it a Star.