Closed criscmaia closed 7 years ago
@criscmaia
A) Option 1 B) Option 2 C) Option 3 D) Option 4
I think it would be easier for the user to enter numbers rather than letters. What do you think? I will also have to mess around with code to set answers with letters rather than numbers.
The questions are numbered, so we don't want to confuse them having the options being numbered as well, better to have letters really.
User input: (any letter between A and D or 0 to none. Value of 0 is used for purpose of returning to the previous question. Please provide an alternative solution.
Updated. E for "None of the above"
Can you double check haskmap of questions to vark values please? val map: HashMap<Int, HashMap<Char,Char>> = hashMapOf( 1 to hashMapOf('a' to 'k', 'b' to 'a','c' to 'r','d' to 'v'), 2 to hashMapOf('a' to 'v', 'b' to 'a','c' to 'r','d' to 'k'), 3 to hashMapOf('a' to 'k', 'b' to 'v','c' to 'r','d' to 'a'), 4 to hashMapOf('a' to 'k', 'b' to 'a','c' to 'v','d' to 'r'), 5 to hashMapOf('a' to 'a', 'b' to 'v','c' to 'k','d' to 'r'), 6 to hashMapOf('a' to 'k', 'b' to 'r','c' to 'v','d' to 'a'), 7 to hashMapOf('a' to 'k', 'b' to 'a','c' to 'v','d' to 'r'), 8 to hashMapOf('a' to 'r', 'b' to 'k','c' to 'a','d' to 'v'), 9 to hashMapOf('a' to 'r', 'b' to 'a','c' to 'k','d' to 'v'), 10 to hashMapOf('a' to 'k', 'b' to 'v','c' to 'r','d' to 'a'), 11 to hashMapOf('a' to 'v', 'b' to 'r','c' to 'a','d' to 'k'), 12 to hashMapOf('a' to 'a', 'b' to 'r','c' to 'v','d' to 'k'), 13 to hashMapOf('a' to 'k', 'b' to 'a','c' to 'r','d' to 'v'), 14 to hashMapOf('a' to 'k', 'b' to 'r','c' to 'a','d' to 'v'), 15 to hashMapOf('a' to 'k', 'b' to 'a','c' to 'r','d' to 'v'), 16 to hashMapOf('a' to 'v', 'b' to 'a','c' to 'r','d' to 'k'))
Checked!
@criscmaia When should submission time for vark be placed? Every time user answered the question? When user completed answering all the questions?
Every question, so we can track where it stopped and reminders
On 28 Oct 2017 21:09, "Matthew" notifications@github.com wrote:
@criscmaia https://github.com/criscmaia When should submission time for vark be placed? Every time user answered the question? When user completed answering all the questions?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/criscmaia/gsdslack/issues/26#issuecomment-340216651, or mute the thread https://github.com/notifications/unsubscribe-auth/AIpvJj6PyhIhcB03bL1I1f4AXNIL0kFBks5sw4oSgaJpZM4QGdZh .
Implemented. To be tested.
DB tables: surveyVark - surveyVarkChosenOptions surveyQuestion - surveyOption
1) Question A) Option 1 B) Option 2 C) Option 3 D) Option 4 E) none of the above User input: (any letter between A and E
The-VARK-Questionnaire_201701007.pdf