Giter VIP home page Giter VIP logo

quizzes's Introduction

A quizzes console application that reads questions and solutions from file. User interracts with the application by solving quizzes, cancel or continue to further sections, show score and detailed result board.

Program contains 3 sections and each section has mixed type 10 questions. Based on answers user can fail a section if user gets less than 50 points. Otherwise sections pass (maximum section 3).

Every section contains different type of questions and answers. User can type text answer to the text question, makes true false decision on boolean questions and picks an choice between multiple choice questions. The program contains simple polymophism based on this idea.

Also there is impelemented a menu system which user can navigate and reach their score through the score table and detailed section. When program runs for the first time on a new computer it creates score and result files automatically.

There is used special format in the question files to distinguish different type of questions and store them in to related containers. Program checks for simple word and character combinations to determine the question types.

To start the application you need to build it first with the command "make" on terminal in the directory of Quizzes.

Then in the same directory you run:

./quizzes

If you do not see your result after each section by checking the score board, then you need to run the application as a super user to be able to write your score to the related text files.

Class Diagram

Class Diagram

Screen Shots

1-You can start to navigate within the program by entering the appeared choices.

Main menu

2-By entering a nickname you are ready to start the quiz.

Entering a nickname

3-Program waits for a text format answer from you. You don't have to worry about capital or small letter.

Text answer

4-For True/False questions you can enter in the following formats:

'T','t',"true" for True or 'F','f',"FALSE" for False answer.

Boolean answer

5-For multiple choice questions program waits for a character that appears in the choices.

Choice answer

6-Each section contains 10 questions. If your right answer are less than 5, then you fail the section.

Section Failed

7-If your right answers are more than 5, you can go for the next section unless it is the last section.

Section Passed

8-You can check the score table where you can see your nickname and the points you have got.

Score Board

9-Also you can see you result in details.

Detailed Result


quizzes's People

Contributors

mydnc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.