Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [quiz]

Question-and-answer programs involving questions with a well defined correct answer, especially those that track the player's score.

1
vote
1answer
38 views

Multiple Choice Four-Function Math Game

I created a very simple multiple choice math practice game in C for a fun project. Essentially the user first enters how many questions they want, then they enter what operation (+, -, *, /) they want ...
6
votes
1answer
58 views

Quiz game with timer

This is my first Go program. I would like to know what could be improved, what is done wrong, and anything else that I should know. The CSV contains 10 questions with the 10 answers separated by a ...
2
votes
1answer
31 views

2-team fraction quiz/test in Python 3 with Tkinter

I created a math quiz/game called "Factions". In the game, there are 2 teams. Red team and Blue team. They take turns answering questions relating to fractions. If they get it correct, they gain ...
2
votes
0answers
33 views

Quiz for random boolean expressions

Inspired by the various quiz programs on this site, as well as Simon Tatham's puzzle collection, I thought I'd write a quiz that constructs its questions automatically and randomly. A typical session ...
4
votes
1answer
207 views

Quiz program that asks 10 questions, repeats incorrectly answered ones a second time, gives results at end

I'm currently attending ERAU (online), and in my Computing for Engineers class we are learning C#. An ongoing project throughout the class is to build a "quiz" program that asks 10 questions, in order,...
0
votes
1answer
86 views

A quiz to practice some of the notion of the chapter four of app development with swift

I just want feedback about the code. Better implementation, more commentary etc. app Delegate.swift ...
4
votes
2answers
211 views

General Knowledge quiz

I have made a General Knowledge quiz in python as a project from my school ...
1
vote
2answers
476 views

Quiz programme for GCSE

I made a quiz programme for my GCSE Computer Science NEA. I just want to make sure it is OK to submit. There are also 5 files: Usernames, Passwords, Song Names, Artist Names and High Scores. Any ...
1
vote
1answer
49 views

Timed arithmetic quiz

In this program you have to solve 20 exercises. The time you need will be measured. If you break a record, you'll get an entry in the highscore list. The program can be downloaded here. You can only ...
1
vote
2answers
166 views

Mathematical quiz game

I have been studying C#, and I have made a simple math quiz program. Is my program reasonable or is there anything I need to improve? ...
5
votes
1answer
116 views

Arabic language lesson program

The program I have been working on has been developed almost exclusively as "train-of-thought" style code. Things happen linearly (for the most part) thru the code. The goal of the program is to house ...
3
votes
0answers
77 views

Console based Vocabulary Trainer Version 2

After a long break I took the suggestions from Console based Vocabulary Trainer and reworked the Trainer. It contains of the following parts Vocabulary.h/cpp: Save and read vocabulary from/to text ...
3
votes
2answers
138 views

Simple arithmetic game in Python

Coming from a C/C++ background, this was my first python code I wrote to grasp a few basic concepts. The game involves giving random arithmetic operations to the users and scoring their responses. ...
7
votes
2answers
776 views

Simple Math Quiz Game

I have been studying C# for 2 weeks already, I wrote a simple math game but not quite sure how bad it is. I'm just teaching myself to code through internet references. If you could review my work, I ...
1
vote
1answer
705 views

Python Multi Choice Quiz with a score to count

I am trying to make a multi choice quiz with a score to count. This is the first time I've used Python and I'm finding it difficult to make the code work properly. How can I make the code shorter and ...
1
vote
1answer
50 views

Quiz for studying word stems

I'm wondering how I could condense the following (redundant on many levels) code: ...
1
vote
0answers
73 views

Correct Callback for each item

I have added a correct question callback for different types of questions like: radio, checkbox and descriptive.. QuestionListActivity.class (it shows the list of questions to attempt) ...
3
votes
0answers
477 views

Python quiz game

I have the following program for a multiple choice quiz game. Before I get stuck in some habits, can anyone please review and propose suggestions for improvements? ...
3
votes
4answers
374 views

Math Quiz program - programming excercise number 5 chapter 6 from “Art and Science of Java”

I have written the following program: Math Quiz. It is a programming exercise number 5 chapter 6 from the book "Art and Science of Java". The program seems to be working. However, I would be ...
8
votes
2answers
609 views

Python vocabulary trainer for terminal

To train my Python skills I have made a vocabulary trainer which runs on a terminal: ...
7
votes
3answers
174 views

Console based Vocabulary Trainer

This code was reworked and repostet in Console based Vocabulary Trainer Version 2 I wrote a console based Vocabulary Trainer to practice C++. Its possible to add and remove vocabulary and practice ...
3
votes
1answer
66 views

StackExchange quiz

I've made a quiz where you get a random question, and you have to guess which StackExchange site it's from. ...
2
votes
2answers
113 views

Rails controller for a vocabulary quiz

I'm new to refactoring and I have just refactored an old Rails project that had bloated controller methods. I spun off the bloated methods into its own separate controller following this logic, since ...
5
votes
2answers
354 views

Simple math game in JavaScript

Created a simple math (addition/subtraction) game to practice my JavaScript. Any feedback on the JavaScript appreciated. Can play in: CodePen Instructions: A math equation will show up and simply ...
3
votes
1answer
95 views

Foreign language vocabulary trainer

This program has the goal to teach the user words of another language. The user has to learn words of a current section and than they get tested. The program can be modified easy. The programmer just ...
1
vote
0answers
75 views

