WRITE A C++ CODE FOR GIVEN SENIROE   QUIZ GAME In a quiz game, questions are chosen in such a way that they cover all fields of a typical quiz contest. The user’s general knowledge is tested with quiz questions regarding science, technology, movies, sports, general health, geography, and many more. Quiz Game Project Introduction: Functions of projects and below is some function used in the project:-

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

WRITE A C++ CODE FOR GIVEN SENIROE

 

QUIZ GAME


In a quiz game, questions are chosen in such a way that they cover all fields of a typical quiz contest. The user’s general knowledge is tested with quiz questions regarding science, technology, movies, sports, general health, geography, and many more.


Quiz Game Project Introduction:


Functions of projects and below is some function used in the project:-


  • Edit score--adds the score upon giving the right answer to a question
    · Help-- menu with game summary and rules
    · Show record--shows the highest cash prize won by a particular user
    · Show score--to view the highest score
    · Reset score--to reset the highest score/ default


In a quiz game project, we can store the user’s name, view the highest score
secured by a user, and even reset the score.


The game will have 50 questions have a time limit of 40 mins. For each
question, there are 4 options A, B, C, and D, and no negative markings. So
money would be deducted for wrong answers to the questions.

Data Structure Concepts used in the Project:
· Arrays
· Link-list
· Stack
· Queue
· Structures

 


Classes made in the project:


  • Login class
    · General Knowledge Questions class
    · Correct Answer’s class
    · Display class
    · Score class
    · Help class
    · User Record class
    · Time class


Game Project Explanation:
First of all, a login class would be created that would store the username and password of the particular user having a link to the user record class.
Then the user would be signed in and a help menu will occur to guide the user for the game quiz. After that question class would be called and question having multiple option would occur on the screen, the user will be allowed to choose the correct option. As the option is selected, next question will occur until the question complete. The score would be calculated will the correct option is being selected and will be shown to the user at the end of the quiz. These scores will be then converted into the cash prize and shown on the screen according to the formula
Cash Prize = Score*5 Each score will carry RS 5 and the prize would be deducted on selecting the wrong answers.

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY