You are on page 1of 4

Quiz Game in C Project Introduction:

I have divided this mini project into many functions, and listed below are some of those which
may help you understand the project better.

edit_score() adds the current cash prize won to the previous one upon giving the right
answer to a question

help() help menu with game summary and rules

reset_score() to reset the highest score/cash prize to default

show_record() shows the highest cash prize won by a particular user

show_score() to view the highest score

In this quiz game mini project, you can store the user name, view the highest score secured by a
user, and even reset the score. Additionally, to make the game look a little more interesting, it is
divided into two rounds; user must pass the first round to reach the second one.
Of the 2 rounds I mentioned above, the first is called the Warm-up Round; the second is the
Challenge round. In the warm-up round, the user is asked a total of three simple questions and
they must be able to answer at least two of them correctly to enter the next round. If the user is
not capable of doing that, he is not permitted to proceed further.
In the second and more interesting round of this quiz game in C, the user will be asked questions
continuously, and for each right answer given, they will earn $100,000!
The game ends when the users cash prize piles up to $1 million. For each question asked, there
are 4 options, namely A, B, C and D. There are no negative markings, so the users accumulated
cash money wont be deducted for wrong answers to the questions.

INTRODUCTION
Quiz game is a very popular General Knowledge Game. The quiz game increases the
IQ knowledge of the player. It is used to check the knowledge within us.
The provided source code is the simple Quiz game programmed implementing C
language. In this programe The several question are provided to the player.The
player are provided with 4 option in it. Player is all need to choice the suitable option
from the 4 option available in the screen. The player need to type either A,B,C,or D
according to the suitable answer provided in it.
The player will score the points with each correct answer provided. If the player is
unable to answer the question, then correct answer is provided. The user are given 3
chance in it. The game will be terminated with score and suggestion displayed if the
user goes to incorrect answer for consequitive 3 chances.
At the beginning of the game menu is provided .according to the menu user need to
proceed in it. Also File is used in it to store the points scored by the player. The player
can see the highest score through this file through the menu .
24 question are included in it,however we can add further question as per our need.

Introduction to C Language
The C is a general-purpose, procedural, imperative computer programming language
developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix
operating system.
C is the most widely used computer language.
This tutorial should be your starting point only.
You can practice C online using compileonline.com
C is one of the most important of all programming languages. C is the basis of many languages
used today. C++, Objective C, PHP, Java and even Microsoft's .net languages have their roots in
the C programming language.
C is often called a "Middle Level" programming language. This is not a reflection on its lack of
programming power but more a reflection on its capability to access the system's low level
functions. Most high-level languages (e.g. Fortran) provides everything the programmer might
want to do already built into the language. A low level language (e.g. assembler) provides nothing
other than access to the machines basic instruction set.
Facts about C

C was invented to write an operating system called UNIX.

C is a successor of B language which was introduced around 1970

The language was formalized in 1988 by the American National Standard Institue
(ANSI).

By 1973 UNIX OS almost totally written in C.

Today C is the most widely used System Programming Language.

Most of the state of the art software have been implemented using C

You might also like