2016년 12월 6일 화요일

Multi choice using images as answers


I am trying to build a language learning app and have made a list of questions. The app is multi-choice but the answers are four buttons which only have pictures as the answers. I want to assign the images I have uploaded to the buttons and to be either correct or incorrect based on the list of questions. 
 screen.jpg
 blocks.jpg
--
You can have a list of lists where each row in the list contains the names of the four pictures to display:

--
((kiwi.png maunga.png Manu.png Kiore.png) (bat.png rat.png bird.png mouse.png) ...)

You can also have another list that contains the index of the picture that is the correct answer:
(4 1 3 ...)

when the user touches one of the buttons, determine if it was button 1, 2, 3 or 4 then lookup the correct answer index and compare the button index to the answer index.
What about a variation of your idea where the question is 'Which picture depicts a 'kaipuke' and the pictures have no text.
The user will have to know that a kaipuke means boat or ship and to touch the boat rather than one of the other random pictures.
Just a thought.

you also could adjust my quiz example to your needs

-- 

A Multiple Choice Quiz: How to work with the advanced features

☞ quiz.aia

-- 



댓글 없음:

댓글 쓰기