Wrong quizzes | Sololearn: Learn to code for FREE!
+ 4

Wrong quizzes

SoloLearn, I found a lot of quizzes wrong in challenge. If you don't have time to verify all quizzes , what about a button after a challenge? Is this quiz OK? option 1 --> skip option 2 --> yes option 3 --> no Why not? option 1--> keywords from another language option 2--> the question has stuff that I have not studied in this course option 3--> question worded incorrectly option 4--> wrong answer

28th Jan 2017, 5:32 AM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
4 Answers
+ 1
var count_skip, count_okQuiz, count_wrongQuiz ; var userXp ; var user_newBadge = false; // user who created the quiz switch (quiz){ case ok: count_ok Quiz++ break; case no: count_wrongQuiz++ break; default: count_skip++ } if(count_wrongQuiz >100){ userXp = user Xp - 100 ; alert ("The quiz is wrong "+count_wrongQuiz); }else if(count_okQuiz==100) { userXp = userXp + 100 ; }else (count_okQuiz==5000){ user_newBadge = true; }
28th Jan 2017, 6:19 AM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
+ 1
Eric this is javascript code
28th Jan 2017, 1:04 PM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
+ 1
Oh lol haven't seen javascript language before kinda looks identical to c++. Sorry lel
28th Jan 2017, 1:06 PM
Erik Go
Erik Go - avatar
0
@didi is var even a data type for c++?, I don't think it is (not sure here, I'm not pro)
28th Jan 2017, 11:48 AM
Erik Go
Erik Go - avatar