+ 3
Downvoted submission for a quiz - why? Console.Write('0' + '0');
Vote below or answer please, who downvoted (or would downvote) the following submission for a quiz: //Declined due to community downvotes. Please review What is the output of this code? System.Console.Write('0' + '0'); ☐ 00 ☐ Some compilation error ☐ Empty string ☑ 96
24 odpowiedzi
+ 5
@Alx vSeti You are right! Knowing the answer apriori made me overlook the possible solutions offered. It is actually a very good formulated quizz!
Possibility of discussion like this, should be in the qiz factory below every submission.
A good, constructive, and educational debate could be used as a definitive way to rate submissions.
Send an email to SL explaining your reasons: I hope they'll approve it.
+ 13
Interesting, why 96? (I know nothing about C#)
+ 12
So perhaps the people who were rating the quiz also expected the answer to be "00" and thought the question was too easy (or wrong if they actually tried to answer)
I guess that's the problem with counter-intuitive questions..
+ 11
@Alx
I wouldn't downvote it, for me it would be a pleasure to have such questions. But I can understand that the decision is made by the community. This is not covered by the courses, I know a lot of approved questions aren't covered by the courses, but still: Course content and challenges should go together.
+ 8
Probably not everybody knows that '0' corresponds to 48. The question implies knowledge of the ascii table. I know that 0 as A or a are common "delimiters" but how would you feel if you face a question asking you the int associated to '#x27;?
And even if you go searching for it, and you find it, will you upvote that question?
Honestly I think there are worse questions that got approved, but that is another discussion for another time.
+ 7
I think it's a bit to tricky. May be confusing. But actually it's a good question.
+ 7
Nice question. I myself forgot a lot about C++ and learned about the same (amount) of Javascript last years, so I thought it would be 00 (never knew enough of C#). So yes it's tricky, but not useless (as you wrote, very nice example given) and I like it. So crowd "expertise" (or "review", sorry if i misspelled some words) is bad sometimes (I'm not wondering why).
+ 5
@Michael, because '0' as a symbol is coded by a number 48. Before, I was expecting, that C# is smarter than C++, and the result would be a string "00".
+ 4
Too tricky and usless
+ 3
As you can see I'm not very familiar with the quizz factory. I think downvotes are deserved only in case of mistakes, erratic/ambigous content.
+ 3
@seamiki The quiz does not imply knowing that ‘0’ corresponds exactly to 48. Just that ‘0’ is not 0 (and many know that 0 is reserved for the end)
+ 3
Sometimes when the reviewers don't know the answer, they downvote out of ignorance.
+ 2
96!... Because you are adding char and not string and the result cannot be a string
+ 2
@Alx vSeti I didn't come across your question as i'm not very active in quiz submission and rating, but even if I did, I had no reason to like it, as I explained in my previous post. I think your question is better than others approved but that doesn't automatically make it a question I'd like.
+ 2
Concerning "useless". This example is from my programming practice (not '0'+'0' of course). First I needed only 1 symbol in some output. So char was used. Later I needed additional symbol for some output, so I just added c+'!'. The result was unexpected. In some circumstances the modifications to a program could be released without testing.
+ 2
Resubmitted the quiz with some corrections in accordance with your comments and critics.
Thanks to everybody!
+ 1
I upvoted (would upvote) this quiz
+ 1
@seamiki, Tashi N, Frost, Rrestoring faith, so would you downvote the question?
Or is it just assumption of downvoters' motivation?
+ 1
@seamiki, Frost, the question was about downvoting. Because if you feel indifferent to a quiz, you can just skip.
0
Wrong answer