Fire up your applications with Jetfire
Home|Applications|Quiz Application

Quiz and Surveys


The Quiz application allows the user to quickly design a quiz and survey.
The Quiz consists of:
  • The code – note how small the code footprint is.
  • A class control used to instantiate the object
  • A display control to calculate results for completed quiz and surveys, e.g. the percentage of respondents that said ‘yes, they are other 18’.
  • A edit control to edit the quiz
The Quiz code is compact – a class that contains one constructor and one property. The ‘QnAList’ property is a list of Questions and Answers. The constructor, called when the Quiz is created, defines the questions used in the quiz and the types of answers expected.
Questions include:
  • ‘What is your name?’ This question expects a textual answer.
  • ‘How old are you?’ This question expects a numerical answer.
  • ‘Are you over 18 years old?’ This question expects a yes or no answer.
  • ‘Select your age category.’ This question expects the user to select an answer from a list.
    • ’18 to 25 years old’
    • ‘26 to 35 years old’
    • ‘36 to 45 years old’
    • ‘over 45 years old’