Questions tagged [quiz]
Question-and-answer programs involving questions with a well defined correct answer, especially those that track the player's score.
189 questions
6 votes
5 answers
2k views
Quiz game in C V1.0
I made a quiz game in C. It is about answering questions as fast you can. At the end it say "Run successful of run failed in Apache.net Beans(false answer + seconds used ). Here is the codes: <...
4 votes
3 answers
685 views
Multiplication game: user inputs answers to questions
This code asks the user how many multiplication questions they want to answer and then asks the requested amount of questions. When all of the questions are answered, it prints the percentage the ...
2 votes
1 answer
983 views
Basic quiz game in HTML and JavaScript
I wanted to know whether this approach is correct or not for a basic quiz game. I have not used object oriented programming style, Defining the quiz questions as array elements and looping through the ...
1 vote
1 answer
100 views
Programming paradigm quiz
I have this code, which isn't for the moment optimized: ...
17 votes
3 answers
3k views
My 1 Week Python Journey — A Quiz Game that I made in Python
I started my Python Journey almost a week ago from now. I had been following a Youtube tutorial earlier, but switched to Harvard's CS50P instead. I decided on making a little Quiz Game with my ...
2 votes
1 answer
195 views
Python CLI math game
I'm a self-taught programmer starting out with Python and my latest project is this game: It runs in the console, displays an equation, takes the user's answer, and increases your score if it's ...
5 votes
1 answer
222 views
Simple python quiz
I'm learning python, and I'm trying to practice what I learned recently. I wanted to make a quiz game using pandas. What do you think? Is there anything I could do better? ...
4 votes
1 answer
455 views
This function creates dynamic multi-choice questions
I'm into Python from only about a month, coming from nothing. I didn't make any complex program yet, but I'm almost there, as one is almost ready to be used, like if I'd sit there for another hour or ...
3 votes
1 answer
136 views
Quiz to help practice mental arithmetic
I made a tool that would help in practicing and increasing the speed of Mental Arithmetic, below is the code that I wrote in java. Please suggest if there are any improvements that I can make or any ...
2 votes
1 answer
89 views
Arithmetic quiz on the command line
I am writing a program that asks questions, takes the user's input, and responds according to whether the answer they gave is correct or not. I am looking to improve my code with respect to ...
6 votes
1 answer
5k views
U.S. State Capitals Quiz (Python)
I have a program that gives the player a random U.S. state, asks for its capital, and keeps score. This keeps going until the player decides to stop playing. At the end, it prints out both the amount ...
4 votes
1 answer
321 views
Python history quiz program
This program allows users to manage questions and quiz users from years of historical events. I'm looking for suggestions on how can I better organize my code, maybe apply OOP for functions and avoid ...
4 votes
1 answer
8k views
I made a Java quiz program
I made a Java quiz program. The program will let you take the Java quiz and then display the quiz's result according to your score. ...
2 votes
1 answer
527 views
Feedback on a Small Trivia Game in C#
I wanted to get some feedback concerning the program. It's console based and in C#. If I should try to add constraints like making sure only the 4 questions shown are able to be typed in and nothing ...
5 votes
2 answers
3k views
Beginner Quiz game (True or False)
This time I made a quiz game, in which the player is asked questions and receives points for each question answered correctly. Some people told me I should learn about classes, so this is what I came ...