This is indeed possible. I would suggest some code to:
Generate Random Numbers
Generate the Answer
Compare the Students Input to the Correct Answer
Keep Track of Number or Correct and Wrong Answers
I do this in my TipTrainer app. I generate a random dollar amount, calculate the correct tip, then check the user’s entry, and then update their score. Here is most of that code:
Your problem can be solved very simply by using JavaScript, as it contains a calculation of the expression specified in the text. But this app will work only in Live and will definitely not work in due to the iOS app.
If you do not want to use Javascript, then you have to create an interpreter mathematical expressions. Examples of such interpreters available on the Internet. To put it simply, must do the following:
Split the string into tokens - numbers and symbols of mathematical operations that are put on the list
Check the correctness of the token because the children can enter invalid characters in numbers and mathematical operations
If the expression is made correctly, then send it to a function that corresponds to the mathematical operation.
@karelrosseel82 Here is an example I put together based on your questions and the picture you showed. It generates a random question and then breaks down the answer when you press check.
This will need some tweaking as the numbers get bigger. You need to really think about what you want to happen. Write it down. When the button is pressed, this number should show x and this number should show y. And so on.
If you can write out what you want to happen, you are 75% of the way there.
1+) Please can the child have a menu to check other examples or typ the value of the exercice
2+) please can you check what is wrong: when I try an example of 0-99 there comes a minus
3+) Check the number of times that the child need to push the ‘check/help’-button
4) check the number of excercices
App with navigation on slider. To eliminate the jumping of the slider when the page is opened it must be placed on an invisible Column, which will become visible after the installation of the slider.
It sounds like you want to create a variable that the student can select:
Level 1 - 10
Level 2 - 20
And so on
Add a list viewer, then when the student selects a level, the question screen is shown with the cooresponding level value (10, 20, etc) already set.
You can add a variable to count the number of questions generated, and another to count the total correct. You can update these, when the Check button is pressed.
exercices of 2 numbers from 0-10 : Thunkable
exercices of 2 numbers from 0-100 :Thunkable
how to combine form one app to an other… is that possible online (on windows computer - viewer? by a link?)
Children can than practise at home
PS: do you have a good tuturial about giving points to the total correct answers
It should be checked if the kid directly could make an answer on the question (=check1-button), or seen that the kid used the help button = check2-button.
What do you think of my solution: hiden rows and putting a V when it is correct?
You do not need separate apps, simply use variables to control the different levels.
As I mentioned before, a simple if block and variable will accomplish this for you.
Check the advanced properties panel for border color.
In the text blocks, there is a join block.
You have a good idea, but I can’t make the app for you. You seem to be struggling with a lot of the basic concepts and introductory pieces of Thunkable. I would recommend watching 10 - 15 of Thunkable’s beginner tutorials before moving forward. See here:
Please don’t post on really old topics. Also, if you’re wondering about this rounding issue, search the forums before posting. It’s already been discussed.