#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2012
    Posts
    3
    Rep Power
    0

    (Help) to create a quizish program


    I am very basic programmer - doing a2 computing- I have to make a revision aid for a project, the main part of this is to create a application which asks a series of questions to the user (they answer via multiple choice) in a test form that is dependant on the topic selected.

    I'm asking how do I go about this technically?
    how do I learn how to do this?
    please to simple with description

    additional notes
    need to indicate answer when wrong
    possible send users/students results to teacher

    Any help is appreciated
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2006
    Location
    Carlsbad, CA
    Posts
    2,057
    Rep Power
    383
    You need to study control structures:
    That is the following branching and looping statement types:
    If .. then .. else
    case
    for loops
    while loops
    etc.

    If there are more than two answer options to a question a case statement is probably
    the cleaner option.
    If only two, if.. then..else might be preferred.

    Clive

IMN logo majestic logo threadwatch logo seochat tools logo