Quiz Application banner

Quiz Application

4 devlogs
15h 34m 3s

This is a small CLI program which will ask you some questions. It is supposed to be an exercise in OOP

This project uses AI

Used AI for generating some questions

Demo Repository

Loading README...

Azok42

I fixed the usability issues, to make the process much more intuitive (i think at least that it’s better).

Also I added some requested features, like question numbers and an overview at the end of the quiz, which answers the user got correct and which ones they got wrong.

Attachment
0
Azok42

Shipped this project!

Hours: 14.15
Cookies: 🍪 64
Multiplier: 4.5 cookies/hr

I built a Quiz Application. Nothing really fancy, but I just wanted to learn a few things.

I am very proud of the working file IO.

Azok42

Because i thought a bit of file IO practice would be great, I made a custom format. It’s easy to read (text file basically) and easy to write some questions (also because of text).

I implemented the whole thing using console arguments (save, load, printload, …), but they are all described in the help command.

Because of the new format i dropped direct support for JSON-files, but I did made an option to load a JSON file and save it directly to the new format.

0
Azok42

After some work I am finally finished with the questions itself. I have made single choice as well as multi choice questions, true/false questions and finally a question from a TV series, where you get 4 hints but 1 is wrong.

Also I changed the hard-coded questions to loading them from a JSON-File.

The attachments show the default JSON-file and the program.

Attachment
Attachment
0
Azok42

I implemented the first kind of question, a true or false question! It works just fine and also has a “print mode” to print out the correct results.

0