How to Downvote Questions of Challenges? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to Downvote Questions of Challenges?

I was playing a challenge with someone and there was a question: What happens when The break is removed from switch? And the options were 1)All cases executed 2)First case executed 3)No case executed 4)None of the Above Though i selected 1), it gave me a wrong answer... But i have tried this in c++ and it depends on what case is to be executed, and after that case, all cases are executed no matter what... Thus, since the question wasn't so specific, it shouldn't have any other answer...

26th Mar 2017, 12:21 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
11 Answers
+ 15
@Krishna Yes, this is absolutely a 'misleading question' -.-
26th Mar 2017, 7:05 PM
Tashi N
Tashi N - avatar
+ 15
@Kinshuk I take a screenshot if I think the question is weird. I did a lot of challenges these days to collect them all :D My advice: Try to contact SoloLearn.
26th Mar 2017, 7:14 PM
Tashi N
Tashi N - avatar
+ 12
You cannot downvote questions of challenges but you can click their screenshots and mail them to Sololearn
26th Mar 2017, 12:55 PM
Chirag Bhansali
Chirag Bhansali - avatar
+ 12
@Kinshuk You're right, sry.
26th Mar 2017, 1:22 PM
Tashi N
Tashi N - avatar
+ 9
[Edit] This is wrong, please downvote. Without break, default won't be executed. So my guess is 4). But it doesn't say if default is defined...
26th Mar 2017, 1:04 PM
Tashi N
Tashi N - avatar
+ 8
This is a Java challenge question. How many "else" blocks can an "if" have? a) 1 b) 2 c) infinite d) 0 An "if" can have only one "else" block but multiple "else if" blocks. But the answer to this question is given as "infinite".
26th Mar 2017, 1:31 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 5
@Tashi N Srry to say, you're wrong. If there are no breaks, even the default is executed, which I also thought shouldn't have been... Such a question was there in my school exam.
26th Mar 2017, 1:18 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
Anyway, Thanks...
26th Mar 2017, 1:18 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
Kinshuk, so 4) is right. Why don't you like it?
26th Mar 2017, 6:51 PM
Alx vSeti
Alx vSeti - avatar
+ 5
@ Alx vSeti I like 4, but it gives a wrong... It seems the creator has set the answer as something else. I have only encountered the question once, and thus am unable to determine the creator's answer. This, is what I don't like...
26th Mar 2017, 6:58 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 5
Kinshuk, yes - something else. Had an author given an exact answer, the question would be easy even for those, who do not know exactly how "switch" works. To solve such kind of quizzes - just eliminate wrong answers. Then "None of the above" would be a natural solution.
26th Mar 2017, 7:59 PM
Alx vSeti
Alx vSeti - avatar