Construction Process

Construction Process

Firstly, We made two number lists to create exponential numbers randomly. Here, List one consists of {2,3,4,5,6,7,8,9,10} and list two consists of  {-3,-2,-1,0,1,2,3,4}. By entering RandomBetween() command, nA and nB was created from the list two and A and B was created from the first list randomly. The application is able to give any random number from these lists to produce exponential number by ‘RandomBetween’ command. Again, we had a new value called as coin by using RandomBetween(1,2) command. This value was used to identify the probability of the true and false answers. The tool learnt that there are two options which one of them is true and the other is false. We need to create this input, because we need to give feedback to students. At this step, we made a slider whose interval is 1-3. Students are able to give their answer by using this slider. 1 represent to first number, 3 tells second exponential number is smaller and 2 represent that numbers are the same. After that, we wrote texts using text box , however here you can create your text using A, B ,nA and nB random numbers by advanced button. Whenever the the tool is updated, texts need to be assigned by the application randomly. The picture is Next, we need to identify the true and false answers in input and we created a code by using logical term. That is This means that whenever coin is 1 or true at the same time, if "a" is equal to 1 and nA must be smaller than nB or if "a" is equal to 2 at the same time nA must be the same with nB or if "a" is equal to 3 and it must be nA is bigger than nB. Or if coin is equal to 2 or false it must be at the same time if "a" is equal to 1 and AnA is smaller than BnB or "a" is equal to 2 then it must be at the same time AnA is equal to BnB or if "a" is equal to 3 it must be that AnA is bigger than BnB. The slider changes by this code whether it is true or not. We created new text that is " Which one is smaller ?"  We also wrote another texts that are "Correct",  "Try again" and  "Game is over" We made two "Check box". The name of check boxes is b(show) and c(done) . b check box provides players to check their answer, namely get an immediate feedback. And c check box tells that game is over. After creating these check boxes we also wrote another texts that are "Correct" and "Try again" to be able to give feedback to students. We need a button to check the answer. And after creating this button, we make some settings. We wrote the command ‘SetValue(b,true)’ in scripting part in the settings of the button. It means that clicking the button stimulates that check box is true. We wanted that "Check your answer" button does not seem when c(done) check box is active, so we clicked the settings of the button and wrote ¬c in advanced part. At that time, we want that the text "Correct " come when players get the correct answer, so we clicked the settings of this text  and  wrote “b ∧ answer” to ‘condition to show object’ part advanced settings. It provides whenever the true answer given by users, b stimulates the text. Also for wrong answers, we wrote “b ∧ (¬answer)” to condition to show object part of advanced settings of "Try again" text. That means whenever wrong answer comes, b makes the text “Try Again” open. Finally, we have a button" New Game" in order to produce new games. We wanted this button to generate new questions automatically so we wrote the code UpdateConstruction(), and also SetValue(b,false) to scripting part of the settings of the button. Also we wanted this text to seem in the screen when b and answer are active. Hence,we wrote “b ∧ answer” in advanced part as a condition of showing the object. Play and enjoy it☺