View Single Post
Multiple choice questions
Status: Offline
Posts: 180
Join Date: Jan 2007
Default Multiple choice questions - 03-22-2021, 07:46 AM

Perhaps create each question as a powerpoint slide, export each slide as an image, import each image as a billboard... possible answers included on the slide

(perhaps create an array or array list of these slides. to use the for each in control)

each possible answer numbered (1, 2, 3, 4...) not letters (a, b, c, d...)

Display each billboard, one at a time

Use the getIntegerFromUser function to have the user enter their choice

Check their answer against the correct answer and
-- add one to correct answer variable is correct
-- add one to incorrect answer variable if incorrect

Display results after all questions are asked...

Hope this helps!

Don Slater
Alice Project

Don Slater
Alice Team
Carnegie Mellon University
Reply With Quote