Giter Site home page Giter Site logo

quizplayer's Introduction

QuizPlayer

Application for a showing quiz questions from quiz.json file.

Screens: This is an image This is an image This is an image

QuizPlayer compile quiz.json to quiz.bin at a first application executing. QuizPlayer show quiz at a second and others application executing.

File quiz.bin could be decompiled to json again by renaming quiz.bin to quiz.decompile and executing application QuizPlayer.

Source of quiz questions in quiz.json file: This is an image

Example of quiz.json file

quiz.json scheme:

  • Array "Questions" stores all questions.
  • Array "Answers" stores all answers of each question.
  • Field "Text" stores text for answer or question. It could contain any symbols, but you should read about json format. E.g. \n symbol can be used for store NewLine symbol. This symbol suitable for multiline text.
  • Field "RightAnswer"=true mark answer as right.
  • Field "MustBeLastAnswer"=true force a answer to show below a not marked answers.
  • Field "OnlyOneRightAnswerPerQuestion"=true in a question used for mark answer as contained only one right answer. This questions using radiobuttons for selecting answer. But questions with field "OnlyOneRightAnswerPerQuestion"=false could contain many right answer with checkboxes and a user must select all right answers for successfully complete this question.
  • Field "OnlyOneRightAnswerPerQuestionByDefault" contain default value for a field "OnlyOneRightAnswerPerQuestion" when a question not contain a "OnlyOneRightAnswerPerQuestion" field. Field "OnlyOneRightAnswerPerQuestionByDefault" should be used for selecting for whole test question mode: a multianswer mode or a singleanswer mode. But you can override question mode for some of a question by field "OnlyOneRightAnswerPerQuestion" anyway.
  • Field "QuizCaption" setup quiz name.
  • Field "QuestionsPerQuiz" setup how many question will be shown before quiz will be ended.
  • Field "MinimalAnsweredQuestionsPercentForQuizSuccess" setup success answered questions percent amount for successfully pass this test. Should be in range [0, 100] inclusively.

quizplayer's People

Stargazers

 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.