Hello everyone, I am going to be hosting a give away here this is how it's going to work: I will ask a series of questions those who get it right will move on to the next round there will be three rounds in total. The questions will be heavily math based mainly in computer science. If you would like to sign up please say so below. I will allow for 24 hours for sign up then it will close so sign up's will end 9/7/214 So what's in it for you? How about 30k? the winners will receive as follows: 1st place: 30k 2nd place: 15k 3rd place: 10k If you think you have what it takes to pass go ahead and sign up below! I look forward to seeing who signs up for this! And just to give a idea I will post a what you could call pre-test question (remember this is heavily math and computer science based so you have to think that way). Pre-Test question 1: We are talking about C++ for this question. Solve the following equation: If int x = 3 ; int y= 18; double z= 9.5; double w= 3.5; Solve: (x+y) % y You can post your answer below. I will post the answer to this tomorrow when I close the thread. Contestants: @brookegoldenberg @matrix_rep @Emau @minecraftninja05 @silentsniperz @weatherryan @minecraftbros0 @_TANSTAAFL @Laxcd11 @Dccciz @DeMacca @DarthLauren03 Please note that once the problem is submitted you have 24 hours to respond. Failure to do so will result in you being dropped from the game. Also I would like if possible that you show your work. Happy Math time!
Whoo I do apologize for the late response here I have updated the thread to include the members who have signed up. I will be issuing the first round of questions tomorrow so make sure that you pay attention as you will only have 24 hours to respond. This is the answer to my pre-test question: 3 Let me explain why: in the problem (x+y) % y. We have to recognize two things. First int identifies all numbers unless otherwise noted as integers and not decimal numbers. The numbers 9.5 and 3.5 are decimal numbers. In C++ the compiler will lop off the decimal unless you specify double in your program. So right there we know that there is no decimal, because we don't use the decimal numbers. They are there to throw you off. Second the % is a mod operator which is the remainder of the problem like so: (3+18)%18 So order of operations state that we must do what's inside the parentheses first. So we do 3+18 which is 21. Now we must divide 21 by 18 and the remainder we get is 3 so three is our answer to the problem. I hope that this clears it up if you didn't understand. I will be updating the thread and tomorrow expect the first question!
Alright everyone first quiz of the quiz! NOTE: if you miss this question you will be out of the tournament. Which of the following are valid C++ identifiers. If they are not explain why: A. new-Assignment B. _nextQuiz C. 3rdProject D. $twoHundred E. CPP_Project F. OneInchIs2.2centimeters G. Weekly Quiz H. Jack'sHomework I. first# J. overPayment You have 24 hours to respond! Good Luck!
B,E,J Why not: (All except for C contain a character not allowed in an identifier. Including the space in G. C begins with a number. While identifiers can have numbers in them, they cannot begin with a number.) A - C 3 D $ F . G H ' I # *There may be other reasons as well, but these are enough to answer the question. How is this "heavily math based"? This seems more like high school homework.
My answer is: B,E,J Why not: (All except for C contain a character not allowed in an identifier. Including the space in G. C begins with a number. While identifiers can have numbers in them, they cannot begin with a number.) A - C 3 D $ F . G H ' I # *There may be other reasons as well, but these are enough to answer the question. I don't think anything wrong with copying nothing in your post sry
Well considering that C++ is my strongest suit and most of the math that I am learning is c++ related I am using that. @Dccciz I will add you I have also left the answers open for another 24 hours. So others may apply.
Ok @DeMacca i will add you and since this keeps getting people added I am closing people who can join. No more entries are allowed. Tomorrow I am going to post a new question and we will start over!