CLI Quiz is a tiny framework that allows you to easily create command line quiz apps.
Was trying out some online quizzes, thought I'd make one myself.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
java
To install cli-quiz, follow these steps:
git clone https://github.com/2kabhishek/cli-quiz
cd cli-quiz/src
The quiz supports different types of questions
- MCQs
- True and False
- Numericals
You can create the questions in QuestionBank.java
.
Quiz.java
has the main method, compile it and run to start the quiz.
# After making changes
java Quiz.java
# Starting the quiz
java Quiz
Can be used as a case study for OOP principles.
cli-quiz was built using java
and neovim
- Figuring out all the different question types and there implementation was fun.
Hit the β button if you found this useful.