I submitted a quiz but it was declined with a reason saying not to submit questions involving binary(bitwise) operations. Why ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

I submitted a quiz but it was declined with a reason saying not to submit questions involving binary(bitwise) operations. Why ?

//Please,do not submit questions involving binary (bitwise) operations What is the output of this code? int main (){ int a=5,b=6; a^=b; b^=a; a^=b; cout<<a; }

2nd Feb 2018, 12:50 PM
Avinash Thakur
Avinash Thakur - avatar
7 Answers
+ 18
agree with Brains //i am too making medium level quizzes now /*i skip those quizzes include bitwise &which i don't know or take time , dislike those which are wrong , multianswerable, case sentivity & like those which i think shows some concept */
2nd Feb 2018, 1:41 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 17
agree @Avinash but quizzes are made considering every1 , not only some ppl ... there is some time limit also so if quiz'll take more time , then many'll not be able to solve in time //this might help you out https://www.sololearn.com/Discuss/470195/?ref=app
2nd Feb 2018, 3:59 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
Maybe it's because not everybody can handle bitwise operations.The key to have approved quizzes is that your quiz shouldn't be too easy or common and neither should it be too complex
2nd Feb 2018, 12:54 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 3
Perhaps because bitwise ops. are not covered in the SL lessons (yet). It's a great thing to learn how it works. In your example we see how is possible to replace the values between two variables without the need of another (temporary) variable. Here is another variant using math operations: int a = 5; int b = 10; a = a + b; b = a - b; a = a - b;
2nd Feb 2018, 1:40 PM
Boris Batinkov
Boris Batinkov - avatar
+ 2
I want also official explanation from soloLearn Staff Board about this ban.because I really don't understand
2nd Feb 2018, 1:56 PM
MONSIEUR GNETO
MONSIEUR GNETO - avatar
+ 2
I don't agree with the reasoning that quizzes should be medium level and not too easy or complex. Regarding easy quizzes, I've seen quizzes so easy that even one who knows nothing about coding can answer them. and, complex quizzes should be there for profiles having higher levels. Currently, one can gain higher level only by staying with sololearn for long enough. Higher level isn't an indication of high knowledge, but long persistence. // one easy as dumb quiz was some_loop{ cout<<"a"; } // answer depended on how many times the loop runs, but one can answer it successfully by pressing "a" till the maximum limit of input field. (maximum limit equals to the length of answer.)
2nd Feb 2018, 3:55 PM
Avinash Thakur
Avinash Thakur - avatar
+ 1
If I were you make an endless game, I would keep increasing the difficulty level, to "insane" and beyond. This way, only people with skill could get highest ranks and not people with free time.
4th Feb 2018, 3:56 PM
Avinash Thakur
Avinash Thakur - avatar