Creating a menu for a quiz

I've built a menu for a quiz, where everything is hard-coded apart from the categories, which I'm pulling from an API using Axios. Api.js ...
2
votes
1answer
121 views

SQLite Quiz with Questions Table and Categories Table

Edit: I changed my approach. I am trying to add categories to my existing SQLite quiz. This is my approach, what do you think about it? Do you think the foreign key restriction is necessary? I am a ...
2
votes
0answers
141 views

Python CLI program to learn words using Wordnik API and SuperMemo2 algorithm

Motivation I wanted to write a simple console application to improve my vocabulary by using the Wordnik API to get words and definitions and using the SuperMemo2 spaced-repetition algorithm to ...
3
votes
0answers
713 views

JavaScript quiz game

Here is the JavaScript code: ...
1
vote
1answer
253 views

Multithreaded arithmetic quiz with 20-second time limit

I learned something about threads and I tried to use them in an programming exercise. The user of the program has to solve as many exercises as he can within twenty seconds. After that time the ...
2
votes
1answer
104 views

Checking if all questions were answered with javascript

I made a quiz project and I made a code to see if all the questions were answered, using JavaScript. It works, but its way more exhaustive than I wanted it to be. I first check every single option ...
3
votes
2answers
1k views

Quiz app from a JSON file

My code fetches quiz data from a JSON file, displays the questions sequentially and records the user's answers. It keeps track of the user's score and at the end display the user's result based on a ...
3
votes
2answers
2k views

Multiple-choice questionnaire

I'm new to C# and for my assignment I have to design a multiple choice questionnaire where the student can login and take the test, view the memo, etc. I'm not very concerned about the GUI, but rather ...
1
vote
1answer
87 views

Restoring the instance state of an SQLite quiz app in Android

The following class is the activity of a little SQLite quiz app, which takes care of showing the actual quiz. Other than that the app only has a starting screen. I want to save the instance state and ...
4
votes
1answer
42 views

Scoring a Behavioral Survey

I've written a script to calculate the user's scores as a part of a larger survey application written in React/Redux. The questions are all based on the Likert Scale, i.e. "How much do you agree with ...
1
vote
2answers
924 views

A Quiz game realized with MVC-Pattern (Java)

Project description The program can be tested here This project is an exercise designed to check if I understand the MVC pattern correctly and apply it correctly. A quiz is to be designed in which ...
4
votes
2answers
73 views

Measuring typing speed in terminal without a mistake

I tend to dislike my code. It's always a mess. I can't critique my own code though, because I just turn it into another mess. I've been programming slightly better every year, but this year it has ...
4
votes
3answers
225 views

Beginner solution to basic quiz exercise, a la Gophercises

I just started golang development about two weeks ago and recently finished the recommended introduction book. I'm now working my way through Gophercises - a sort of collection of exercises to ...
5
votes
2answers
173 views

A small but expandable Exam system

I'm trying to practice OO design as well as OOP in Java so I've created an Exam system that tries to be Object Oriented and expandable. This is what I haven't learned from Java so far: Java 8, ...
8
votes
3answers
319 views

Quiz on factoring quadratic expressions

I am a beginner, and it is my first program in C. It works well, but I was wondering if there is a shorter way to do it, and how I could have done it better. It is supposed to make a quadratic ...
1
vote
2answers
672 views

Maths quiz with difficulty levels

I've written this code but it's really long. I really need it to be shorter so can someone please help me! Any suggestions will be helpful. ...
8
votes
2answers
222 views

Python 2.7 quiz

I made this quiz but the code seems to be really lengthy. Can anyone find a way to make my code shorter? Considerably shorter would be best but anything helps. I think the main problem is the ...
2
votes
2answers
79 views

Counting quiz for children

I made a game for children. This game tests the ability to count (i.e. compare numbers based on magnitude). First you must select the age of the child in the upper menu, then you need to select blocks ...
4
votes
2answers
3k views

Multiple choice quiz for maths and history, with saved score reports

This is a program I have been working on in python. It is meant to be a quiz to some secondary school pupils on two subjects/topics which are maths and history. So far, it allows a user to try the ...
4
votes
2answers
270 views

Quiz based learning system in Python

Description: I am building a quiz based learning system in Python. The idea is once a day you have to give this test to improve your learning, it's different from regular rote learning. The user will ...
6
votes
3answers
102 views

Learn You A Hex

This small program generates random operands and operations and asks the user to perform the computation and input the result. I want to make it more C++ and remove any C-ness it might inappropriately ...
2
votes
3answers
8k views

Millionaire quiz game in Java

I'm a beginner and have programmed a Java quiz game. However, it is currently way too long and there is probably a more efficient way. ...
1
vote
2answers
67 views

A simple Q and A quiz that reinforces Ruby learning

I wrote a simple quiz which I am hoping to scale-up as I continue to learn about programming. The code now stores questions and answers in separate arrays. Please review this code to improve its ...
2
votes
1answer
107 views

Javascriptissexy Quizzer Solution

I built a JavaScript quizzer as a project from javascriptissexy, I haven't added the improvements that they suggested. But I wanted to ask if I am doing this right, to be honest I am not really ...
1
vote
0answers
2k views

Multiple choice quiz with difficulty and topic options

This is my code for an MCQ with difficulty and question options. It uses a namedtuple for the questions, and puts them in an array, and uses a difficulty parameter ...