Skip to content

asmitdash/CS50

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Quiz App/ I.Q. Test Program

Description:

Imagine having a lively quiz game right on your computer that's not only enjoyable but also a great way to test your general knowledge. Say hello to the C Quiz App - an engaging, text-based quiz that brings fun and education to your screen.

What You Can Do:

  • Start the Game: Dive into the quiz by choosing 'S' from the main menu. You'll be presented with a series of multiple-choice questions where you get to pick the right answers.
  • View High Scores: Curious to see how your scores compare with others? Opt for 'V' in the menu, and the highest score achieved by any player will be right there for you to see.
  • Get Help: If you ever feel a bit lost, simply press 'H' for clear and concise instructions on how the game works.
  • Quit the Game: When you're ready to wrap up, press 'Q,' and you'll gracefully exit the quiz.

Gameplay:

  • The quiz is loaded with diverse questions, each offering four possible answers (A, B, C, D). Your job? Simply choose the correct answer.
  • The program ensures that you won't encounter the same question twice during your game.
  • After successfully answering five questions, your score is meticulously calculated. It's based on the number of questions you got right and the time you took to answer them.
  • You'll receive prompt feedback after each question, letting you know whether your answer was spot on or not.
  • At the end, your score is revealed along with a fitting message, so you know how well you did.

Special Features:

  • The code artfully employs if-else statements and switch cases to handle menu options and question selection.
  • To keep things exciting, a random number generator ensures that every quiz session offers fresh questions.
  • You can even etch your name into the hall of fame with the highest scores saved in a "score.txt" file.

Note:

  • While the code is set up for an enriching experience, it's worth noting that some functions and code segments, like 'conio.h' and 'dos.h,' are more tailored to older computer systems. On modern machines, you might need to make a few adjustments for a seamless experience.

This C Quiz App is your gateway to boosting your general knowledge in a way that's both entertaining and educational. It's a perfect choice for those who want to have fun while challenging their wits.

Contact Information: If you have any thoughts, suggestions, or feedback on how we can make this program even better, we'd love to hear from you! Feel free to reach out to us at [email protected].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages