Question-and-answer programs involving questions with a well defined correct answer, especially those that track the player's score.
0
votes
0answers
21 views
C++ bilingual maths program that generates questions w/ multiple operators (follows BIDMAS)
This is a continuation of my previous question on this site.
Also, I use Visual Studio 2015, therefore I do not need to use header files for this program, everything compiles just fine.
Here is main....
7
votes
1answer
64 views
Python Quiz CLI & GUI
I recently got feedback for a programming assignment that was positive but mentioned that 'some things could be done better', and I was wondering if anybody here might be able to give me a more ...
7
votes
1answer
188 views
C++ Quiz game w/questions in random order
This is a 10 question quiz that assess's the user's knowledge of the C++ programming language. Upon the start of the program some ASCII welcome art prints. The questions, answers, and correct answer ...
0
votes
0answers
7 views
WBQuiz - A 4 player quiz made with Node.js, Vue and WebSockets [on hold]
I've made a quiz in Node.js at the backend, Vue at the frontend and WebSockets for communication between them. The quiz is made for 4 players. There's also a screen that shows the questions at ...
3
votes
1answer
41 views
Phonetic Alphabet Trainer
This is a little program I put together to help people learn the phonetic alphabet. Feel free to query the code.
...
3
votes
1answer
40 views
Multiplication Exercise Generator
I'm new to programming in Python, and I am trying to create a multiplication exercise generator. I've got the following code for the solution, but I'm wondering if there is any more elegant solutions ...
4
votes
1answer
69 views
PHP, MySQL quiz application
I'm working on a quiz application for training purposes and I think I'm done with most of it.
However, I'm not comfortable with what I've done: it seems to be complicated and unprofessional and I ...
11
votes
4answers
1k views
C++ quiz game with 25 questions
I created a quiz game program with 25 questions, 4 answer choices, correct answer and 4 points awarded per question. I realize this code isn't the best; I am still a beginner and this is my first ...
3
votes
1answer
82 views
The ListenHear Game - Listen and type the word
What it does:
Speak a random word chosen from an array and ask the user to type the word in the box for 15 seconds
If right, +1pts, reset the timer and go to next word.
If wrong: do nothing.
After ...
2
votes
3answers
92 views
Storing quiz questions in SQLite
I am creating my first android app. It is going to be a quiz.
There are 40 different question categories and each category has its own database table.
I am writing all questions into a sqlite database ...
6
votes
2answers
78 views
Puzzle game - converting binary numbers to decimal
I've been learning Python for a few weeks and I created a simple game where you convert binary numbers to decimal. It shows you n binary numbers and you are supposed to enter the numbers in decimal ...
0
votes
1answer
92 views
Simple JavaScript quiz app using an external questions.json file
I have a quiz app that gets data from a questions.json file using AJAX, loads them into my script file, and then use Handlebars to compile templates so I don't have ...
11
votes
3answers
1k views
Simple math quiz in C#
I am only a beginner when it comes to programming, but after reading tons of tutorials on and offline, I have been able to create this simple math quiz. It does work as intended, and I'm really just ...
3
votes
1answer
53 views
Pygame Flash Game
I managed to finish this game I am sure you have encountered before. If you run it there are instructions on what to do. Any code suggestions / improvements?
...
8
votes
3answers
1k views
Ask the user random questions from a multiple-choice test
I'm quite new to programming and was hoping you wouldn't mind taking a look at my code and giving some points as to how I could clean it up.
Assignment guidelines:
Create a program that reads ...
17
votes
6answers
1k views
Capitals and countries game
This is my simple game that gives you a country and has you enter the corresponding capital. What do you think? (Before running it you need to do score.txt.)
...
3
votes
2answers
50 views
Haskell Arithmetic Quiz
I'm currently learning Haskell, and as one of my first "proper" programs have created a mathematics quiz. It works like this:
A question is generated, with two numbers from 1 to 10 which need to be ...
0
votes
1answer
74 views
Displaying quiz questions in a web app
I built this web app to present a random group of questions for quizzes and tests. The page opens with random questions. Clicking anywhere shows (only) the spinner div. Clicking anywhere again brings ...
1
vote
2answers
110 views
Displaying random elements for a quiz app
I'm a teacher and I built a one-page web app to display random question sets for quizzes and tests. The script I wrote selects one question from a set (array) of questions.
The script works fine, ...
1
vote
1answer
57 views
One-page quiz web app for teachers
I'm an EFL teacher, and I built this web app to present a random group of questions for quizzes and tests. The page opens with random questions. Clicking anywhere brings up the spinner. Clicking ...
8
votes
1answer
116 views
Multiplication or addition of decimals or integers for prehighschool; non deterministic testing
I'm creating a simple android app for pre-highschool students which teaches the very basics of addition or multiplication of integers or decimals.
The part of the program in this question is aimed ...
3
votes
0answers
103 views
Sesame Street project
I started a tutorial online to get a little bit more knowledge about views. But after I did the basic I decided to finish the game.
The game is a little "I spy" game where the user tries to guess the ...
8
votes
2answers
737 views
Creating a questionnaire
Im making a Python program. It is basically a questionnaire and I was just wondering if there is a shorter way of doing this as at the moment I'm writing out all of the questions in separate functions....
2
votes
1answer
91 views
A quiz game that can save data and ask trivia questions
This game has a few basic functions:
ask users trivia questions
based on user input, add or substract points.
save game data when user inputs save.
allow old user to log in and play the same old game....
11
votes
1answer
917 views
Solving for Bananas
This code creates a problem for the user to solve (very simple problem) it will then check if the user has got it right and will say so.
...
5
votes
1answer
73 views
Program that teaches kids Chinese characters
I wrote code that chooses a random set of Chinese characters, asks the user what the characters are, and if they meet a certain criteria they level up (ex. get more than 50% correct). I want to know ...
4
votes
3answers
476 views
Simple Q&A game
I just wanted to get some criticism on my programming to make me better. I made a game in Unity, just a simple question and answer game.
Demo
...
1
vote
1answer
30 views
Is this a good way to create a Javascript object? [closed]
I'm building a simple quiz app and wanted to make it more scalable by putting my code into an object. The parameters list looks a bit messy to me. Is this a normal way to use an object or is there a ...
-1
votes
2answers
102 views
Maths quiz with difficulty levels and a score database
How can I make the saving to the dictionaries more efficient as well as making my overall code more efficient?
...
3
votes
1answer
216 views
Arithmetic quiz with class database and score analysis
I have done this quiz project and I have tried as hard as I could when I was writing to make it user friendly to read. Could you help me on improving and making it more user friendly please.
...
6
votes
1answer
126 views
Script to pick random answers for a vocabulary quiz
I am making a small script, which, when run in the console on Vocabulary.com, picks one answer (the third or fourth) and clicks. Then the code checks if the answer was wrong or right and goes to the ...
3
votes
1answer
187 views
1
vote
2answers
329 views
Maths quiz that read/writes CSV files [closed]
Could this code possibly be shortened, or even better be rewritten in the fewest lines of code possible?
...
1
vote
1answer
230 views
3
votes
3answers
133 views
Simple multiplication quiz
I am learning Python, and would like to learn how to make this code simpler and easier to read.
Things I am hoping to learn:
What variables might be appropriate?
How can I make it simpler?
Is there ...
0
votes
1answer
83 views
Program for helping people practice their maths [closed]
Please mention anything that could help me.
...
4
votes
2answers
180 views
JavaScript/jQuery math game
I wrote this entire program earlier today, and would like to get it reviewed.
It is an arcade style math game, where you are presented with two expressions on the left and right side. You will ...
5
votes
1answer
800 views
Model classes for a quiz app in Django
I am creating simple quiz app in Django. It works, but I think that way I've done it is not the best. I have Exam detail view, which display questions related to that exam and answers for these ...
-1
votes
2answers
103 views
Ten questions maths game
Like my previous question about my Mental Maths game , I have written a script for a ten questions Maths game and again it seems like there is a more simple method, can anyone take me out of the dark ...
4
votes
2answers
316 views
Mental Maths game
I have made a mental Maths game but it seems quite long, is there anyway in which I can simplify it? And can you also help me with my other Maths game, Ten quick questions ?
...
5
votes
1answer
141 views
Transform Python math game to OOP
Background: I'm trying to learn basic OOP with Python. I have this program I wrote to help my son practice math problems. It does addition, subtraction, multiplication, and division. He can choose ...
2
votes
2answers
94 views
Flashcard memory training
I have written a simple flashcard program that runs in the terminal:
It loads the cards from an ordinary .txt file.
It provides a way to add flashcard from within ...
3
votes
1answer
93 views
MVC flash card application
I am trying to learn how to build a very basic MVC structure before jumping on rails and other frameworks. I am working from a .txt file, and I organized a project into four parts: a model, a view, a ...
5
votes
1answer
73 views
Ranked beginner quiz program
I have been trying to learn JavaScript for the past few days and decided it was time to put what I had learnt into practice. Here is the program I created. It's a five-question quiz which counts the ...
-4
votes
1answer
212 views
3
votes
2answers
217 views
Java Console Quiz
I started learning Java 2 weeks ago, so I don't know that much. I recently made a working console quiz and I'm wondering if there is a simpler way to do it.
...
3
votes
2answers
173 views
Asking a user for the capital city of Peru, South America
Can this Python code be written in a more Pythonic way?
...
1
vote
2answers
217 views
Multiple choice game
This is a multiple choice game. It has a web page where you enter a question, which can have multiple answers along with multiple options.
Can anyone recommend any improvements for my code?
...
1
vote
4answers
1k views
Generating arithmetic quiz questions
I have created a quiz in Python that will generate a series of 10 questions to test the basic arithmetic skills of primary school children. To do this, I have used a while loop and random functions to ...
1
vote
1answer
268 views
Simple JavaScript quiz
I'm learning JavaScript and have tried making a simple quiz from scratch.
JS Bin
...