1 Replies - 3977 Views - Last Post: 06 August 2013 - 02:06 PM

#1 joanne933  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 07-July 13

Flash Builder Randomize

Posted 07 July 2013 - 09:56 PM

I have created a quiz on Flash Builder. I have a total of 40 questions, which i hope my quiz will randomize and show only 10 questions out of 40questions.

Each of my question has 3 multiple choice answers which contains 10 marks, 5 marks and 1mark. So is there anyway i can add some coding in order to let it accumulate the score after 10 questions? End of the questions will produce a summary of what character they represents.

Please help me. Thank you.

Example : Question : What is your ambition?

Doctor (10marks) Nurse (5marks) Construction worker (1mark)

With the overall results (accumulate & save the scores after 10questions), it will shows you a character.

Is This A Good Question/Topic? 0
  • +

Replies To: Flash Builder Randomize

#2 lordofduct  Icon User is online

  • I'm a cheeseburger
  • member icon


Reputation: 2533
  • View blog
  • Posts: 4,633
  • Joined: 24-September 10

Re: Flash Builder Randomize

Posted 06 August 2013 - 02:06 PM

Your question is rather ambiguous.

The only direct question I see is:

Quote

So is there anyway i can add some coding in order to let it accumulate the score after 10 questions?


Answer: yes.

Now how to do it? Well that depends on your code. The general idea is you have a number that represents the total score, and you add to that total score every correct answer. Just like you would with a test on paper.

How to do that exactly... well that depends on the structure of your code. And we don't write your program for you.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1